What problem does it solve?
This Skill automates the process of reviewing code to ensure it aligns with structured prompts defined using REASONS-Canvas, significantly reducing the cognitive load of manual code reviews.
Core Features & Use Cases
- Code Alignment: Compares code against REASONS-Canvas structured prompts for alignment across various dimensions (requirements, entities, approach, structure, operations, norms, safeguards).
- Intent Drift Detection: Identifies and flags additions, omissions, and divergent approaches between the code and the prompt.
- Safeguard Violation Check: Verifies that all constraints specified in the prompts are respected.
- Implicit Decision Surfacing: Identifies places where AI has made decisions without explicit guidance.
- Scope Boundary Check: Ensures the code changes are within the defined scope.
- Use Case: Use this Skill after code generation to ensure the resulting code adheres to the defined specifications and intent, facilitating better integration into existing systems.
Quick Start
To review the code changes made to the 'GGQPA-XXX-202603131530-[Feat]-token-usage-billing.md' prompt, use the command: /spdd-code-review @spdd/prompt/GGQPA-XXX-202603131530-[Feat]-token-usage-billing.md --git-diff HEAD~3