Full BMAD cycle - review gaps, create epics, then implement in loop (requires claude-auto-agents plugin)
/plugin marketplace add hanibalsk/claude-marketplace/plugin install bmad-system@hanibalsk-marketplaceRun the complete BMAD workflow: analyze requirements, identify gaps, create epics, validate readiness, then implement all epics in an autonomous loop.
/bmad-full "implement user authentication system"
/bmad-full # Continue from existing PRD/Architecture
claude-auto-agents plugin for autonomous loop functionality/bmad-loop to implement┌─────────────────────────────────────────────────────────────┐
│ Phase 1: Analysis │
│ analyst → researcher → architect → pm (gap review) │
│ ↓ │
│ [Gaps Found?] │
│ ↙ ↘ │
│ [Yes] [No] │
│ ↓ ↓ │
│ [Research] [Continue] │
│ ↓ ↓ │
│ [Update PRD] │ │
│ └───────────┘ │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ Phase 2: Epic Creation │
│ pm → analyst → architect → tea (validation) │
│ ↓ │
│ [Create Epics & Stories] │
│ ↓ │
│ [Check Implementation Readiness] │
│ ↓ │
│ [Ready?] │
│ ↙ ↘ │
│ [No] [Yes] │
│ ↓ ↓ │
│ [Fix Gaps] [Continue] │
│ └─────────┘ │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ Phase 3: Implementation │
│ bmad-orchestrator → developer → reviewer → fixer │
│ ↓ │
│ [/bmad-loop] │
│ ↓ │
│ [Implement Each Epic] │
│ ↓ │
│ [Done] │
└─────────────────────────────────────────────────────────────┘
research/ - Domain, market, and technical researchcreate-product-brief/ - Initial product definitionprd/ - Product Requirements Documentcreate-architecture/ - System architecturecreate-ux-design/ - UX specifications (if UI)create-epics-and-stories/ - Epic and story creationcheck-implementation-readiness/ - Validation before implementation/bmad-loop - Autonomous epic implementation_bmad-output/
├── research/
│ ├── domain-research.md
│ ├── technical-research.md
│ └── gap-analysis.md
├── planning/
│ ├── product-brief.md
│ ├── prd.md
│ ├── architecture.md
│ └── ux-design.md
├── epics/
│ ├── epic-1A.md
│ ├── epic-2A.md
│ └── ...
├── stories/
│ ├── epic-1A/
│ │ ├── story-1.md
│ │ └── story-2.md
│ └── ...
└── readiness/
└── implementation-readiness-report.md
# Check current phase
/status
# View work queue
/queue list
# See gap analysis results
cat _bmad-output/research/gap-analysis.md
# Check readiness report
cat _bmad-output/readiness/implementation-readiness-report.md
# Stop at any point
/stop
Set iteration limits in work/config.yaml:
bmad_full:
max_gap_iterations: 5 # Max gap analysis cycles
max_epic_iterations: 3 # Max epic refinement cycles
require_readiness: true # Must pass readiness check
auto_implement: true # Auto-start implementation
# Start full cycle for new feature
/bmad-full "implement multi-tenant support with role-based access control"
# This will:
# 1. Research multi-tenancy patterns and RBAC best practices
# 2. Create/update PRD with tenant isolation requirements
# 3. Design architecture for tenant separation
# 4. Create epics: tenant management, user roles, permission system
# 5. Validate all requirements are covered
# 6. Implement each epic with TDD, PR, review cycle
STATUS: COMPLETE | BLOCKED | WAITING | ERROR
SUMMARY: Brief description of current phase and progress
FILES: comma-separated list of created/modified docs
NEXT: Next phase or action
BLOCKER: Reason if blocked (e.g., "Gap analysis found 3 unresolved issues")
You are the bmad-orchestrator running the full BMAD cycle. Follow these phases strictly:
Step 1.1: Document Discovery
# Find existing BMAD documents
ls -la _bmad-output/ 2>/dev/null || mkdir -p _bmad-output/{research,planning,epics,stories,readiness}
ls -la docs/*.md 2>/dev/null || true
Check for:
_bmad-output/planning/prd.md - Product Requirements_bmad-output/planning/architecture.md - Architecture_bmad-output/planning/ux-design.md - UX (if UI)Step 1.2: Gap Analysis If documents exist, analyze for gaps:
Create _bmad-output/research/gap-analysis.md with findings.
Step 1.3: Research & Fill Gaps For each gap:
Step 1.4: Phase 1 Complete Check Emit status:
STATUS: COMPLETE
SUMMARY: Phase 1 complete - analyzed docs, found N gaps, resolved M
FILES: _bmad-output/research/gap-analysis.md
NEXT: Phase 2 - Epic Creation
Step 2.1: Validate Prerequisites Ensure PRD and Architecture exist and are complete.
Step 2.2: Create Epics
Using BMAD workflow create-epics-and-stories:
_bmad-output/epics/Step 2.3: Create Stories For each epic:
_bmad-output/stories/epic-{id}/Step 2.4: Readiness Check
Run check-implementation-readiness workflow:
If NOT ready:
STATUS: BLOCKED
SUMMARY: Implementation readiness check failed
BLOCKER: [List of issues from readiness report]
NEXT: Fix gaps and re-run Phase 2
If ready:
STATUS: COMPLETE
SUMMARY: Phase 2 complete - created N epics with M stories
FILES: _bmad-output/epics/, _bmad-output/stories/
NEXT: Phase 3 - Implementation Loop
Step 3.1: Queue All Epics
Add each epic to work/queue.md:
## Pending
- [ ] **[EPIC-1A]** Implement epic 1A: {title}
- Priority: high
- Agent: bmad-orchestrator
- [ ] **[EPIC-2A]** Implement epic 2A: {title}
- Priority: high
- Agent: bmad-orchestrator
Step 3.2: Start Implementation Loop The loop will process each epic:
Step 3.3: Per-Epic Completion After each epic:
STATUS: COMPLETE
SUMMARY: Implemented epic {id}: {title}
FILES: [changed files]
NEXT: Process next epic {next_id} or "All epics complete"
Track current phase in work/current.md:
# Current Work
## Phase: [1-Analysis | 2-Epics | 3-Implementation]
## Status: [In Progress | Blocked | Complete]
## Current Task: [description]
## Iteration: [N]
If any phase fails:
work/blockers.mdWhen all phases complete:
STATUS: COMPLETE
SUMMARY: Full BMAD cycle complete - implemented N epics
FILES: [all changed files]
NEXT: All work complete. Review PRs and deployed features.