- Add 6 specialized quality assessment commands - Implement risk-based testing with scoring - Create quality gate system with deterministic decisions - Add comprehensive test design and NFR validation - Update documentation with stage-based workflow integration
3.6 KiB
3.6 KiB
Enhanced Development Workflow
This is a simple step-by-step guide to help you efficiently manage your development workflow using the BMad Method. Refer to the User Guide for any scenario that is not covered here.
Create new Branch
- Start new branch
Story Creation (Scrum Master)
- Start new chat/conversation
- Load SM agent
- Execute:
*draft(runs create-next-story task) - Review generated story in
docs/stories/ - Update status: Change from "Draft" to "Approved"
Story Implementation (Developer)
- Start new chat/conversation
- Load Dev agent
- Execute:
*develop-story {selected-story}(runs execute-checklist task) - Review generated report in
{selected-story}
Test Architect Integration Throughout Workflow
Stage 1: After Story Creation (Before Dev Starts)
Optional but Valuable - Set Dev Up for Success:
# Design test strategy for developer
@qa *design {approved-story}
# Output: docs/qa/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
# Why: Gives Dev clear test requirements upfront
# Identify risks to watch for
@qa *risk {approved-story}
# Output: docs/qa/assessments/{epic}.{story}-risk-{YYYYMMDD}.md
# Why: Helps Dev avoid critical issues and focus on risk areas
Stage 2: During Development (Optional Checkpoints)
Dev Can Self-Check Progress:
# Validate NFRs mid-implementation
@qa *nfr {story-in-progress}
# Output: docs/qa/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
# Why: Catch performance/security issues early
# Verify test coverage while developing
@qa *trace {story-in-progress}
# Output: docs/qa/assessments/{epic}.{story}-trace-{YYYYMMDD}.md
# Why: Ensure you're writing the right tests
Stage 3: Story Review (Required)
Standard Review Flow:
- Start new chat/conversation
- Load QA agent (Test Architect - Quinn)
- Execute:
@qa *review {selected-story} - Review outputs:
- QA Results section added to story file
- Quality gate file in
docs/qa/gates/{epic}.{story}-{slug}.yml
If Issues Found:
# After fixes, update gate status
@qa *gate {reviewed-story}
# Output: Updates docs/qa/gates/{epic}.{story}-{slug}.yml
Special Situations
High-Risk Stories or Brownfield:
- Always run
*riskand*designbefore development - Extra focus on regression testing
Complex Integrations:
- Run
*traceto ensure all integration points tested - Consider
*nfrfor performance validation
Performance-Critical Features:
- Run
*nfrduring development, not just at review - Set performance baselines early
Understanding Gate Decisions
- PASS: Ready for production, all quality criteria met
- CONCERNS: Non-critical issues to review with team
- FAIL: Critical issues must be fixed (security, missing tests)
- WAIVED: Known issues accepted by team with documentation
What Quinn Does During Review
- Analyzes code quality and architecture patterns
- Actively refactors code when safe to do so
- Validates test coverage at appropriate levels
- Identifies risks (security, performance, data)
- Checks NFRs against standards
- Creates quality gate with clear decision criteria
- Documents everything for audit trail
Commit Changes and Push
- Commit changes
- Push to remote
Repeat Until Complete
- SM: Create next story → Review → Approve
- Dev: Implement story → Complete → Mark Ready for Review
- QA: Review story → Mark done
- Commit: All changes
- Push: To remote
- Continue: Until all features implemented