5.6 KiB
BMAD Method Guide for Roo Code
This guide walks you through the complete BMAD workflow using Roo Code as your AI-powered IDE.
Step 1: Install BMAD in Your Project
-
Navigate to your project directory
-
Run the BMAD installer:
npx bmad-method install -
When prompted:
- Installation Type: Choose "Complete installation (recommended)"
- IDE: Select "Roo Code"
This creates a .bmad-core folder with all agents and a .roomodes file (in the project root) with custom modes.
Step 2: Set Up Team Fullstack in Gemini
For ideation and planning, use Google's Gemini Custom Gem with the team-fullstack configuration:
- Open Google gems
- Create a new Gem - give it a title and description
- Copy the contents of
.<install location>/<web-bundles>/teams/team-fullstack.txt(location can vary if you chose a non default installation location for the bundles) - or just use the bundle premade from the repo dist folder. - Paste this content into Gemini to set up the team
Gemini Planning Phase
In Gemini, ask the BMAD team to help you:
- Ideate your project concept
- Brainstorm features and requirements
- Create a PRD (Product Requirements Document)
- Design the architecture
Ask questions like:
- "Help me brainstorm a [type of application] that does [core functionality]"
- "Create a comprehensive PRD for this concept"
- "Design the technical architecture for this system"
Copy the PRD and architecture documents that Gemini creates into your project's docs/ folder:
docs/prd.mddocs/architecture.md
Step 3: Back to Roo Code - Document Sharding
Once you have your PRD and architecture documents in the docs/ folder:
- Open your project in Roo Code
- Select the bmad-master mode from the mode selector (usually in status bar)
- Shard the PRD: Type
*shard-doc docs/prd.md prd - Shard the architecture: Type
*shard-doc docs/architecture.md architecture
This creates organized folders:
docs/prd/- Contains broken down PRD sectionsdocs/architecture/- Contains broken down architecture sections
Step 4: Story Development Cycle
Now begin the iterative development cycle:
Create Stories (Scrum Master)
- Start a new chat or conversation
- Switch to SM mode: Select
bmad-smfrom the mode selector - Create story: Type
*create(this runs the create-next-story task) - Review the generated story
- If approved: Set story status to "Approved" in the story file
Implement Stories (Developer)
- Start a new conversation
- Switch to Dev mode: Select
bmad-devfrom the mode selector - The agent will ask which story to implement
- Follow the development tasks the agent provides
- When story is complete: Mark status as "Done"
Repeat the Cycle
- Switch to SM mode (
bmad-sm) - Create next story: Type
*create - Review and approve
- Switch to Dev mode (
bmad-dev) - Implement the story
- Repeat until project complete
Available Custom Modes in Roo Code
All BMAD agents are available as custom modes:
bmad-bmad-master- 🧙 Universal task executorbmad-sm- 🏃 Scrum Master for story creationbmad-dev- 💻 Full-stack developer for implementationbmad-architect- 🏗️ Solution architect for designbmad-pm- 📋 Product manager for planningbmad-analyst- 📊 Business analyst for requirementsbmad-qa- 🧪 QA specialist for testingbmad-po- 🎯 Product owner for prioritizationbmad-ux-expert- 🎨 UX specialist for design
Roo Code-Specific Features
- Custom modes are stored in:
.roomodesfile (in the project root) - Mode switching: Use the mode selector in Roo Code's interface
- File permissions: Each agent has specific file access permissions
- Documentation agents (SM, PM, PO, Analyst): Limited to
.mdand.txtfiles - Technical agents (Dev, Architect, Master): Full file access
- QA agents: Access to test files and documentation
- UX agents: Access to design-related files
- Documentation agents (SM, PM, PO, Analyst): Limited to
- Context preservation: Modes maintain context within conversations
Key Workflow Principles
- Switch modes instead of starting new chats - Roo Code handles context better with mode switching
- Use Gemini for initial planning and ideation with the team-fullstack bundle
- Use bmad-master mode for document management (sharding, templates, etc.)
- Follow the SM → Dev mode cycle for consistent story development
- Review and approve stories before implementation begins
Tips for Success
- Use mode selector effectively: Switch modes as needed for different tasks
- Respect file permissions: Agents can only edit files they have permission for
- Use *help command: Every mode supports
*helpto see available commands - Review generated content: Always review and approve stories before marking them ready
- Maintain status updates: Keep story statuses current (Draft → Approved → InProgress → Done)
- Leverage Roo's context: Modes can maintain context across the conversation
File Permission Summary
- bmad-analyst, bmad-pm, bmad-po, bmad-sm:
.md,.txtfiles only - bmad-architect:
.md,.txt,.yml,.yaml,.jsonfiles - bmad-qa: Test files (
.test.js,.spec.ts, etc.) and.mdfiles - bmad-ux-expert:
.md,.css,.scss,.html,.jsx,.tsxfiles - bmad-dev, bmad-bmad-master, bmad-orchestrator: Full file access
This workflow ensures systematic, AI-assisted development following agile principles with clear handoffs between planning, story creation, and implementation phases.