Quality Gate Commands (/gate:)
Available with BMAD v6 installation.
| Command | Description |
|---|---|
/gate:validate-prd | Validate PRD (≥80% threshold) |
/gate:validate-techspec | Validate Tech Spec (≥90% threshold) |
/gate:validate-backlog | Validate INVEST compliance |
/gate:validate-story <ID> | Validate story Definition of Done |
/gate:validate-sprint | Validate sprint readiness |
/gate:report | Full quality gates report |
/gate:validate-alignment [story-id] | Validate spec-code alignment (≥85% threshold) |
Quality Gate Thresholds
| Gate | Threshold | Criteria |
|---|---|---|
| PRD Gate | ≥80% | Problem, users, goals, metrics, scope |
| Tech Spec Gate | ≥90% | Architecture, security, testing, deployment |
| Backlog Gate | 6/6 INVEST | Independent, Negotiable, Valuable, Estimable, Small, Testable |
| Story DoD | 100% | Tasks, tests, AC, review, no blockers |
| Sprint Ready | 100% | Metadata, goal, stories ready, estimated |
| Spec Alignment | ≥85% | Requirement coverage, story-code mapping, AC-test mapping, constitution |