What Are Workflows?
A workflow is a multi-step, interactive process that:- Breaks complex activities (like creating a PRD) into sequential steps
- Guides conversation through proven methodologies
- Enforces order and completeness
- Tracks progress in artifact frontmatter
- Pauses for user decisions at key points
- Produces structured output documents
Workflows vs. Simple Prompts
| Simple Prompt | BMad Workflow |
|---|---|
| ”Create a PRD for my app” | Multi-step user interview process |
| Single AI response | Interactive back-and-forth across steps |
| Variable quality | Consistent methodology |
| No progress tracking | State saved in frontmatter |
| All-or-nothing | Can pause and resume |
Workflow Architecture
BMad uses a step-file architecture for disciplined execution:Core Principles
1. Micro-file Design- Each step is a self-contained instruction file
- Steps are part of an overall workflow sequence
- Must be followed exactly — no skipping or optimization
- Only the current step file is loaded into memory
- Never pre-load future steps
- Prevents context window overflow
- Steps must complete in order
- No jumping ahead or skipping
- Maintains methodology integrity
- Progress documented in output file frontmatter
stepsCompletedarray tracks which steps finished- Enables pause/resume across conversations
- Workflows build documents by appending content
- Each step adds to the artifact
- Final output is comprehensive
Workflow File Structure
How Workflows Execute
Step Processing Rules
- READ COMPLETELY — Always read the entire step file before taking action
- FOLLOW SEQUENCE — Execute all numbered sections in order
- WAIT FOR INPUT — If a menu is presented, halt and wait for user selection
- CHECK CONTINUATION — Only proceed to next step when user selects ‘Continue’
- SAVE STATE — Update
stepsCompletedin frontmatter before loading next step - LOAD NEXT — When directed, read fully and follow the next step file
Example: Create PRD Workflow
Entry Point:workflow-create-prd.md
steps/step-01-init.md
steps/step-02-user-interview.md
Result: Consistent implementation
- create-story → Prepare next story
- dev-story → Implement with tests
- code-review → Validate quality
- [Repeat for each story]
- retrospective → Review epic
- Executes every task in order
- Writes tests
- Verifies acceptance criteria
- Gathers context
- Builds mental plan
- Executes directly
- Self-check audit against tasks and AC
- Adversarial code review of diff
- Present findings for resolution
When to Use Quick Flow
✅ Good for:- Bug fixes and patches
- Refactoring existing code
- Small, well-understood features
- Prototyping and spikes
- Single-developer scope
- New products needing stakeholder alignment
- Major features spanning multiple components
- Architectural decisions (DB schema, API contracts)
- Unclear or contested requirements
Workflow Features
Advanced Elicitation
Many workflows offer advanced elicitation after generating content:Adversarial Review
Implementation workflows include adversarial review:Implementation Readiness Gate
Thecheck-implementation-readiness workflow validates alignment:
Scope Detection
Quick Flow includes scope detection guardrails:Running Workflows
Direct Command (Recommended)
- Loads appropriate agent
- Initializes workflow
- Starts at step 1
Via Agent Menu
- More conversational
- Can ask questions first
- Then trigger workflow from menu
Workflow Naming Convention
Best Practices
Use Fresh Chats
Start a new conversation for each workflow:Don’t Skip Steps
Let workflows complete their full sequence:Leverage BMad-Help
Run/bmad-help to understand what’s next:
Provide Context Files
Createproject-context.md to ensure consistency:
Creating Custom Workflows
Use BMad Builder module to create custom workflows:- Define workflow goals and phases
- Create step files with numbered sections
- Add menus and state tracking
- Configure in agent menu
- Install in project
Next Steps
- Learn about Agents — Who executes workflows
- Explore Modules — Discover workflows from other modules
- Try Party Mode — Multi-agent workflow collaboration
- Read Scale-Adaptive Planning — How BMad adjusts workflow depth
- Follow the Getting Started Tutorial — Experience workflows hands-on
