This repository contains the Enhanced BMAD Method - combining persona-based AI agents with advanced context management, persistent memory, and comprehensive testing orchestration for Claude Code.
The Enhanced BMAD Method integrates:
- Persistent Context Management - Agents maintain memory across sessions
- Comprehensive Testing Orchestration - Zero-regression development
- Agent Health Monitoring - Track performance and optimize workflows
- Dynamic Agent Creation - System creates specialized agents as needed
- Cross-Project Learning - Knowledge preserved and shared
.claude/
โโโ agents/ # Enhanced BMAD agent definitions
โโโ context/ # Persistent agent memory
โโโ test-specs/ # Testing specifications
โโโ workflows/ # Development workflows
โโโ agent-analytics/ # Performance metrics
โโโ templates/ # Reusable patterns
โโโ commands/ # Utility scripts
- bmad-orchestrator - Master orchestrator with context management, health monitoring, and dynamic agent creation
- bmad-analyst (Mary) - Business Analyst for market research and project briefs
- bmad-pm (John) - Product Manager for PRDs and user stories
- bmad-architect (Winston) - System Architect for technical design
- bmad-po (Sarah) - Product Owner for validation and alignment
- bmad-sm (Bob) - Scrum Master for detailed story creation
- bmad-dev (James) - Full Stack Developer for implementation
- bmad-qa (Quinn) - QA Architect for code review
- bmad-ux (Sally) - UX Designer for interfaces and user experience
- bmad-devops (Alex) - DevOps Engineer for infrastructure
- bmad-tech-writer (Morgan) - Technical Writer for documentation
- testing-orchestrator - Comprehensive testing coordination
- project-initializer - Set up existing projects with BMAD
# Start with workflow guidance
Use bmad-orchestrator for workflow guidance
# Or begin with research
Use bmad-analyst to research and create project brief
# Initialize BMAD + Context system
Use project-initializer to set up this codebase
- Research โ
bmad-analyst
creates project brief - Product โ
bmad-pm
creates PRD and stories - Architecture โ
bmad-architect
designs system - Validation โ
bmad-po
ensures alignment
- Stories โ
bmad-sm
creates detailed stories - Code โ
bmad-dev
implements features - Review โ
bmad-qa
ensures quality - Testing โ
testing-orchestrator
validates everything
- Infrastructure โ
bmad-devops
sets up CI/CD - Documentation โ
bmad-tech-writer
creates docs
The enhanced bmad-orchestrator supports:
*help
- Show available agents and workflows*agent [name]
- Transform into specific agent*workflow-guidance
- Get workflow recommendations*context-status
- View agent contexts and health*agent-health
- Display performance metrics*test-orchestrate
- Start comprehensive testing*init-project
- Initialize project with BMAD*create-agent [type] [name]
- Create specialized agent
Each agent maintains context files:
- Research findings (Mary)
- Product decisions (John)
- Architecture patterns (Winston)
- Code patterns (James)
- Review feedback (Quinn)
# .claude/agent-analytics/health-metrics.yaml
agent_health:
mary-analyst:
usage_frequency: 12/week
success_rate: 95%
health_status: "healthy"
- Unit Tests
- Integration Tests
- Workflow Tests (end-to-end)
- Performance Tests
- Accessibility Tests (WCAG)
- Console Error Monitoring
- Zero console errors policy
- Performance budgets enforced
- Accessibility compliance required
- Test coverage thresholds
The orchestrator monitors patterns and creates specialized agents when needed:
- Connector agents for complex integrations
- Domain specialists for new technologies
- Performance optimizers for bottlenecks
- Successful patterns saved as templates
- Knowledge preserved when agents retire
- Best practices shared across projects
For 24/7 autonomous operation:
.claude/commands/start-bmad-project.sh
.claude/commands/schedule-check-in.sh
.claude/commands/send-agent-message.sh
- Claude Code automatically detects agents in
.claude/agents/
- Each agent is a Markdown file with YAML frontmatter:
---
name: agent-name
description: Agent purpose and capabilities
tools: Read, Write, Edit, Task, TodoWrite
---
Agent system prompt...
"Add user authentication to my app"
# Orchestrator coordinates full workflow:
# Analyst โ PM โ Architect โ Dev โ QA โ Testing
"Implement user profile API"
# Goes directly to Dev (James)
"Review and test the auth system"
# QA (Quinn) + Testing Orchestrator
- Trust the Process - Let agents handle their expertise
- Review Context - Check
.claude/context/
for insights - Monitor Health - Use
*agent-health
regularly - Test Everything - Comprehensive testing prevents regressions
- Learn and Adapt - System improves with usage
- Edit files in
.claude/agents/
- Adjust prompts for your team
- Update tool access in frontmatter
- Add custom commands
- Use
*create-agent
command - Or manually create in
.claude/agents/
- Follow BMAD persona conventions
- Initialize context file
- Agent Not Found: Restart Claude Code to reload
- Commands Not Working: Use
*
prefix - Context Issues: Check
.claude/context/
- Test Failures: Review
.claude/test-reports/
- Persistent Memory - Agents remember across sessions
- Health Monitoring - Track and optimize performance
- Dynamic Creation - System creates agents as needed
- Testing Integration - Comprehensive quality assurance
- Cross-Project Learning - Knowledge preservation
Based on the BMAD Method (MIT License)