| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /product:bmad |
| Category | workflow |
| Complexity | high |
| MCP Servers | zenhub |
/product:bmad โ 7๋ช ์ ์ ๋ฌธ๊ฐ๊ฐ ๊ฒํ ํ๋ ์์ ์ ์ฐจ#
ํ๋ง๋๋ก#
์ค์ํ ์์ ์ ์์ํ ๋, 7๋ช ์ ๊ฐ์ ์ ๋ฌธ๊ฐ(๋ถ์๊ฐยท๊ธฐํ์ยท์ํคํ ํธยท๋์์ด๋ ๋ฑ)๊ฐ ์ฐจ๋ก๋ก ๊ฒํ ๋์ฅ์ ์ฐ์ด์ผ ๋ค์ ๋จ๊ณ๋ก ๋์ด๊ฐ๋ ์์ ๋ฐฉ์์ ๋๋ค. ๊ณต์ฅ์ ํ์ง ๊ฒ์ฌ ๋ผ์ธ์ฒ๋ผ, ๊ฐ ๊ด๋ฌธ(Gate)์ ํต๊ณผํ์ง ๋ชปํ๋ฉด ํต๊ณผํ ๋๊น์ง ๋ค์ ๊ณ ์นฉ๋๋ค.
๋๊ฐยท์ธ์ ์ฐ๋์#
- ์ ๊ธฐ๋ฅ, ๋ฒ๊ทธ ์์ , ๋ฆฌํฉํฐ๋ง ๊ฐ์ ์์ ์ ์ฒ์ ์์ํ ๋
- ์ฌ๋ฌ ์ ๋ฌธ๊ฐ ๊ด์ ์ ๊ฒํ ๊ฐ ๊ผญ ํ์ํ ๋ณต์กํ ์์ ์ผ ๋
- ํ์ง์ ๋ฐ๋์ ๋ณด์ฅํด์ผ ํ๋ ์ค์ํ ์์ ์ผ ๋
๋ฌด์์ ํด์ฃผ๋์#
์์ ์ 4๊ฐ ๋จ๊ณ(๋ถ์ โ ๊ธฐํ โ ์ค๊ณ โ ๊ตฌํ)๋ก ๋๋ ์งํํ๊ณ , ๊ฐ ๋จ๊ณ๋ง๋ค ๊ฒํ ๊ด๋ฌธ์ ํต๊ณผ์ํต๋๋ค. ๊ฒฐ๊ณผ์ ์ผ๋ก:
- ZenHub์ ์ด์(Issue) ๊ฐ ์๋์ผ๋ก ๋ง๋ค์ด์ง๊ณ ์คํ ๋ฆฌ ํฌ์ธํธยท๋ผ๋ฒจ์ด ๋ถ์ต๋๋ค.
- ์์ ์ฉ ๋ธ๋์น๊ฐ ๋ง๋ค์ด์ง๊ณ , ๊ตฌํยทํ ์คํธยท๋ฆฐํธยทPRยท๋ฆฌ๋ทฐยท๋จธ์ง๊น์ง ์งํ๋ฉ๋๋ค.
-
์งํ ์ํฉ์ ์งํ ํํฉํ์ผ๋ก ๋ณด์ฌ์ฃผ๊ณ , ๊ด๋ฌธ์์ ๋งํ๋ฉด ์๋ฌ ์ฝ๋(์:
BMAD_003)์ ํจ๊ป ๋ฌด์์ ๊ณ ์ณ์ผ ํ ์ง ์๋ ค์ค๋๋ค. - ๋ง์ง๋ง์๋ 7๋ช ์ ์ ๋ฌธ๊ฐ ๊ฒํ ๊ฒฐ๊ณผ, ํต๊ณผํ ๊ด๋ฌธ ์, ํ ์คํธ ๊ฒฐ๊ณผ๋ฅผ ์ ๋ฆฌํ ์๋ฃ ๋ฆฌํฌํธ๊ฐ ๋์ต๋๋ค.
์ด๋ป๊ฒ ์ฐ๋์#
# ๊ธฐ๋ณธ ์ฌ์ฉ โ ์์
๋ด์ฉ์ ์ ์ด ์์
/product:bmad " Add author list screen "
# ๊ธฐ์กด ์ํฌํ๋ก(/dev:run)์ BMAD๋ฅผ ๋ผ์ ์คํ
/dev:run --bmad " Add author list screen "
# ํน์ ๊ด๋ฌธ๋ง ํ์ฑํ (์: ๋ถ์ยท๊ธฐํ๋ง)
/product:bmad --gates analysis,planning " Simple task "
# ๊ธด๊ธ ๋ชจ๋ (์ฌ์ฉ์ ์น์ธ ํ์, ๊ด๋ฌธ ๊ฐ์ํ)
/product:bmad --emergency " Production emergency fix "
--gates: ์ํ๋ ๊ด๋ฌธ๋ง ๊ณจ๋ผ ์คํํฉ๋๋ค.--emergency: ์ด์ ์ฅ์ ๊ฐ์ ๊ธด๊ธ ์ํฉ์์ ๊ด๋ฌธ์ ๊ฐ์ํํฉ๋๋ค(์์ ์๋ต์ ์๋๋ฉฐ, ์๋ฃ ํ 48์๊ฐ ๋ด ์ฌํ ๋ฆฌ๋ทฐ๊ฐ ํ์).--no-parallel: ๋ณ๋ ฌ ์คํ์ ๋๋๋ค.--skip-persona: ํน์ ์ ๋ฌธ๊ฐ ๊ฒํ ๋ฅผ ๊ฑด๋๋๋๋ค.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์#
์์ ์ ์ ํด์ง ์์๋๋ก 4๋จ๊ณ๋ฅผ ๊ฑฐ์น๋ฉฐ, ๊ฐ ๋จ๊ณ์ ๊ฒํ ๋ฅผ ํต๊ณผํด์ผ๋ง ๋ค์์ผ๋ก ๋์ด๊ฐ๋๋ค.
- ๋ถ์(Analysis) โ ๋ถ์๊ฐ ๊ด์ ์์ ์๊ตฌ์ฌํญ์ด ๋ช ํํ์ง, ์์ ๋ฒ์๊ฐ ์ ์ ํ์ง, ํฉ๊ฒฉ ๊ธฐ์ค์ด ๊ฒ์ฆ ๊ฐ๋ฅํ์ง ํ์ธํฉ๋๋ค.
- ๊ธฐํ(Planning) โ ๊ธฐํ์ ๊ด์ ์์ Epic/Story ๊ตฌ์กฐ๋ฅผ ์ก๊ณ ZenHub์ ์ด์๋ฅผ ๋ง๋ค๋ฉฐ, ์คํ ๋ฆฌ ํฌ์ธํธ์ ๋ผ๋ฒจ์ ๋ถ์ ๋๋ค.
- ์ค๊ณ(Solutioning) โ ์ํคํ ํธ์ UX ๋์์ด๋๊ฐ ๋์์ ๊ฒํ ํฉ๋๋ค. ๋ ๋ค ํต๊ณผํด์ผ ๋ค์์ผ๋ก ๊ฐ๋๋ค.
- ๊ตฌํ(Implementation) โ ๋ธ๋์น๋ฅผ ๋ง๋ค๊ณ ์ด์๋ฅผ ์งํ ์ค์ผ๋ก ์ฎ๊ธด ๋ค, ๊ตฌํยทํ ์คํธยท๋ฆฐํธยทPRยท๋ฆฌ๋ทฐยท๋จธ์ง๋ฅผ ์งํํฉ๋๋ค. (๋ฆฐํธ์ ํ ์คํธ ๊ด๋ฌธ์ ํญ์ ํ์์ ๋๋ค.)
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
Required Execution Protocol#
Important: BMAD workflows must pass mandatory gates across 4 phases.
Phase Execution Order#
Phase 1: ANALYSIS โ Analyst review
Phase 2: PLANNING โ PM review
Phase 3: SOLUTIONING โ Architect + UX Designer review (parallel)
Phase 4: IMPLEMENTATION โ Flutter/Backend Dev + Scrum MasterExecution by Phase#
Phase 1: Analysis
// ๐ก Conceptual pseudocode (Claude actually performs review as the Analyst persona)
const analysisResult = await analyzeRequirements({
input: workContent,
checks: [ " requirementClarity " , " scopeAppropriateness " , " acTestability " ],
});
if (!analysisResult.pass) {
// Provide feedback and request revision
return requestRevision(analysisResult.feedback);
}Phase 2: Planning
// ๐ก Actual MCP tool call example (Claude executes as the PM persona)
// Dynamic workspace info lookup
const workspace = await mcp__zenhub__getWorkspacePipelinesAndRepositories();
const repoId = workspace.githubRepositories.find(r = > /* GitHub repo selection */)?.id; // ํ๋๋ช
: githubRepositories
const issueTypes = await mcp__zenhub__getIssueTypes();
const backlog = workspace.pipelines.find(p = > p.name === " Product Backlog " );
const issue = await mcp__zenhub__createGitHubIssue({
repositoryId: repoId,
title: `${type}(${scope}): ${gitmoji} ${description}`,
body: generateIssueBody(analysisResult),
issueTypeId: issueTypes.find(t = > t.name === type).id,
labels: [type, scope],
});
await mcp__zenhub__setIssueEstimate({
issueId: issue.id,
estimate: storyPoint,
});
await mcp__zenhub__moveIssueToPipeline({
issueId: issue.graphqlId,
pipelineId: backlog.id,
});Phase 3: Solutioning (parallel)
architect-review/ux-designer-review๋ ํธ์คํธ ํ๋ก์ ํธ.claude/personas/๊ฐ ๊ณต๊ธํ๋ ๋ฐํ์ ํ๋ฅด์๋๋ค(์ด ํ๋ฌ๊ทธ์ธ ๋ฏธ๋ฐฐํฌ). ๋ถ์ฌ ์ cc-product SKILL(architect,ux-designer)๋ก degrade โ ๋ฏธ์กด์ฌ Task ๊ฒฐ๊ณผ๋ฅผ PASS ๋ก ๊ฐ์ฃผ ๊ธ์ง. (bmad-orchestrator.md ์ฐธ์กฐ)
// ๐ก Conceptual pseudocode (Claude actually calls Task tool in parallel)
const [architectResult, uxResult] = await Promise.all([
Task({
subagent_type: " architect-review " ,
prompt: `Architecture review: ${issue.title}`,
}),
Task({
subagent_type: " ux-designer-review " ,
prompt: `UX review: ${issue.title}`,
}),
]);
// All reviews must pass
if (!architectResult.pass || !uxResult.pass) {
return requestRevision(combineFeedback(architectResult, uxResult));
}Phase 4: Implementation
# Execute existing workflow Steps 4-12
# Create branch
git checkout development & & git pull origin development
git checkout -b feature/issue-${issue.number}-${slug}
# Move to In Progress
mcp__zenhub__moveIssueToPipeline(...)
# Implement, test, lint, PR, review, merge
# (same flow as the existing workflow)Triggers#
- When starting a new feature/bug/refactoring task
- For complex tasks requiring persona-based review
- For critical tasks requiring quality gates
Usage#
Basic Usage#
# Start BMAD workflow
/product:bmad " Add author list screen "Integration with Existing Workflow#
# Activate with --bmad option
/dev:run --bmad " Add author list screen "Activate Specific Gates Only#
# Analysis and Planning gates only
/product:bmad --gates analysis,planning " Simple task "Emergency Mode#
# Streamlined gates (requires user approval)
/product:bmad --emergency " Production emergency fix "Emergency Mode Approval Procedure:
// Claude requests explicit approval via AskUserQuestion tool
AskUserQuestion({
questions: [{
header: " Emergency " ,
question: " Do you want to activate emergency mode? This will streamline the Analysis/Planning gates. " ,
options: [
{ label: " Yes, approved " , description: " Activate emergency mode (post-review required within 48 hours) " },
{ label: " No " , description: " Proceed in normal mode " }
],
multiSelect: false
}]
});- Approval Request: Claude requests explicit approval via
AskUserQuestiontool - User Selection: Proceed only when "Yes, approved" is selected
- Gate Streamlining: Analysis, Planning gates are streamlined (not fully skipped)
- Mandatory Gates: Implementation gate is always mandatory (lint, tests)
- Post-Review: Post-review is required within 48 hours of completion (see
BMAD_020error code)
Parameters#
| Parameter | Required | Description | Example |
|---|---|---|---|
task description | โ | Description of the task | "Add author list screen" |
Options#
| Option | Default | Description |
|---|---|---|
--gates | All gates | Activate specific gates only |
--emergency | false | Emergency mode (streamlined gates) |
--no-parallel | false | Disable parallel execution |
--skip-persona | - | Skip specific persona |
Output Format#
Progress#
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BMAD Workflow: " Add author list screen " โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ Phase 1: ANALYSIS โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ
โ โโโ ๐ Analyst review โ
โ โ โโโ โ
Requirements clarity โ
โ โ โโโ โ
Scope appropriateness โ
โ โ โโโ โ
Acceptance Criteria testability โ
โ โโโ ๐ Result: Approved (3 Acceptance Criteria confirmed) โ
โ โ
โ Phase 2: PLANNING โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ
โ โโโ ๐ PM review โ
โ โ โโโ โ
Epic/Story structure โ
โ โ โโโ โ
Story Point: 5 โ
โ โ โโโ โ
Dependencies: None โ
โ โโโ ๐ Result: Issue #1810 created โ
โ โ
โ Phase 3: SOLUTIONING โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ โ
โ โโโ ๐๏ธ Architect review (parallel) โ
โ โ โโโ ๐ Reviewing... โ
โ โโโ ๐จ UX Designer review (parallel) โ
โ โโโ โ
Complete โ
โ โ
โ Phase 4: IMPLEMENTATION โโโโโโโโโโโโโโโโโโโโโโโโโโ โณ โ
โ โโโ Waiting โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโGate Failure (with error code)#
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BMAD Gate Failed: BMAD_003 โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ Phase 3: SOLUTIONING โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโ ๐๏ธ Architect review: โ FAILED โ
โ โ โโโ โ DI structure: BLoC directly accesses Repository โ
โ โ โโโ ๐ Required action: Create UseCase, change dependency โ
โ โ โโโ ๐ Retry: 1/3 โ
โ โโโ ๐จ UX Designer review: โ
PASSED โ
โ โ
โ ๐ก Fix: Apply feedback, then `/product:review --persona architect`โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโCompletion#
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BMAD Workflow Complete: " Add author list screen " โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ ๐ Issue: #1810 - Add author list screen โ
โ ๐ PR: #1815 โ
โ ๐ฟ Branch: feature/1810-author-list (deleted) โ
โ โ
โ โ
Persona review: 7/7 passed โ
โ โ
Gates passed: 4/4 phases โ
โ โ
Tests: 25/25 passed โ
โ โ
โ ๐ Final State: CLOSED โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโSelf-Verification Checklist#
| Phase | Gate | Done |
|---|---|---|
| Analysis | Requirements clarity | โฌ |
| Analysis | Scope appropriateness | โฌ |
| Analysis | Acceptance Criteria testability | โฌ |
| Planning | Epic/Story structure | โฌ |
| Planning | Story Point (1-8) | โฌ |
| Planning | Labeling | โฌ |
| Planning | Dependencies | โฌ |
| Solutioning | Clean Architecture | โฌ |
| Solutioning | DI structure | โฌ |
| Solutioning | CoUI compliance | โฌ |
| Implementation | Branch rules | โฌ |
| Implementation | Lint pass | โฌ |
| Implementation | Test pass | โฌ |
| Implementation | Code review | โฌ |
Related Commands#
/product:review- Persona-specific review/product:bmad-status- Status check/product:gate- Gate verification/dev:run- Existing workflow (without BMAD)/dev:run --bmad- BMAD integrated workflow
Related Documents#
.claude/orchestrators/bmad-orchestrator.md- Orchestrator.claude/orchestrators/phase-gates.md- Gate definitions.claude/personas/- Persona definitions.claude/skills/bmad/SKILL.md- Skill details