What problem does it solve?
Prevents misalignment and missing artifacts across phased project specifications by verifying that vision, PRD, user stories, tech specs, sprint plans, and test cases are present and cross-referenced before handoffs and phase transitions.
Core Features & Use Cases
- File existence checks: Confirms required spec files for completed phases exist and are non-empty.
- PRD → Stories mapping: Verifies every PRD Feature has associated User Stories and flags orphaned stories.
- Stories → Tech Spec & Sprint mapping: Ensures Must Have stories have corresponding tech spec sections, are assigned to sprints, and that story point totals respect velocity constraints.
- AC → Test Cases tracing: Checks each acceptance criterion has linked test cases and identifies orphaned tests.
- Reporting & recommendations: Produces a structured SPEC VALIDATION REPORT with warnings and prioritized fixes for missing specs, tests, and sprint overloads.
- Use case: Run before a phase handoff to ensure all PRD features are covered by stories, tech specs exist for Must Have items, and all ACs have test coverage.
Quick Start
Run the spec validation for the project and return a SPEC VALIDATION REPORT summarizing missing files, orphaned references, and recommended fixes.