From klair-legacy
Compares two branch implementations of the same spec across multiple criteria (spec compliance, code quality, testing, performance). Use when analyzing competing implementations, evaluating prototype branches, or choosing between implementation approaches. Triggers on "compare prototypes", "compare branches", "compare implementations", "evaluate prototypes".
How this skill is triggered — by the user, by Claude, or both
Slash command
/klair-legacy:comparing-prototypesThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematically compares two branch implementations of the same specification to determine which better meets requirements and follows best practices.
Systematically compares two branch implementations of the same specification to determine which better meets requirements and follows best practices.
This is a multi-phase workflow with context management:
Locate Specification:
specs/**/*.md, docs/specs/**/*.md, **/*spec*.mdRead and Analyze Spec:
Get Branch Information:
Checkout Branch 1:
git checkout <branch-1-name>
Analyze Implementation:
Document Findings:
spec_matching_tree1.md using templates/spec-matching-template.mdimplementation_approach_tree1.md using templates/implementation-approach-template.mdRun the compact command to reduce context window:
/compact summarize under 200 words
Wait for compaction to complete before proceeding.
Checkout Branch 2:
git checkout <branch-2-name>
Analyze Implementation:
Document Findings:
spec_matching_tree2.md using templates/spec-matching-template.mdimplementation_approach_tree2.md using templates/implementation-approach-template.mdRun the compact command again:
/compact summarize under 200 words
Wait for compaction to complete before proceeding.
Read All Documentation:
spec_matching_tree1.md and spec_matching_tree2.mdimplementation_approach_tree1.md and implementation_approach_tree2.mdCompare Implementations:
Generate Final Report:
prototype_comparison_report.md using templates/comparison-report-template.mdPresent Summary to User:
npx claudepluginhub ai-builder-team/ai-builder-plugin-marketplace --plugin klair-legacyCompares 2+ code implementations against a spec using structured multi-dimensional evaluation. Requires a spec file and repo paths.
Reviews code changes since a fixed point (commit, branch, tag) against coding standards and spec requirements, reporting results side by side.
Reviews code implementation against specification: checks compliance with requirements, identifies deviations, reports score, triggers evolution if needed. Use after implementation or before merging.