Planning Phase Guide
Complete guide to the planning phase of BMad Method. Use this phase to create comprehensive specifications before development begins.
Platform: Web AI platforms (ChatGPT, Claude, Gemini)
Duration: 1-4 hours depending on project complexity
Output: PRD, Architecture, Frontend Spec (if UI), Sharded documents
Overview
The planning phase creates complete, validated specifications before coding starts. This eliminates planning inconsistency and ensures development has complete context.
Prerequisites
- BMad Method installed (
npx bmad-method install)
- Web bundles generated (optional but recommended)
- Project idea or requirements
- Access to web AI platform (ChatGPT, Claude, or Gemini)
Phase Structure
Analyst → PM → UX Expert → Architect → PO
↓ ↓ ↓ ↓ ↓
Brief PRD UI Spec Architecture Validation
& Sharding
Step-by-Step Workflow
Step 1: Load Planning Team
For full-stack projects:
Load: web-bundles/teams/team-fullstack.txt
For backend-only projects:
Load: web-bundles/teams/team-no-ui.txt
Copy entire file contents and paste into your web AI platform.
Step 2: Orchestrator Initialization
Answer orchestrator's questions:
- New or existing project? New
- Project type? Full-stack / Backend-only / Frontend-only
Orchestrator recommends appropriate workflow.
Step 3: Create Project Brief (Analyst)
*agent analyst
*create-project-brief
Elicitation Topics:
- Project Overview: Name, description, purpose
- Problem Statement: What problem does this solve?
- Goals and Objectives: What success looks like
- Success Criteria: Measurable metrics
- Stakeholders: Who is involved?
- Constraints: Budget, timeline, technical
- Assumptions: What we're assuming is true
Interactive Elicitation: For each section, analyst presents draft and offers:
- Proceed to next section
2-9. Elicitation methods (SCAMPER, 5 Whys, Jobs-to-be-Done, etc.)
Output: docs/project-brief.md
Optional Advanced Tasks:
*perform-market-research: Market analysis
*create-competitor-analysis: Competitive landscape
*brainstorm: Structured brainstorming session
Step 4: Create PRD (Product Manager)
PRD Structure:
- Product Overview: Vision, goals, success metrics
- User Personas: Target users, needs, pain points
- Epics and Stories: Organized feature sets
- Epic format:
Epic N: {Title}
- Story format:
Story N.M: As a {role}, I want {action}, so that {benefit}
- Acceptance criteria for each story
- Non-Functional Requirements: Performance, security, scalability
- Dependencies: External systems, APIs
- Risks: Potential issues and mitigation
- Glossary: Terms and definitions
Interactive Elicitation: Same 1-9 format as project brief.
Key Principles:
- Each epic contains multiple related stories
- Stories follow user story format
- Acceptance criteria are specific and testable
- Technical requirements included
Output: docs/prd.md
Step 5: Create Frontend Specification (UX Expert) - If UI Needed
*agent ux-expert
*create-frontend-spec
Frontend Spec Structure:
- UI/UX Overview: Design philosophy, user experience goals
- Design System: Colors, typography, spacing, components
- Component Specifications: Detailed component designs
- User Flows: Step-by-step user journeys
- Wireframes/Mockups: Visual representations
- Interaction Patterns: How users interact
- Responsive Design: Mobile, tablet, desktop
- Accessibility: WCAG compliance, a11y features
Output: docs/front-end-spec.md
Optional: Generate v0/Lovable prompts
Step 6: Create Architecture (Architect)
*agent architect
*create-architecture
Architecture Document Structure:
For Full-Stack Projects:
- System Overview: High-level architecture
- Tech Stack: Frontend, backend, database, infrastructure
- Frontend Architecture: UI, state, routing, components, styling
- Backend Architecture: API, business logic, data access, auth
- Database Architecture: Schema, models, migrations
- API Specifications: REST endpoints, request/response, auth
- Integration Points: External services, APIs
- Unified Project Structure: Directory structure, file organization
- Deployment Architecture: Frontend, backend, database, CI/CD
- Coding Standards: Frontend and backend conventions
- Testing Strategy: Unit, integration, E2E testing
For Backend-Only Projects:
- System Overview
- Tech Stack
- System Components
- Data Models
- API Specifications
- Security Architecture
- Deployment Architecture
- Coding Standards
- Testing Strategy
For Frontend-Only Projects:
- Frontend Overview
- Tech Stack
- Component Architecture
- State Management
- Routing Strategy
- API Integration
- Project Structure
- Styling Approach
- Performance Optimization
- Testing Strategy
Output:
- Full-stack:
docs/fullstack-architecture.md
- Backend:
docs/architecture.md
- Frontend:
docs/front-end-architecture.md
Optional: Architecture review
Step 7: PRD Update (if needed)
If architect identifies inconsistencies with PRD:
PM updates PRD based on architecture feedback.
Step 8: Validation and Sharding (Product Owner)
PO Actions:
- Validates all artifacts against checklists
- Shards PRD into individual epic files
- Shards architecture into section files
Sharding Output:
docs/prd/
├── index.md
├── epic-1-{name}.md
├── epic-2-{name}.md
└── epic-3-{name}.md
docs/architecture/
├── index.md
├── tech-stack.md
├── unified-project-structure.md
├── coding-standards.md
├── testing-strategy.md
├── data-models.md
├── database-schema.md
├── backend-architecture.md
├── rest-api-spec.md
├── frontend-architecture.md
├── components.md
└── core-workflows.md
Validation Commands:
*validate-story-draft # Validate story structure
*correct-course # Adjust if off track
Planning Phase Complete
At this point you have:
- ✅ Complete project brief
- ✅ Comprehensive PRD with epics and stories
- ✅ (Optional) Frontend specification
- ✅ Detailed architecture document
- ✅ Sharded documents for development
Handoff to Development Phase
Transfer to desktop IDE with sharded documents:
- Documents Created:
docs/ directory with PRD and architecture
- Sharded Documents:
docs/prd/ and docs/architecture/ directories
- Configuration:
.bmad-core/core-config.yaml already configured
- Ready for Development: SM can now create stories with complete context
Next Steps
Continue with Development Phase Guide
Troubleshooting Planning Phase
Problem: Elicitation overwhelming
Solution: Use YOLO mode (*yolo) for faster generation
Problem: PRD too long
Solution: Break into more epics, focus on MVP
Problem: Architecture unclear
Solution: Use *review-architecture for completeness check
Problem: Sharding fails
Solution: Check markdownExploder setting in core-config.yaml
Best Practices
- Complete Each Step: Don't skip agents - each builds on previous work
- Use Elicitation: Engage with elicitation methods for better requirements
- Reference Previous Work: PM references project brief, Architect references PRD
- Validate Before Sharding: PO validates before sharding to catch issues early
- Keep Context: Save all planning work - development phase references it
Related Documentation