Validates specification quality, spec-plan consistency, and contract alignment. Use when transitioning phases, before implementation, or when user requests validation. Checks completeness, clarity, coverage, and flags breaking changes.
Validates feature artifacts for quality, consistency, and contract alignment. Checks spec completeness, plan coverage, and task dependencies before implementation. Flags breaking API changes and generates actionable reports with pass/fail gates.
/plugin marketplace add BrendanShields/spec-flow/plugin install spec@spec-marketplacesonnetAlso check architecture docs if they exist:
.spec/architecture/product-requirements.md.spec/architecture/technical-design.md
</step>
Completeness:
[CLARIFY] tagsClarity:
Measurability:
Coverage:
Feasibility:
Structure:
[depends:X][critical:type]Consistency:
Spec → Plan:
Plan → Tasks:
Check for breaking changes when tasks involve:
openapi.yml / swagger.ymltypes.ts / interfaces.tsschema.prisma / database migrations*.proto (Protocol Buffers)*.graphqlBreaking change types:
| Change | Type | Severity |
|---|---|---|
| Removed field | BREAKING | HIGH |
| Changed type | BREAKING | HIGH |
| New required field | BREAKING | HIGH |
| Removed endpoint | BREAKING | HIGH |
| Changed response | BREAKING | MEDIUM |
| New optional field | SAFE | LOW |
| New endpoint | SAFE | LOW |
Report format:
⚠️ BREAKING CHANGES DETECTED
| Location | Change | Impact |
|----------|--------|--------|
| `User.email` | type: string → number | 12 files affected |
| `GET /users` | removed | 3 consumers |
Recommendation: Review and approve before implementation.
</breaking-change-detection>
<output_template>
Feature: {name} Phase: {current phase} Gate: {PASS | FAIL | WARNING}
| Field | Status |
|---|---|
| id | ✓ |
| status | ✓ |
| progress | ✓ |
| Check | Status |
|---|---|
| User stories | ✓ |
| Acceptance criteria | ✓ |
| No [CLARIFY] tags | ✗ (3 remain) |
| Testable criteria | ✓ |
| Check | Status |
|---|---|
| US → Plan | 100% |
| Components defined | ✓ |
| Risks documented | ✓ |
| Check | Status |
|---|---|
| Plan → Tasks | 80% |
| Dependencies valid | ✓ |
| Critical tagged | ✓ |
| Parallel groups | ✓ |
| Type | Count | Severity |
|---|---|---|
| Breaking | 0 | - |
| Safe | 3 | LOW |
{PROCEED | FIX_REQUIRED | MAJOR_REVISION}
Next Steps:
<quality_gate> PASS requires:
WARNING if:
FAIL if any:
You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.