Quality Gate Commands (/gate:)
Available with BMAD v6 installation.
| Command | Description |
|---|---|
/bear-gate:check prd | Validate PRD (≥80% threshold) |
/bear-gate:check spec | Validate Tech Spec (≥90% threshold) |
/bear-gate:check backlog | Validate INVEST compliance |
/bear-gate:check story <ID> | Validate story Definition of Done |
/bear-gate:check sprint | Validate sprint readiness |
/bear-gate:check alignment [story-id] | Validate spec-code alignment (≥85% threshold) |
/bear-gate:check commit [--fix] [--staged] | Pre-commit verification |
/bear-gate:check merge [source] [target] | Pre-merge verification |
/bear-gate:check release <version> | Release checklist |
| `/bear-gate:check <architecture | code-quality |
/bear-gate:check --phase=<pre-sprint|pre-impl|post-impl|pre-merge> | Lifecycle checkpoint |
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 |