bmad-method 4.23.0 → 4.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +11 -5
- package/CHANGELOG.md +22 -1
- package/README.md +2 -2
- package/bmad-core/agents/bmad-master.md +15 -2
- package/bmad-core/agents/bmad-orchestrator.md +14 -0
- package/bmad-core/agents/dev.md +2 -2
- package/bmad-core/agents/pm.md +1 -1
- package/bmad-core/agents/po.md +1 -1
- package/bmad-core/{core-config.yml → core-config.yaml} +5 -0
- package/bmad-core/data/bmad-kb.md +4 -4
- package/bmad-core/tasks/create-brownfield-story.md +355 -0
- package/bmad-core/tasks/create-next-story.md +29 -4
- package/bmad-core/tasks/create-workflow-plan.md +289 -0
- package/bmad-core/tasks/shard-doc.md +3 -3
- package/bmad-core/tasks/update-workflow-plan.md +248 -0
- package/bmad-core/templates/architecture-tmpl.md +1 -1
- package/bmad-core/templates/brownfield-prd-tmpl.md +52 -28
- package/bmad-core/templates/fullstack-architecture-tmpl.md +3 -3
- package/bmad-core/utils/plan-management.md +223 -0
- package/bmad-core/workflows/brownfield-fullstack.yaml +297 -0
- package/bmad-core/workflows/brownfield-service.yaml +187 -0
- package/bmad-core/workflows/{brownfield-ui.yml → brownfield-ui.yaml} +110 -36
- package/bmad-core/workflows/{greenfield-fullstack.yml → greenfield-fullstack.yaml} +110 -36
- package/bmad-core/workflows/{greenfield-service.yml → greenfield-service.yaml} +110 -36
- package/bmad-core/workflows/{greenfield-ui.yml → greenfield-ui.yaml} +110 -36
- package/common/tasks/create-doc.md +21 -1
- package/docs/agentic-tools/roo-code-guide.md +1 -1
- package/docs/core-architecture.md +12 -12
- package/docs/user-guide.md +6 -6
- package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +9 -9
- package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +1 -1
- package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +1 -1
- package/expansion-packs/bmad-infrastructure-devops/README.md +3 -3
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
- package/package.json +1 -1
- package/tools/builders/web-builder.js +19 -20
- package/tools/bump-all-versions.js +2 -2
- package/tools/bump-core-version.js +1 -1
- package/tools/bump-expansion-version.js +1 -1
- package/tools/installer/README.md +1 -1
- package/tools/installer/bin/bmad.js +2 -2
- package/tools/installer/lib/config-loader.js +13 -12
- package/tools/installer/lib/file-manager.js +5 -5
- package/tools/installer/lib/ide-setup.js +14 -13
- package/tools/installer/lib/installer.js +26 -38
- package/tools/installer/package.json +1 -1
- package/tools/lib/dependency-resolver.js +9 -13
- package/tools/lib/yaml-utils.js +29 -0
- package/tools/update-expansion-version.js +3 -3
- package/tools/yaml-format.js +1 -1
- package/bmad-core/workflows/brownfield-fullstack.yml +0 -112
- package/bmad-core/workflows/brownfield-service.yml +0 -113
- package/dist/agents/analyst.txt +0 -2709
- package/dist/agents/architect.txt +0 -3903
- package/dist/agents/bmad-master.txt +0 -9173
- package/dist/agents/bmad-orchestrator.txt +0 -1257
- package/dist/agents/dev.txt +0 -298
- package/dist/agents/pm.txt +0 -2205
- package/dist/agents/po.txt +0 -1511
- package/dist/agents/qa.txt +0 -262
- package/dist/agents/sm.txt +0 -701
- package/dist/agents/ux-expert.txt +0 -1081
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2358
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1584
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -809
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -6672
- package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -1960
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2053
- package/dist/teams/team-all.txt +0 -10543
- package/dist/teams/team-fullstack.txt +0 -9731
- package/dist/teams/team-ide-minimal.txt +0 -3535
- package/dist/teams/team-no-ui.txt +0 -8619
- /package/.github/{FUNDING.yml → FUNDING.yaml} +0 -0
- /package/.github/workflows/{release.yml → release.yaml} +0 -0
- /package/bmad-core/agent-teams/{team-all.yml → team-all.yaml} +0 -0
- /package/bmad-core/agent-teams/{team-fullstack.yml → team-fullstack.yaml} +0 -0
- /package/bmad-core/agent-teams/{team-ide-minimal.yml → team-ide-minimal.yaml} +0 -0
- /package/bmad-core/agent-teams/{team-no-ui.yml → team-no-ui.yaml} +0 -0
- /package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/{phaser-2d-nodejs-game-team.yml → phaser-2d-nodejs-game-team.yaml} +0 -0
- /package/expansion-packs/bmad-2d-phaser-game-dev/{config.yml → config.yaml} +0 -0
- /package/expansion-packs/bmad-2d-phaser-game-dev/workflows/{game-dev-greenfield.yml → game-dev-greenfield.yaml} +0 -0
- /package/expansion-packs/bmad-2d-phaser-game-dev/workflows/{game-prototype.yml → game-prototype.yaml} +0 -0
- /package/expansion-packs/bmad-creator-tools/{config.yml → config.yaml} +0 -0
- /package/expansion-packs/bmad-infrastructure-devops/{config.yml → config.yaml} +0 -0
- /package/tools/installer/config/{ide-agent-config.yml → ide-agent-config.yaml} +0 -0
- /package/tools/installer/config/{install.config.yml → install.config.yaml} +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: brownfield-service
|
|
3
|
+
name: Brownfield Service/API Enhancement
|
|
4
|
+
description: >-
|
|
5
|
+
Agent workflow for enhancing existing backend services and APIs with new features,
|
|
6
|
+
modernization, or performance improvements. Handles existing system analysis and safe integration.
|
|
7
|
+
type: brownfield
|
|
8
|
+
project_types:
|
|
9
|
+
- service-modernization
|
|
10
|
+
- api-enhancement
|
|
11
|
+
- microservice-extraction
|
|
12
|
+
- performance-optimization
|
|
13
|
+
- integration-enhancement
|
|
14
|
+
|
|
15
|
+
sequence:
|
|
16
|
+
- step: service_analysis
|
|
17
|
+
agent: architect
|
|
18
|
+
action: analyze existing project and use task document-project
|
|
19
|
+
creates: multiple documents per the document-project template
|
|
20
|
+
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
|
21
|
+
|
|
22
|
+
- agent: pm
|
|
23
|
+
creates: prd.md
|
|
24
|
+
uses: brownfield-prd-tmpl
|
|
25
|
+
requires: existing_service_analysis
|
|
26
|
+
notes: "Creates comprehensive PRD focused on service enhancement with existing system analysis. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
|
|
27
|
+
|
|
28
|
+
- agent: architect
|
|
29
|
+
creates: architecture.md
|
|
30
|
+
uses: brownfield-architecture-tmpl
|
|
31
|
+
requires: prd.md
|
|
32
|
+
notes: "Creates architecture with service integration strategy and API evolution planning. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
|
|
33
|
+
|
|
34
|
+
- agent: po
|
|
35
|
+
validates: all_artifacts
|
|
36
|
+
uses: po-master-checklist
|
|
37
|
+
notes: "Validates all documents for service integration safety and API compatibility. May require updates to any document."
|
|
38
|
+
|
|
39
|
+
- agent: various
|
|
40
|
+
updates: any_flagged_documents
|
|
41
|
+
condition: po_checklist_issues
|
|
42
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
43
|
+
|
|
44
|
+
- agent: po
|
|
45
|
+
action: shard_documents
|
|
46
|
+
creates: sharded_docs
|
|
47
|
+
requires: all_artifacts_in_project
|
|
48
|
+
notes: |
|
|
49
|
+
Shard documents for IDE development:
|
|
50
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
51
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
52
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
53
|
+
|
|
54
|
+
- agent: sm
|
|
55
|
+
action: create_story
|
|
56
|
+
creates: story.md
|
|
57
|
+
requires: sharded_docs
|
|
58
|
+
repeats: for_each_epic
|
|
59
|
+
notes: |
|
|
60
|
+
Story creation cycle:
|
|
61
|
+
- SM Agent (New Chat): @sm → *create
|
|
62
|
+
- Creates next story from sharded docs
|
|
63
|
+
- Story starts in "Draft" status
|
|
64
|
+
|
|
65
|
+
- agent: analyst/pm
|
|
66
|
+
action: review_draft_story
|
|
67
|
+
updates: story.md
|
|
68
|
+
requires: story.md
|
|
69
|
+
optional: true
|
|
70
|
+
condition: user_wants_story_review
|
|
71
|
+
notes: |
|
|
72
|
+
OPTIONAL: Review and approve draft story
|
|
73
|
+
- NOTE: story-review task coming soon
|
|
74
|
+
- Review story completeness and alignment
|
|
75
|
+
- Update story status: Draft → Approved
|
|
76
|
+
|
|
77
|
+
- agent: dev
|
|
78
|
+
action: implement_story
|
|
79
|
+
creates: implementation_files
|
|
80
|
+
requires: story.md
|
|
81
|
+
notes: |
|
|
82
|
+
Dev Agent (New Chat): @dev
|
|
83
|
+
- Implements approved story
|
|
84
|
+
- Updates File List with all changes
|
|
85
|
+
- Marks story as "Review" when complete
|
|
86
|
+
|
|
87
|
+
- agent: qa
|
|
88
|
+
action: review_implementation
|
|
89
|
+
updates: implementation_files
|
|
90
|
+
requires: implementation_files
|
|
91
|
+
optional: true
|
|
92
|
+
notes: |
|
|
93
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
94
|
+
- Senior dev review with refactoring ability
|
|
95
|
+
- Fixes small issues directly
|
|
96
|
+
- Leaves checklist for remaining items
|
|
97
|
+
- Updates story status (Review → Done or stays Review)
|
|
98
|
+
|
|
99
|
+
- agent: dev
|
|
100
|
+
action: address_qa_feedback
|
|
101
|
+
updates: implementation_files
|
|
102
|
+
condition: qa_left_unchecked_items
|
|
103
|
+
notes: |
|
|
104
|
+
If QA left unchecked items:
|
|
105
|
+
- Dev Agent (New Chat): Address remaining items
|
|
106
|
+
- Return to QA for final approval
|
|
107
|
+
|
|
108
|
+
- repeat_development_cycle:
|
|
109
|
+
action: continue_for_all_stories
|
|
110
|
+
notes: |
|
|
111
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
112
|
+
Continue until all stories in PRD are complete
|
|
113
|
+
|
|
114
|
+
- agent: po
|
|
115
|
+
action: epic_retrospective
|
|
116
|
+
creates: epic-retrospective.md
|
|
117
|
+
condition: epic_complete
|
|
118
|
+
optional: true
|
|
119
|
+
notes: |
|
|
120
|
+
OPTIONAL: After epic completion
|
|
121
|
+
- NOTE: epic-retrospective task coming soon
|
|
122
|
+
- Validate epic was completed correctly
|
|
123
|
+
- Document learnings and improvements
|
|
124
|
+
|
|
125
|
+
- workflow_end:
|
|
126
|
+
action: project_complete
|
|
127
|
+
notes: |
|
|
128
|
+
All stories implemented and reviewed!
|
|
129
|
+
Project development phase complete.
|
|
130
|
+
|
|
131
|
+
Reference: data#bmad-kb:IDE Development Workflow
|
|
132
|
+
|
|
133
|
+
flow_diagram: |
|
|
134
|
+
```mermaid
|
|
135
|
+
graph TD
|
|
136
|
+
A[Start: Service Enhancement] --> B[analyst: analyze existing service]
|
|
137
|
+
B --> C[pm: prd.md]
|
|
138
|
+
C --> D[architect: architecture.md]
|
|
139
|
+
D --> E[po: validate with po-master-checklist]
|
|
140
|
+
E --> F{PO finds issues?}
|
|
141
|
+
F -->|Yes| G[Return to relevant agent for fixes]
|
|
142
|
+
F -->|No| H[po: shard documents]
|
|
143
|
+
G --> E
|
|
144
|
+
|
|
145
|
+
H --> I[sm: create story]
|
|
146
|
+
I --> J{Review draft story?}
|
|
147
|
+
J -->|Yes| K[analyst/pm: review & approve story]
|
|
148
|
+
J -->|No| L[dev: implement story]
|
|
149
|
+
K --> L
|
|
150
|
+
L --> M{QA review?}
|
|
151
|
+
M -->|Yes| N[qa: review implementation]
|
|
152
|
+
M -->|No| O{More stories?}
|
|
153
|
+
N --> P{QA found issues?}
|
|
154
|
+
P -->|Yes| Q[dev: address QA feedback]
|
|
155
|
+
P -->|No| O
|
|
156
|
+
Q --> N
|
|
157
|
+
O -->|Yes| I
|
|
158
|
+
O -->|No| R{Epic retrospective?}
|
|
159
|
+
R -->|Yes| S[po: epic retrospective]
|
|
160
|
+
R -->|No| T[Project Complete]
|
|
161
|
+
S --> T
|
|
162
|
+
|
|
163
|
+
style T fill:#90EE90
|
|
164
|
+
style H fill:#ADD8E6
|
|
165
|
+
style I fill:#ADD8E6
|
|
166
|
+
style L fill:#ADD8E6
|
|
167
|
+
style C fill:#FFE4B5
|
|
168
|
+
style D fill:#FFE4B5
|
|
169
|
+
style K fill:#F0E68C
|
|
170
|
+
style N fill:#F0E68C
|
|
171
|
+
style S fill:#F0E68C
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
decision_guidance:
|
|
175
|
+
when_to_use:
|
|
176
|
+
- Service enhancement requires coordinated stories
|
|
177
|
+
- API versioning or breaking changes needed
|
|
178
|
+
- Database schema changes required
|
|
179
|
+
- Performance or scalability improvements needed
|
|
180
|
+
- Multiple integration points affected
|
|
181
|
+
|
|
182
|
+
handoff_prompts:
|
|
183
|
+
analyst_to_pm: "Service analysis complete. Create comprehensive PRD with service integration strategy."
|
|
184
|
+
pm_to_architect: "PRD ready. Save it as docs/prd.md, then create the service architecture."
|
|
185
|
+
architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for service integration safety."
|
|
186
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
187
|
+
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -48,42 +48,92 @@ workflow:
|
|
|
48
48
|
condition: po_checklist_issues
|
|
49
49
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
50
50
|
|
|
51
|
+
- agent: po
|
|
52
|
+
action: shard_documents
|
|
53
|
+
creates: sharded_docs
|
|
54
|
+
requires: all_artifacts_in_project
|
|
55
|
+
notes: |
|
|
56
|
+
Shard documents for IDE development:
|
|
57
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
58
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
59
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
60
|
+
|
|
61
|
+
- agent: sm
|
|
62
|
+
action: create_story
|
|
63
|
+
creates: story.md
|
|
64
|
+
requires: sharded_docs
|
|
65
|
+
repeats: for_each_epic
|
|
66
|
+
notes: |
|
|
67
|
+
Story creation cycle:
|
|
68
|
+
- SM Agent (New Chat): @sm → *create
|
|
69
|
+
- Creates next story from sharded docs
|
|
70
|
+
- Story starts in "Draft" status
|
|
71
|
+
|
|
72
|
+
- agent: analyst/pm
|
|
73
|
+
action: review_draft_story
|
|
74
|
+
updates: story.md
|
|
75
|
+
requires: story.md
|
|
76
|
+
optional: true
|
|
77
|
+
condition: user_wants_story_review
|
|
78
|
+
notes: |
|
|
79
|
+
OPTIONAL: Review and approve draft story
|
|
80
|
+
- NOTE: story-review task coming soon
|
|
81
|
+
- Review story completeness and alignment
|
|
82
|
+
- Update story status: Draft → Approved
|
|
83
|
+
|
|
84
|
+
- agent: dev
|
|
85
|
+
action: implement_story
|
|
86
|
+
creates: implementation_files
|
|
87
|
+
requires: story.md
|
|
88
|
+
notes: |
|
|
89
|
+
Dev Agent (New Chat): @dev
|
|
90
|
+
- Implements approved story
|
|
91
|
+
- Updates File List with all changes
|
|
92
|
+
- Marks story as "Review" when complete
|
|
93
|
+
|
|
94
|
+
- agent: qa
|
|
95
|
+
action: review_implementation
|
|
96
|
+
updates: implementation_files
|
|
97
|
+
requires: implementation_files
|
|
98
|
+
optional: true
|
|
99
|
+
notes: |
|
|
100
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
101
|
+
- Senior dev review with refactoring ability
|
|
102
|
+
- Fixes small issues directly
|
|
103
|
+
- Leaves checklist for remaining items
|
|
104
|
+
- Updates story status (Review → Done or stays Review)
|
|
105
|
+
|
|
106
|
+
- agent: dev
|
|
107
|
+
action: address_qa_feedback
|
|
108
|
+
updates: implementation_files
|
|
109
|
+
condition: qa_left_unchecked_items
|
|
110
|
+
notes: |
|
|
111
|
+
If QA left unchecked items:
|
|
112
|
+
- Dev Agent (New Chat): Address remaining items
|
|
113
|
+
- Return to QA for final approval
|
|
114
|
+
|
|
115
|
+
- repeat_development_cycle:
|
|
116
|
+
action: continue_for_all_stories
|
|
117
|
+
notes: |
|
|
118
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
119
|
+
Continue until all stories in PRD are complete
|
|
120
|
+
|
|
121
|
+
- agent: po
|
|
122
|
+
action: epic_retrospective
|
|
123
|
+
creates: epic-retrospective.md
|
|
124
|
+
condition: epic_complete
|
|
125
|
+
optional: true
|
|
126
|
+
notes: |
|
|
127
|
+
OPTIONAL: After epic completion
|
|
128
|
+
- NOTE: epic-retrospective task coming soon
|
|
129
|
+
- Validate epic was completed correctly
|
|
130
|
+
- Document learnings and improvements
|
|
131
|
+
|
|
51
132
|
- workflow_end:
|
|
52
|
-
action:
|
|
133
|
+
action: project_complete
|
|
53
134
|
notes: |
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
57
|
-
- Copy final prd.md to project's docs/prd.md
|
|
58
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
59
|
-
- All documents must be in the project before proceeding
|
|
60
|
-
|
|
61
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
62
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
63
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
64
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
65
|
-
|
|
66
|
-
3. START DEVELOPMENT CYCLE:
|
|
67
|
-
a. SM Agent (New Chat): @sm → *create
|
|
68
|
-
- Creates next story from sharded docs
|
|
69
|
-
- Review and approve story (Draft → Approved)
|
|
70
|
-
|
|
71
|
-
b. Dev Agent (New Chat): @dev
|
|
72
|
-
- Implements approved story
|
|
73
|
-
- Updates File List with all changes
|
|
74
|
-
- Marks story as "Review" when complete
|
|
75
|
-
|
|
76
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
77
|
-
- Senior dev review with refactoring ability
|
|
78
|
-
- Fixes small issues directly
|
|
79
|
-
- Leaves checklist for remaining items
|
|
80
|
-
- Updates story status (Review → Done or stays Review)
|
|
81
|
-
|
|
82
|
-
d. If QA left unchecked items:
|
|
83
|
-
- Dev Agent (New Chat): Address remaining items
|
|
84
|
-
- Return to QA for final approval
|
|
85
|
-
|
|
86
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
135
|
+
All stories implemented and reviewed!
|
|
136
|
+
Project development phase complete.
|
|
87
137
|
|
|
88
138
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
89
139
|
|
|
@@ -97,13 +147,37 @@ workflow:
|
|
|
97
147
|
E --> F[po: validate with po-master-checklist]
|
|
98
148
|
F --> G{PO finds issues?}
|
|
99
149
|
G -->|Yes| H[Return to relevant agent for fixes]
|
|
100
|
-
G -->|No| I[
|
|
150
|
+
G -->|No| I[po: shard documents]
|
|
101
151
|
H --> F
|
|
152
|
+
|
|
153
|
+
I --> J[sm: create story]
|
|
154
|
+
J --> K{Review draft story?}
|
|
155
|
+
K -->|Yes| L[analyst/pm: review & approve story]
|
|
156
|
+
K -->|No| M[dev: implement story]
|
|
157
|
+
L --> M
|
|
158
|
+
M --> N{QA review?}
|
|
159
|
+
N -->|Yes| O[qa: review implementation]
|
|
160
|
+
N -->|No| P{More stories?}
|
|
161
|
+
O --> Q{QA found issues?}
|
|
162
|
+
Q -->|Yes| R[dev: address QA feedback]
|
|
163
|
+
Q -->|No| P
|
|
164
|
+
R --> O
|
|
165
|
+
P -->|Yes| J
|
|
166
|
+
P -->|No| S{Epic retrospective?}
|
|
167
|
+
S -->|Yes| T[po: epic retrospective]
|
|
168
|
+
S -->|No| U[Project Complete]
|
|
169
|
+
T --> U
|
|
102
170
|
|
|
103
|
-
style
|
|
171
|
+
style U fill:#90EE90
|
|
172
|
+
style I fill:#ADD8E6
|
|
173
|
+
style J fill:#ADD8E6
|
|
174
|
+
style M fill:#ADD8E6
|
|
104
175
|
style C fill:#FFE4B5
|
|
105
176
|
style D fill:#FFE4B5
|
|
106
177
|
style E fill:#FFE4B5
|
|
178
|
+
style L fill:#F0E68C
|
|
179
|
+
style O fill:#F0E68C
|
|
180
|
+
style T fill:#F0E68C
|
|
107
181
|
```
|
|
108
182
|
|
|
109
183
|
decision_guidance:
|
|
@@ -73,42 +73,92 @@ workflow:
|
|
|
73
73
|
action: guide_development_sequence
|
|
74
74
|
notes: "Based on PRD stories: If stories are frontend-heavy, start with frontend project/directory first. If backend-heavy or API-first, start with backend. For tightly coupled features, follow story sequence in monorepo setup. Reference sharded PRD epics for development order."
|
|
75
75
|
|
|
76
|
+
- agent: po
|
|
77
|
+
action: shard_documents
|
|
78
|
+
creates: sharded_docs
|
|
79
|
+
requires: all_artifacts_in_project
|
|
80
|
+
notes: |
|
|
81
|
+
Shard documents for IDE development:
|
|
82
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
83
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
84
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
85
|
+
|
|
86
|
+
- agent: sm
|
|
87
|
+
action: create_story
|
|
88
|
+
creates: story.md
|
|
89
|
+
requires: sharded_docs
|
|
90
|
+
repeats: for_each_epic
|
|
91
|
+
notes: |
|
|
92
|
+
Story creation cycle:
|
|
93
|
+
- SM Agent (New Chat): @sm → *create
|
|
94
|
+
- Creates next story from sharded docs
|
|
95
|
+
- Story starts in "Draft" status
|
|
96
|
+
|
|
97
|
+
- agent: analyst/pm
|
|
98
|
+
action: review_draft_story
|
|
99
|
+
updates: story.md
|
|
100
|
+
requires: story.md
|
|
101
|
+
optional: true
|
|
102
|
+
condition: user_wants_story_review
|
|
103
|
+
notes: |
|
|
104
|
+
OPTIONAL: Review and approve draft story
|
|
105
|
+
- NOTE: story-review task coming soon
|
|
106
|
+
- Review story completeness and alignment
|
|
107
|
+
- Update story status: Draft → Approved
|
|
108
|
+
|
|
109
|
+
- agent: dev
|
|
110
|
+
action: implement_story
|
|
111
|
+
creates: implementation_files
|
|
112
|
+
requires: story.md
|
|
113
|
+
notes: |
|
|
114
|
+
Dev Agent (New Chat): @dev
|
|
115
|
+
- Implements approved story
|
|
116
|
+
- Updates File List with all changes
|
|
117
|
+
- Marks story as "Review" when complete
|
|
118
|
+
|
|
119
|
+
- agent: qa
|
|
120
|
+
action: review_implementation
|
|
121
|
+
updates: implementation_files
|
|
122
|
+
requires: implementation_files
|
|
123
|
+
optional: true
|
|
124
|
+
notes: |
|
|
125
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
126
|
+
- Senior dev review with refactoring ability
|
|
127
|
+
- Fixes small issues directly
|
|
128
|
+
- Leaves checklist for remaining items
|
|
129
|
+
- Updates story status (Review → Done or stays Review)
|
|
130
|
+
|
|
131
|
+
- agent: dev
|
|
132
|
+
action: address_qa_feedback
|
|
133
|
+
updates: implementation_files
|
|
134
|
+
condition: qa_left_unchecked_items
|
|
135
|
+
notes: |
|
|
136
|
+
If QA left unchecked items:
|
|
137
|
+
- Dev Agent (New Chat): Address remaining items
|
|
138
|
+
- Return to QA for final approval
|
|
139
|
+
|
|
140
|
+
- repeat_development_cycle:
|
|
141
|
+
action: continue_for_all_stories
|
|
142
|
+
notes: |
|
|
143
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
144
|
+
Continue until all stories in PRD are complete
|
|
145
|
+
|
|
146
|
+
- agent: po
|
|
147
|
+
action: epic_retrospective
|
|
148
|
+
creates: epic-retrospective.md
|
|
149
|
+
condition: epic_complete
|
|
150
|
+
optional: true
|
|
151
|
+
notes: |
|
|
152
|
+
OPTIONAL: After epic completion
|
|
153
|
+
- NOTE: epic-retrospective task coming soon
|
|
154
|
+
- Validate epic was completed correctly
|
|
155
|
+
- Document learnings and improvements
|
|
156
|
+
|
|
76
157
|
- workflow_end:
|
|
77
|
-
action:
|
|
158
|
+
action: project_complete
|
|
78
159
|
notes: |
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
82
|
-
- Copy final prd.md to project's docs/prd.md
|
|
83
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
84
|
-
- All documents must be in the project before proceeding
|
|
85
|
-
|
|
86
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
87
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
88
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
89
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
90
|
-
|
|
91
|
-
3. START DEVELOPMENT CYCLE:
|
|
92
|
-
a. SM Agent (New Chat): @sm → *create
|
|
93
|
-
- Creates next story from sharded docs
|
|
94
|
-
- Review and approve story (Draft → Approved)
|
|
95
|
-
|
|
96
|
-
b. Dev Agent (New Chat): @dev
|
|
97
|
-
- Implements approved story
|
|
98
|
-
- Updates File List with all changes
|
|
99
|
-
- Marks story as "Review" when complete
|
|
100
|
-
|
|
101
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
102
|
-
- Senior dev review with refactoring ability
|
|
103
|
-
- Fixes small issues directly
|
|
104
|
-
- Leaves checklist for remaining items
|
|
105
|
-
- Updates story status (Review → Done or stays Review)
|
|
106
|
-
|
|
107
|
-
d. If QA left unchecked items:
|
|
108
|
-
- Dev Agent (New Chat): Address remaining items
|
|
109
|
-
- Return to QA for final approval
|
|
110
|
-
|
|
111
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
160
|
+
All stories implemented and reviewed!
|
|
161
|
+
Project development phase complete.
|
|
112
162
|
|
|
113
163
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
114
164
|
|
|
@@ -129,21 +179,45 @@ workflow:
|
|
|
129
179
|
G --> H
|
|
130
180
|
H --> I{PO finds issues?}
|
|
131
181
|
I -->|Yes| J[Return to relevant agent for fixes]
|
|
132
|
-
I -->|No| K[
|
|
182
|
+
I -->|No| K[po: shard documents]
|
|
133
183
|
J --> H
|
|
184
|
+
|
|
185
|
+
K --> L[sm: create story]
|
|
186
|
+
L --> M{Review draft story?}
|
|
187
|
+
M -->|Yes| N[analyst/pm: review & approve story]
|
|
188
|
+
M -->|No| O[dev: implement story]
|
|
189
|
+
N --> O
|
|
190
|
+
O --> P{QA review?}
|
|
191
|
+
P -->|Yes| Q[qa: review implementation]
|
|
192
|
+
P -->|No| R{More stories?}
|
|
193
|
+
Q --> S{QA found issues?}
|
|
194
|
+
S -->|Yes| T[dev: address QA feedback]
|
|
195
|
+
S -->|No| R
|
|
196
|
+
T --> Q
|
|
197
|
+
R -->|Yes| L
|
|
198
|
+
R -->|No| U{Epic retrospective?}
|
|
199
|
+
U -->|Yes| V[po: epic retrospective]
|
|
200
|
+
U -->|No| W[Project Complete]
|
|
201
|
+
V --> W
|
|
134
202
|
|
|
135
203
|
B -.-> B1[Optional: brainstorming]
|
|
136
204
|
B -.-> B2[Optional: market research]
|
|
137
205
|
D -.-> D1[Optional: user research]
|
|
138
206
|
E -.-> E1[Optional: technical research]
|
|
139
207
|
|
|
140
|
-
style
|
|
208
|
+
style W fill:#90EE90
|
|
209
|
+
style K fill:#ADD8E6
|
|
210
|
+
style L fill:#ADD8E6
|
|
211
|
+
style O fill:#ADD8E6
|
|
141
212
|
style D3 fill:#E6E6FA
|
|
142
213
|
style D4 fill:#E6E6FA
|
|
143
214
|
style B fill:#FFE4B5
|
|
144
215
|
style C fill:#FFE4B5
|
|
145
216
|
style D fill:#FFE4B5
|
|
146
217
|
style E fill:#FFE4B5
|
|
218
|
+
style N fill:#F0E68C
|
|
219
|
+
style Q fill:#F0E68C
|
|
220
|
+
style V fill:#F0E68C
|
|
147
221
|
```
|
|
148
222
|
|
|
149
223
|
decision_guidance:
|
|
@@ -49,42 +49,92 @@ workflow:
|
|
|
49
49
|
condition: po_checklist_issues
|
|
50
50
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
51
51
|
|
|
52
|
+
- agent: po
|
|
53
|
+
action: shard_documents
|
|
54
|
+
creates: sharded_docs
|
|
55
|
+
requires: all_artifacts_in_project
|
|
56
|
+
notes: |
|
|
57
|
+
Shard documents for IDE development:
|
|
58
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
59
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
60
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
61
|
+
|
|
62
|
+
- agent: sm
|
|
63
|
+
action: create_story
|
|
64
|
+
creates: story.md
|
|
65
|
+
requires: sharded_docs
|
|
66
|
+
repeats: for_each_epic
|
|
67
|
+
notes: |
|
|
68
|
+
Story creation cycle:
|
|
69
|
+
- SM Agent (New Chat): @sm → *create
|
|
70
|
+
- Creates next story from sharded docs
|
|
71
|
+
- Story starts in "Draft" status
|
|
72
|
+
|
|
73
|
+
- agent: analyst/pm
|
|
74
|
+
action: review_draft_story
|
|
75
|
+
updates: story.md
|
|
76
|
+
requires: story.md
|
|
77
|
+
optional: true
|
|
78
|
+
condition: user_wants_story_review
|
|
79
|
+
notes: |
|
|
80
|
+
OPTIONAL: Review and approve draft story
|
|
81
|
+
- NOTE: story-review task coming soon
|
|
82
|
+
- Review story completeness and alignment
|
|
83
|
+
- Update story status: Draft → Approved
|
|
84
|
+
|
|
85
|
+
- agent: dev
|
|
86
|
+
action: implement_story
|
|
87
|
+
creates: implementation_files
|
|
88
|
+
requires: story.md
|
|
89
|
+
notes: |
|
|
90
|
+
Dev Agent (New Chat): @dev
|
|
91
|
+
- Implements approved story
|
|
92
|
+
- Updates File List with all changes
|
|
93
|
+
- Marks story as "Review" when complete
|
|
94
|
+
|
|
95
|
+
- agent: qa
|
|
96
|
+
action: review_implementation
|
|
97
|
+
updates: implementation_files
|
|
98
|
+
requires: implementation_files
|
|
99
|
+
optional: true
|
|
100
|
+
notes: |
|
|
101
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
102
|
+
- Senior dev review with refactoring ability
|
|
103
|
+
- Fixes small issues directly
|
|
104
|
+
- Leaves checklist for remaining items
|
|
105
|
+
- Updates story status (Review → Done or stays Review)
|
|
106
|
+
|
|
107
|
+
- agent: dev
|
|
108
|
+
action: address_qa_feedback
|
|
109
|
+
updates: implementation_files
|
|
110
|
+
condition: qa_left_unchecked_items
|
|
111
|
+
notes: |
|
|
112
|
+
If QA left unchecked items:
|
|
113
|
+
- Dev Agent (New Chat): Address remaining items
|
|
114
|
+
- Return to QA for final approval
|
|
115
|
+
|
|
116
|
+
- repeat_development_cycle:
|
|
117
|
+
action: continue_for_all_stories
|
|
118
|
+
notes: |
|
|
119
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
120
|
+
Continue until all stories in PRD are complete
|
|
121
|
+
|
|
122
|
+
- agent: po
|
|
123
|
+
action: epic_retrospective
|
|
124
|
+
creates: epic-retrospective.md
|
|
125
|
+
condition: epic_complete
|
|
126
|
+
optional: true
|
|
127
|
+
notes: |
|
|
128
|
+
OPTIONAL: After epic completion
|
|
129
|
+
- NOTE: epic-retrospective task coming soon
|
|
130
|
+
- Validate epic was completed correctly
|
|
131
|
+
- Document learnings and improvements
|
|
132
|
+
|
|
52
133
|
- workflow_end:
|
|
53
|
-
action:
|
|
134
|
+
action: project_complete
|
|
54
135
|
notes: |
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
58
|
-
- Copy final prd.md to project's docs/prd.md
|
|
59
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
60
|
-
- All documents must be in the project before proceeding
|
|
61
|
-
|
|
62
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
63
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
64
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
65
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
66
|
-
|
|
67
|
-
3. START DEVELOPMENT CYCLE:
|
|
68
|
-
a. SM Agent (New Chat): @sm → *create
|
|
69
|
-
- Creates next story from sharded docs
|
|
70
|
-
- Review and approve story (Draft → Approved)
|
|
71
|
-
|
|
72
|
-
b. Dev Agent (New Chat): @dev
|
|
73
|
-
- Implements approved story
|
|
74
|
-
- Updates File List with all changes
|
|
75
|
-
- Marks story as "Review" when complete
|
|
76
|
-
|
|
77
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
78
|
-
- Senior dev review with refactoring ability
|
|
79
|
-
- Fixes small issues directly
|
|
80
|
-
- Leaves checklist for remaining items
|
|
81
|
-
- Updates story status (Review → Done or stays Review)
|
|
82
|
-
|
|
83
|
-
d. If QA left unchecked items:
|
|
84
|
-
- Dev Agent (New Chat): Address remaining items
|
|
85
|
-
- Return to QA for final approval
|
|
86
|
-
|
|
87
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
136
|
+
All stories implemented and reviewed!
|
|
137
|
+
Service development phase complete.
|
|
88
138
|
|
|
89
139
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
90
140
|
|
|
@@ -100,17 +150,41 @@ workflow:
|
|
|
100
150
|
F --> G
|
|
101
151
|
G --> H{PO finds issues?}
|
|
102
152
|
H -->|Yes| I[Return to relevant agent for fixes]
|
|
103
|
-
H -->|No| J[
|
|
153
|
+
H -->|No| J[po: shard documents]
|
|
104
154
|
I --> G
|
|
155
|
+
|
|
156
|
+
J --> K[sm: create story]
|
|
157
|
+
K --> L{Review draft story?}
|
|
158
|
+
L -->|Yes| M[analyst/pm: review & approve story]
|
|
159
|
+
L -->|No| N[dev: implement story]
|
|
160
|
+
M --> N
|
|
161
|
+
N --> O{QA review?}
|
|
162
|
+
O -->|Yes| P[qa: review implementation]
|
|
163
|
+
O -->|No| Q{More stories?}
|
|
164
|
+
P --> R{QA found issues?}
|
|
165
|
+
R -->|Yes| S[dev: address QA feedback]
|
|
166
|
+
R -->|No| Q
|
|
167
|
+
S --> P
|
|
168
|
+
Q -->|Yes| K
|
|
169
|
+
Q -->|No| T{Epic retrospective?}
|
|
170
|
+
T -->|Yes| U[po: epic retrospective]
|
|
171
|
+
T -->|No| V[Project Complete]
|
|
172
|
+
U --> V
|
|
105
173
|
|
|
106
174
|
B -.-> B1[Optional: brainstorming]
|
|
107
175
|
B -.-> B2[Optional: market research]
|
|
108
176
|
D -.-> D1[Optional: technical research]
|
|
109
177
|
|
|
110
|
-
style
|
|
178
|
+
style V fill:#90EE90
|
|
179
|
+
style J fill:#ADD8E6
|
|
180
|
+
style K fill:#ADD8E6
|
|
181
|
+
style N fill:#ADD8E6
|
|
111
182
|
style B fill:#FFE4B5
|
|
112
183
|
style C fill:#FFE4B5
|
|
113
184
|
style D fill:#FFE4B5
|
|
185
|
+
style M fill:#F0E68C
|
|
186
|
+
style P fill:#F0E68C
|
|
187
|
+
style U fill:#F0E68C
|
|
114
188
|
```
|
|
115
189
|
|
|
116
190
|
decision_guidance:
|