What problem does it solve?
This Skill automates the validation of all work (specifications, plans, tasks, code, operations) against the SDD Framework's 14 constitutional principles. It ensures consistent quality, security, and architectural integrity across all projects, preventing non-compliant work from progressing and significantly reducing the risk of costly errors or rework.
Core Features & Use Cases
- Automated Compliance Checks: Runs scripts to validate adherence to principles like Test-First Development, Contract-First Design, and Documentation Synchronization.
- Manual Review Guidance: Provides clear instructions for human judgment on principles requiring nuanced evaluation, such as Idempotent Operations and Progressive Enhancement.
- Context-Specific Validation: Adapts checks based on whether the work is a specification, plan, task list, or code, ensuring relevant and accurate feedback.
- Use Case: Before committing code, use this Skill to perform a comprehensive constitutional check. It will automatically verify if tests are present (Principle II), contracts are defined (Principle III), and input validation is implemented (Principle XI), providing a clear report on compliance status and blocking non-compliant changes before they impact the codebase.
Quick Start
Use the constitutional-compliance skill to check if my current changes comply with the constitution before I commit.