| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /gate |
| Category | workflow |
| Complexity | moderate |
/product:gate โ ๋จ๊ณ ํต๊ณผ ๊ฒ์ฌ(ํ์ง ๊ฒ๋ฌธ์)#
ํ๋ง๋๋ก#
๊ฐ ์์ ๋จ๊ณ๋ฅผ ๋ค์์ผ๋ก ๋๊ธฐ๊ธฐ ์ ์ "ํต๊ณผํด๋ ๋๋์ง" ์ ๊ฒํ๋ ๊ฒ๋ฌธ์์ ๋๋ค. ๊ณตํญ ๋ณด์ ๊ฒ์๋์ฒ๋ผ, ์กฐ๊ฑด์ ๋ค ํต๊ณผํด์ผ๋ง ๋ค์ ๊ฒ์ดํธ๋ก ๋ค์ด๊ฐ ์ ์์ด์.
๋๊ฐยท์ธ์ ์ฐ๋์#
- ์ง๊ธ ์ด๋ ๊ฒ์ดํธ๊ฐ ๋งํ ์๋์ง ์ํ๋ง ํ์ธํ๊ณ ์ถ์ ๋
- ๊ฒ์ดํธ์์ ํ ๋ฒ ๋จ์ด์ง ๋ค, ์ง์ ์ฌํญ์ ๊ณ ์น๊ณ ๋ค์ ๊ฒ์ฌ๋ฐ๊ณ ์ถ์ ๋
- ํน์ ๋จ๊ณ์ ํต๊ณผ ์กฐ๊ฑด์ ์ฝ ์ง์ด ํ์ธํ๊ณ ์ถ์ ๋
๋ฌด์์ ํด์ฃผ๋์#
๋ค ๋จ๊ณ(๋ถ์ / ๊ธฐํ / ์ค๊ณ / ๊ตฌํ)์ ํต๊ณผ ์กฐ๊ฑด์ ์ ๊ฒํ๊ณ , ๊ฒฐ๊ณผ๋ฅผ ํ๋์ ๋ณด์ด๋ ํ ํํ๋ก ์๋ ค์ค๋๋ค.
- ํต๊ณผํ๋ฉด "PASSED"์ ํจ๊ป ๋ค์ ๋จ๊ณ๋ก ๋์ด๊ฐ๋ ๋๋ค๊ณ ์๋ด
- ๋จ์ด์ง๋ฉด "FAILED"์ ํจ๊ป ๋ฌด์์ด ๋ฌธ์ ์ธ์ง, ์ด๋ป๊ฒ ๊ณ ์ณ์ผ ํ๋์ง, ์ด๋ค ๋ช ๋ น์ผ๋ก ์ฌ๊ฒ์ฌํ๋์ง๊น์ง ์๋ ค์ค
--all์ ์ฐ๋ฉด ์ ์ฒด ๊ฒ์ดํธ์ ํต๊ณผ/๋๊ธฐ/์คํจ ํํฉ์ ํ ์ฅ์ผ๋ก ์์ฝ
์ด๋ป๊ฒ ์ฐ๋์#
# ํน์ ๋จ๊ณ ๊ฒ์ดํธ ๊ฒ์ฌํ๊ธฐ
/product:gate --phase analysis
/product:gate --phase planning
/product:gate --phase solutioning
/product:gate --phase implementation
# ์ง์ ์ฌํญ์ ๊ณ ์น ๋ค ๋ค์ ๊ฒ์ฌ๋ฐ๊ธฐ
/product:gate --phase solutioning --retry
# ์ ์ฒด ๊ฒ์ดํธ ํํฉ ํ๋์ ๋ณด๊ธฐ
/product:gate --all
--phase๋๋--all์ค ํ๋๋ ๋ฐ๋์ ํ์ํฉ๋๋ค.- ๋ ์์ธํ ๊ฒฐ๊ณผ๋ฅผ ๋ณด๊ณ ์ถ์ผ๋ฉด
--verbose๋ฅผ ๋ง๋ถ์ด์ธ์.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์#
๊ฐ ๋จ๊ณ๋ง๋ค ์ ํด์ง ์ ๊ฒ ํญ๋ชฉ์ ํ๋์ฉ ํ์ธํฉ๋๋ค.
- ๋ถ์ ๊ฒ์ดํธ โ ์๊ตฌ์ฌํญ์ด ๋ช ํํ๊ณ ์ธก์ ๊ฐ๋ฅํ์ง, ์ด์ ํ๋๋ก ์ ๋นํ ํฌ๊ธฐ์ธ์ง, ํ ์คํธ๋ก ๊ฒ์ฆํ ์ ์๋์ง ํ์ธํฉ๋๋ค.
- ๊ธฐํ ๊ฒ์ดํธ โ EpicยทStory ๊ตฌ์กฐ๊ฐ ์ ์ ํ์ง, ์์ ํฌ๊ธฐ(์คํ ๋ฆฌ ํฌ์ธํธ)๊ฐ 1~8 ๋ฒ์์ธ์ง, ๋ผ๋ฒจ๊ณผ ์์กด์ฑ์ด ์ ๋ฆฌ๋๋์ง ๋ด ๋๋ค.
- ์ค๊ณ ๊ฒ์ดํธ โ ์ํคํ ํธ ๊ด์ (๊ตฌ์กฐยท๋ณด์ ๋ฑ)๊ณผ UX ๊ด์ (๋ ์ด์์ยท์ํธ์์ฉยท์ ๊ทผ์ฑ ๋ฑ)์ ๋๋ ๊ฒํ ํฉ๋๋ค.
- ๊ตฌํ ๊ฒ์ดํธ โ ๋ธ๋์น ์ด๋ฆ ๊ท์น, ์ฝ๋ ๊ฒ์ฌ(lint) ํต๊ณผ, PR ์ค๋น ์ํ๋ฅผ ํ์ธํฉ๋๋ค.
๋ชจ๋ ๊ฒ์ดํธ๋ ํ์์ ๋๋ค. ๋จ์ด์ง๋ฉด ๋ค์ ๋จ๊ณ๋ก ๋์ด๊ฐ ์ ์๊ณ , ํผ๋๋ฐฑ์ ๋ฐ์ํด ๋ค์ ๊ฒ์ฌ๋ฐ์์ผ ํฉ๋๋ค. (๊ธด๊ธ ๋ชจ๋๋ ๊ด๋ฆฌ์ ์น์ธ์ด ์์ด์ผ๋ง ์์ธ๋ก ํ์ฉ๋ฉ๋๋ค.)
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
Triggers#
- Manual gate status check
- Re-verification after gate failure
- Checking specific gate conditions
Usage#
Basic Usage#
# Verify a specific phase gate
/product:gate --phase analysis
/product:gate --phase planning
/product:gate --phase solutioning
/product:gate --phase implementationRe-verification Request#
# Re-verify after applying feedback
/product:gate --phase solutioning --retryCheck All Gates#
# Check overall gate status
/product:gate --allOptions#
| Option | Required | Description |
|---|---|---|
--phase | โ ๏ธ* | Phase to verify |
--all | โ ๏ธ* | Check all gates |
--retry | โ | Re-verification mode |
--verbose | โ | Detailed result output |
*Either --phase or --all is required
Gate Verification Items#
Analysis Gate#
checks:
- requirement_clarity:
description: " Are requirements specific and measurable? "
- scope_appropriateness:
description: " Is it an appropriate size for a single issue? "
- ac_testability:
description: " Are AC automatable for testing? "Planning Gate#
checks:
- epic_story_structure:
description: " Is the hierarchy structure appropriate? "
- story_point:
description: " Is it within 1-8 SP range? "
threshold: { min: 1, max: 8, split_required: 13 }
- labeling:
description: " Are Type and Scope labels present? "
- dependencies:
description: " Are blockers resolvable? "Solutioning Gate#
checks:
architect:
- clean_architecture
- pure_di_wiring # No getIt/injectable, direct BlocProvider creation
- api_design # when backend changes
- security
ux_designer:
- coui_compliance # recommended when the Co < X > design system is in use; see cc-coui skill. Not a hard block.
- layout
- interaction
- accessibility # recommendedImplementation Gate#
sub_gates:
- step_4_branch:
pattern: " ^(feature|fix|refactor|chore)/[0-9]+ "
- step_8_5_lint:
commands: [ " dart analyze " , " dcm analyze " ]
- step_9_pr:
checks: [branch_format, issue_linked, commits_exist, lint_passed]Output Format#
Gate Passed#
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Analysis Gate: โ
PASSED โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ โ
Requirements clarity: PASS โ
โ - 3 functional requirements identified โ
โ - Success criteria clear โ
โ โ
โ โ
Scope appropriateness: PASS โ
โ - Expected complexity: Medium (3-5 SP) โ
โ - Appropriate for a single issue โ
โ โ
โ โ
Acceptance Criteria Testability: PASS โ
โ - 3 Acceptance Criteria defined โ
โ - All convertible to BDD scenarios โ
โ โ
โ โ Ready to proceed to Planning phase โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโGate Failed#
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Solutioning Gate: โ FAILED โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ ๐๏ธ Architect review: โ FAILED โ
โ โโโ โ
Clean Architecture โ
โ โโโ โ Dependency wiring: getIt usage found (Pure DI violation) โ
โ โโโ โ
API Design (N/A) โ
โ โโโ โ
Security โ
โ โ
โ ๐จ UX Designer review: โ
PASSED โ
โ โโโ โ
CoUI compliance โ
โ โโโ โ
Layout โ
โ โโโ โ
Interaction โ
โ โโโ โ ๏ธ Accessibility (recommended) โ
โ โ
โ Gate result: FAILED (Architect review failed) โ
โ โ
โ Required actions: โ
โ 1. Change to direct creation in BlocProvider: โ
โ create: (_) = > AuthorBloc() โ
โ โ
โ Re-verification command: โ
โ /product:gate --phase solutioning --retry โ
โ โ
โ โ ๏ธ Cannot proceed to Implementation phase. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโOverall Gate Status#
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BMAD Gate Status (All) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ Analysis Gate: โ
PASSED โ
โ Planning Gate: โ
PASSED โ
โ Solutioning Gate: โ FAILED (Architect - Pure DI violation) โ
โ Implementation Gate: โณ PENDING โ
โ โ
โ Current blocker: Solutioning Gate โ
โ Next action: /product:gate --phase solutioning --retry โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโMandatory Gate Policy#
โ ๏ธ Important: All gates are mandatory.
On gate failure:
โโโ Cannot proceed to next phase
โโโ Feedback provided
โโโ Re-verification required
Exception:
โโโ Emergency mode (--emergency)
โ โโโ Admin approval required
โโโ Post-review requiredRelated Commands#
/product:bmad- Full BMAD workflow/product:review- Persona-specific review/product:bmad-status- Status check
Related Documents#
.claude/orchestrators/phase-gates.md- Detailed gate definitions.claude/personas/- Per-persona review criteria