BMAD Phase Orchestration
The 4 BMAD Phases
BMAD projects follow a strict four-phase lifecycle. Each phase has a primary agent, required artifacts, and a gate that must be satisfied before the next phase begins.
Phase 1: Analysis
- Agent: mary-analyst
- Purpose: Understand the problem space, target users, market landscape, and project constraints
- Artifacts:
docs/brief.md
- Activities: Stakeholder interviews, competitive analysis, user research synthesis, problem framing
- Gate:
docs/brief.md must contain a substantive project brief with problem statement, target audience, and key features
Phase 2: Planning
- Agent: john-pm (with sally-ux for UX-heavy projects)
- Purpose: Translate analysis into a structured product plan with epics, stories, and priorities
- Artifacts:
docs/prd.md
- Activities: Feature prioritization, epic decomposition, MVP scoping, requirement specification
- Gate:
docs/prd.md must contain at least one epic with defined stories
Phase 3: Solutioning
- Agent: winston-architect
- Purpose: Design the technical architecture that satisfies the PRD requirements
- Artifacts:
docs/architecture/index.md and supporting docs
- Activities: Tech stack selection, system design, API design, data modeling, security planning
- Gate:
docs/architecture/index.md must exist with architecture overview and tech decisions
Phase 4: Implementation
- Agents: bob-sm (coordination), james-dev (coding), quinn-qa (testing)
- Purpose: Build the product story-by-story with continuous QA
- Artifacts:
docs/stories/*.md and source code
- Activities: Story creation, development, code review, QA validation, bug fixing
- Gate: All stories reach "QA Pass" status
The 9 BMAD Agents
| Agent |
Role |
Primary Phase |
Responsibilities |
| mary-analyst |
Business Analyst |
Analysis |
Research, brief creation, problem framing |
| john-pm |
Product Manager |
Planning |
PRD, epics, prioritization, MVP scope |
| sally-ux |
UX Designer |
Planning |
User flows, wireframes, interaction design |
| winston-architect |
Architect |
Solutioning |
System design, tech stack, API design |
| bob-sm |
Scrum Master |
Implementation |
Story creation, sprint coordination, context extraction |
| james-dev |
Developer |
Implementation |
Code implementation, debugging, dev records |
| quinn-qa |
QA Engineer |
Implementation |
Testing, validation, bug reports |
| barry-quick |
Quick Flow |
Any |
Rapid prototyping, quick tasks, bypasses full BMAD |
| paige-writer |
Technical Writer |
Any |
Documentation, user guides, API docs |
Phase Gates
Phase gates prevent premature advancement. A phase gate checks:
- Artifact existence: The required files must exist
- Content quality: Files must contain substantive content (not just placeholders)
- Completeness: Key sections must be populated (e.g., PRD must have at least one epic)
Gates are enforced in /bmad-sprint and should be checked manually when working phase-by-phase.
Agent Handoff Patterns
When one phase completes and the next begins:
- The completing agent summarizes its work and key decisions
- The phase transition is logged to
.bmad/phase-log.json
.bmad/config.json is updated with new phase status
- The next agent reads all prior artifacts as input context
- The next agent begins its phase-specific work
Key handoff data flows:
- Analysis → Planning: Brief informs epic structure and feature priorities
- Planning → Solutioning: PRD requirements drive architecture decisions
- Solutioning → Implementation: Architecture docs are extracted into story Dev Notes
- Within Implementation: Story results feed into subsequent story context
Quick Flow vs Full BMAD
Use barry-quick (Quick Flow) when:
- The task is small and well-defined (< 1 day of work)
- No cross-cutting architecture decisions are needed
- The user wants a rapid prototype or proof-of-concept
- The change is isolated to a single component
Use full BMAD when:
- The project is greenfield or involves significant new architecture
- Multiple stakeholders need alignment
- Quality gates and QA validation are important
- The work spans multiple epics or stories
Cowork Team Coordination
BMAD leverages the Cowork framework for multi-agent coordination:
- SendMessage: Agents communicate context, handoffs, and blockers
- TaskCreate / TaskUpdate: Work items are tracked as tasks with ownership
- Agent tool: Spawns specialized agents for phase execution
- Agents share the project filesystem as the source of truth — artifacts in
docs/ are the coordination mechanism
1---2name: bmad-phase-orchestration3description: This skill activates when the user discusses BMAD methodology, project phases, agent coordination, phase gates, workflow routing, or asks about "which BMAD agent", "what phase am I in", "BMAD workflow", "phase transition", "agent handoff". Provides knowledge about BMAD's 4-phase methodology and 9 specialized agents.4---56# BMAD Phase Orchestration78## The 4 BMAD Phases910BMAD projects follow a strict four-phase lifecycle. Each phase has a primary agent, required artifacts, and a gate that must be satisfied before the next phase begins.1112### Phase 1: Analysis1314- **Agent**: mary-analyst15- **Purpose**: Understand the problem space, target users, market landscape, and project constraints16- **Artifacts**: `docs/brief.md`17- **Activities**: Stakeholder interviews, competitive analysis, user research synthesis, problem framing18- **Gate**: `docs/brief.md` must contain a substantive project brief with problem statement, target audience, and key features1920### Phase 2: Planning2122- **Agent**: john-pm (with sally-ux for UX-heavy projects)23- **Purpose**: Translate analysis into a structured product plan with epics, stories, and priorities24- **Artifacts**: `docs/prd.md`25- **Activities**: Feature prioritization, epic decomposition, MVP scoping, requirement specification26- **Gate**: `docs/prd.md` must contain at least one epic with defined stories2728### Phase 3: Solutioning2930- **Agent**: winston-architect31- **Purpose**: Design the technical architecture that satisfies the PRD requirements32- **Artifacts**: `docs/architecture/index.md` and supporting docs33- **Activities**: Tech stack selection, system design, API design, data modeling, security planning34- **Gate**: `docs/architecture/index.md` must exist with architecture overview and tech decisions3536### Phase 4: Implementation3738- **Agents**: bob-sm (coordination), james-dev (coding), quinn-qa (testing)39- **Purpose**: Build the product story-by-story with continuous QA40- **Artifacts**: `docs/stories/*.md` and source code41- **Activities**: Story creation, development, code review, QA validation, bug fixing42- **Gate**: All stories reach "QA Pass" status4344## The 9 BMAD Agents4546| Agent | Role | Primary Phase | Responsibilities |47|-------|------|---------------|------------------|48| mary-analyst | Business Analyst | Analysis | Research, brief creation, problem framing |49| john-pm | Product Manager | Planning | PRD, epics, prioritization, MVP scope |50| sally-ux | UX Designer | Planning | User flows, wireframes, interaction design |51| winston-architect | Architect | Solutioning | System design, tech stack, API design |52| bob-sm | Scrum Master | Implementation | Story creation, sprint coordination, context extraction |53| james-dev | Developer | Implementation | Code implementation, debugging, dev records |54| quinn-qa | QA Engineer | Implementation | Testing, validation, bug reports |55| barry-quick | Quick Flow | Any | Rapid prototyping, quick tasks, bypasses full BMAD |56| paige-writer | Technical Writer | Any | Documentation, user guides, API docs |5758## Phase Gates5960Phase gates prevent premature advancement. A phase gate checks:61621. **Artifact existence**: The required files must exist632. **Content quality**: Files must contain substantive content (not just placeholders)643. **Completeness**: Key sections must be populated (e.g., PRD must have at least one epic)6566Gates are enforced in `/bmad-sprint` and should be checked manually when working phase-by-phase.6768## Agent Handoff Patterns6970When one phase completes and the next begins:71721. The completing agent summarizes its work and key decisions732. The phase transition is logged to `.bmad/phase-log.json`743. `.bmad/config.json` is updated with new phase status754. The next agent reads all prior artifacts as input context765. The next agent begins its phase-specific work7778### Key handoff data flows:79- **Analysis → Planning**: Brief informs epic structure and feature priorities80- **Planning → Solutioning**: PRD requirements drive architecture decisions81- **Solutioning → Implementation**: Architecture docs are extracted into story Dev Notes82- **Within Implementation**: Story results feed into subsequent story context8384## Quick Flow vs Full BMAD8586Use **barry-quick** (Quick Flow) when:87- The task is small and well-defined (< 1 day of work)88- No cross-cutting architecture decisions are needed89- The user wants a rapid prototype or proof-of-concept90- The change is isolated to a single component9192Use **full BMAD** when:93- The project is greenfield or involves significant new architecture94- Multiple stakeholders need alignment95- Quality gates and QA validation are important96- The work spans multiple epics or stories9798## Cowork Team Coordination99100BMAD leverages the Cowork framework for multi-agent coordination:101102- **SendMessage**: Agents communicate context, handoffs, and blockers103- **TaskCreate / TaskUpdate**: Work items are tracked as tasks with ownership104- **Agent tool**: Spawns specialized agents for phase execution105- Agents share the project filesystem as the source of truth — artifacts in `docs/` are the coordination mechanism