What problem does it solve?
This Skill performs a rigorous code review with a primary focus on spec compliance. It meticulously checks if your implemented code precisely matches the requirements defined in the specification, identifies any deviations, and provides a clear compliance score, ensuring your code delivers exactly what was intended.
Core Features & Use Cases
- Spec-First Comparison: Compares every functional requirement, error case, and edge case in the spec against the actual code implementation.
- Deviation Identification: Flags any differences, extra features not in the spec, or missing functionality.
- Compliance Scoring: Provides a quantitative measure of how well the code adheres to the specification.
- Evolution Trigger: Automatically recommends using
sdd:evolve if significant mismatches are found, guiding you to reconcile the spec and code.
- Use Case: After implementing a new feature, use this skill to get an objective review that confirms your code handles all specified error cases, covers all edge cases, and doesn't introduce any unintended behavior.
Quick Start
To request a code review for the user profile API against its spec, simply say:
Review the code for the user profile API against its spec.