6.0 KiB
Realistic BMAD-METHOD Usage Scenarios
Scenario 1: Startup MVP Development
User: "I need to build an MVP for a food delivery app. Help me create the initial user stories and architecture."
Expected Flow:
- Routes to PM agent
- PM elicits: target audience, key features, constraints
- PM creates epic and initial stories
- User: "Now design the architecture for this"
- Routes to Architect agent (maintains PM context)
- Architect designs microservices architecture
- Both sessions remain active for iteration
Success Criteria:
- Seamless handoff between PM and Architect
- Context about food delivery domain preserved
- User can switch between agents to refine
Scenario 2: Legacy System Modernization
User: "We have a 10-year-old monolithic Java app that needs to be broken into microservices. Where do I start?"
Expected Flow:
- Routes to Architect agent
- Architect asks about current system, pain points
- Creates brownfield assessment
- User: "Create stories for the first phase"
- Routes to PM agent with architect's analysis
- PM creates migration stories
- Multiple agents collaborate on approach
Success Criteria:
- Brownfield templates used appropriately
- Technical context preserved across agents
- Phased approach clearly defined
Scenario 3: Quick Feature Addition
User: "/bmad-pm add social login to our existing auth system"
Expected Flow:
- Direct invocation of PM agent
- PM asks: which providers, current auth method
- Creates focused user story
- User: "What changes needed in architecture?"
- Architect agent reviews and suggests changes
- Quick focused interaction
Success Criteria:
- Fast response to direct command
- Minimal elicitation for simple feature
- Clear, actionable output
Scenario 4: Full Team Simulation
User: "I'm a solo developer. Can you help me work through a complete sprint planning session?"
Expected Flow:
- Routes to SM (Scrum Master) agent
- SM facilitates sprint planning
- Invokes PM for story refinement
- Invokes Dev for estimation
- Invokes QA for test planning
- Returns consolidated sprint plan
Success Criteria:
- Multiple agents coordinate naturally
- Each agent maintains their perspective
- Comprehensive sprint plan produced
Scenario 5: Technical Debt Assessment
User: "Our React app is getting slow and hard to maintain. Help me create a plan to fix it."
Expected Flow:
- Routes to Architect agent
- Architect asks about specific issues
- Creates technical debt assessment
- User: "Prioritize what to fix first"
- PM agent helps create debt stories
- QA agent suggests testing approach
Success Criteria:
- Technical analysis is thorough
- Prioritization is business-aligned
- Multiple viewpoints represented
Scenario 6: API Design Review
User: "Review this REST API design for our payment service" pastes OpenAPI spec
Expected Flow:
- Routes to Architect agent
- Architect analyzes API design
- Provides feedback on REST principles
- Suggests security improvements
- User: "Create stories for the security fixes"
- PM agent creates security stories
Success Criteria:
- File content properly analyzed
- Specific, actionable feedback
- Smooth transition to story creation
Scenario 7: Emergency Production Issue
User: "Production is down! Users can't log in. Help me troubleshoot and create a fix plan."
Expected Flow:
- Routes to Dev agent
- Dev asks diagnostic questions
- Suggests immediate fixes
- User: "Create a story for permanent fix"
- PM creates hotfix and improvement stories
- QA suggests regression tests
Success Criteria:
- Rapid response to urgency
- Practical troubleshooting steps
- Both immediate and long-term actions
Scenario 8: Multi-Platform Strategy
User: "We need to expand our web app to mobile. What's the best approach?"
Expected Flow:
- Routes to Architect agent
- Architect discusses native vs hybrid vs PWA
- Recommends approach based on requirements
- User: "Let's go with React Native. Create the initial stories."
- PM creates mobile app epic and stories
- UX Expert agent engaged for mobile patterns
Success Criteria:
- Strategic options presented clearly
- Decision factors well explained
- Coherent story breakdown
Scenario 9: Compliance Requirements
User: "We just got a new client that requires SOC 2 compliance. What do we need to do?"
Expected Flow:
- Routes to Architect agent
- Architect outlines technical requirements
- Creates compliance architecture
- PM agent creates compliance stories
- QA agent creates audit checklist
Success Criteria:
- Compliance requirements understood
- Technical and process changes identified
- Actionable implementation plan
Scenario 10: Performance Optimization
User: "Our database queries are taking 10+ seconds. Help me optimize."
Expected Flow:
- Routes to Dev agent
- Dev asks about query patterns, data volume
- Suggests indexing and query optimization
- Architect reviews for architectural issues
- Creates optimization plan
Success Criteria:
- Root cause analysis performed
- Multiple optimization strategies provided
- Clear implementation steps
Testing These Scenarios
Each scenario should be tested for:
- Correct Routing: Right agent selected initially
- Context Flow: Information preserved across agents
- Elicitation Quality: Questions are relevant and helpful
- Output Quality: Deliverables meet BMAD standards
- User Experience: Natural, conversational flow
- Session Management: Can pause, resume, switch agents
- Time to Value: Reasonable response times
Edge Cases to Test
- Ambiguous Requests: "Help me with my project"
- Multiple Valid Agents: "Design and implement a feature"
- Context Switching: Jumping between unrelated topics
- Long Conversations: 50+ message threads
- Concurrent Requests: Multiple users, same project
- Error Conditions: Invalid files, network issues
- Incomplete Information: User unsure of requirements
- Cross-Domain: Mixing technical and business concerns