This project uses BMAD (BMM - Business Model Methodology) for proper story development. Instead of ad-hoc implementation, BMAD provides:
- Sprint tracking via
sprint-status.yaml - Story files with acceptance criteria and dev notes
- Automated workflow for each story
- Built-in code review and fix workflow
- Status tracking across sprint progress
# Initialize sprint and create sprint-status.yaml
/sprint-planning
# This creates: docs/implementation-artifacts/sprint-status.yaml
# Which tracks all stories and their current status# Develop next ready story using BMAD dev-story workflow
/dev-story
# This workflow:
# 1. Finds next "ready-for-dev" story from sprint-status.yaml
# 2. Loads story file with acceptance criteria
# 3. Loads project-context.md for coding standards
# 4. Marks story as "in-progress"
# 5. Guides implementation task-by-task
# 6. Runs code review (adversarial)
# 7. Tracks fixes for issues
# 8. Marks story complete when all ACs satisfied
# 9. Updates sprint-status.yaml# View overall sprint progress anytime
/sprint-status
# Shows:
# - All epics and their stories
# - Current status of each story (ready-for-dev, in-progress, complete)
# - Progress metrics
# - Next story to work onAgentVibes/
├── docs/
│ ├── prd.md # Product Requirements
│ ├── epics.md # All epics and stories defined
│ ├── implementation-artifacts/ # Sprint artifacts (created by /sprint-planning)
│ │ └── sprint-status.yaml # Sprint tracking (CREATED by workflow)
│ └── ...
├── _bmad/
│ ├── bmm/
│ │ ├── config.yaml # BMAD configuration
│ │ └── workflows/
│ │ └── 4-implementation/
│ │ ├── dev-story/ # Story implementation workflow
│ │ └── sprint-planning/ # Sprint initialization workflow
│ └── core/
│ └── tasks/
│ └── workflow.xml # BMAD execution engine (read-only)
└── ...
When you run /dev-story, here's what happens:
- Reads
sprint-status.yaml - Finds first story with
status: ready-for-dev - Extracts story details (ID, title, acceptance criteria)
- Reads project-context.md (coding standards)
- Loads story file with acceptance criteria
- Extracts Dev Notes (previous learnings, architecture guidance)
- Detects if story has "Senior Developer Review" section
- If yes: Resume with pending review items
- If no: Start fresh implementation
- Updates sprint-status.yaml:
ready-for-dev→in-progress
For each task in the story's Tasks/Subtasks:
- Write code
- Write tests
- Validate against acceptance criteria
- Check against project-context.md
- Adversarial code review (built-in)
- Fix HIGH and MEDIUM severity issues
- Mark task complete ✓
- Verify all acceptance criteria satisfied
- Update story status in sprint-status.yaml:
in-progress→complete - Prepare for next story
development_status:
# Story keys use format: "epic-number-story-number-name"
4-1-path-validation:
status: ready-for-dev # Ready to start development
# or
status: in-progress # Currently being developed
# or
status: complete # All acceptance criteria satisfiedThe workflow automatically uses project-context.md (if exists) which contains:
- Coding standards
- Security requirements from CLAUDE.md
- Architecture patterns
- Testing requirements
- Performance benchmarks
This ensures code consistency across all stories.
At each step, the workflow verifies:
-
Code Quality
- Follows project patterns
- Matches CLAUDE.md requirements
- Security hotspots addressed
-
Test Coverage
- All functions have tests
- Edge cases covered
- Performance benchmarks met
-
Acceptance Criteria
- All ACs implemented
- Story file updated
-
Code Review
- Adversarial review for issues
- AUTO-FIX: HIGH and MEDIUM severity
- Document DONE by workflow
Sprint 3: Epic 4 - Custom Background Music
Stories (in order):
- 4.1: Path Validation - COMPLETE ✓
- 4.2: Audio Format Detection - COMPLETE ✓
- 4.3: File Ownership Verification - COMPLETE ✓
- 4.4: File Copy and Secure Storage - COMPLETE ✓
- 4.5: Music File Input and Selection - READY
- 4.6: Post-Install Music Config - READY
- 4.7: TTS Integration - READY
- 4.8: Security Testing - READY
-
Run Sprint Planning:
/sprint-planning
This initializes
sprint-status.yamland marks stories ready-for-dev -
For Each Story, Run:
/dev-story
Workflow handles everything: implementation, review, fixes, status updates
-
Check Progress Anytime:
/sprint-status
| Aspect | Manual | BMAD |
|---|---|---|
| Story tracking | Manual list | Automated sprint-status.yaml |
| Code review | Run separately | Built into dev-story |
| Issue fixing | Manual finding | Auto-detect & auto-fix HIGH/MED |
| Status updates | Manual commits | Automatic via workflow |
| Context loading | Must remember | Auto-loaded from story file |
| Testing | Manual reminder | Built-in validation |
| Progress visibility | Hidden in commits | Visible in sprint-status |
From _bmad/core/tasks/workflow.xml:
- ✅ Execute ALL steps in exact order - No skipping
- ✅ Never skip steps - Even if seeming redundant
- ✅ Save to file after EVERY template-output - Preserve progress
- ✅ WAIT for user confirmation - Unless in YOLO mode
- ✅ Update status files - Keep sprint-status.yaml current
🚀 Starting BMAD Story Development
Step 1: Finding next story...
✓ Found story: 4-5-music-file-input-selection
✓ Status: ready-for-dev
Step 2: Loading context...
✓ Loaded story file: stories/4-5-music-file-input-selection.md
✓ Loaded project-context.md
✓ Found 5 tasks/subtasks
Step 3: Check for review continuation...
ℹ Fresh start (no previous review)
Step 4: Mark in-progress...
✓ Updated sprint-status.yaml
✓ Story 4-5 now: in-progress
Step 5a: Implementing task 1...
📝 Write code: music-file-input.js
✅ Tests: 12 passing
✅ Validation: AC satisfied
✅ Code review: 2 issues found
🔧 Auto-fixed: 2 HIGH severity issues
✓ Task 1 complete
Step 5b-e: Implementing tasks 2-5...
(repeat for each task)
Step 6: Complete story...
✓ All ACs verified
✓ All tests passing
✓ Updated sprint-status.yaml: in-progress → complete
✓ Story 4-5 COMPLETE!
Ready for next story: 4-6-post-install-config
If you want faster development without confirmations:
/dev-story #yoloThis skips all intermediate confirmations but still:
- Runs tests
- Does code review
- Auto-fixes issues
- Updates status files
Use YOLO when:
- You're confident in the implementation
- You want rapid iteration
- You've done multiple similar stories
| File | Purpose | Created By |
|---|---|---|
docs/implementation-artifacts/sprint-status.yaml |
Sprint tracking | /sprint-planning |
docs/stories/*.md |
Individual story files | /create-story |
project-context.md |
Coding standards | Project setup |
_bmad/bmm/config.yaml |
BMAD configuration | Read-only |
_bmad/core/tasks/workflow.xml |
Workflow engine | Read-only |
Ready to use BMAD properly? Start with /sprint-planning ✨