bmad-method 4.23.0 → 4.24.0
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/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/bmad-core/agents/bmad-master.md +14 -1
- package/bmad-core/agents/bmad-orchestrator.md +14 -0
- package/bmad-core/core-config.yml +5 -0
- package/bmad-core/tasks/create-brownfield-story.md +355 -0
- package/bmad-core/tasks/create-next-story.md +25 -0
- package/bmad-core/tasks/create-workflow-plan.md +289 -0
- package/bmad-core/tasks/update-workflow-plan.md +248 -0
- package/bmad-core/templates/brownfield-prd-tmpl.md +52 -28
- package/bmad-core/utils/plan-management.md +223 -0
- package/bmad-core/workflows/brownfield-fullstack.yml +240 -55
- package/bmad-core/workflows/brownfield-service.yml +110 -36
- package/bmad-core/workflows/brownfield-ui.yml +110 -36
- package/bmad-core/workflows/greenfield-fullstack.yml +110 -36
- package/bmad-core/workflows/greenfield-service.yml +110 -36
- package/bmad-core/workflows/greenfield-ui.yml +110 -36
- package/common/tasks/create-doc.md +21 -1
- package/dist/agents/analyst.txt +23 -1
- package/dist/agents/architect.txt +21 -1
- package/dist/agents/bmad-master.txt +883 -30
- package/dist/agents/bmad-orchestrator.txt +806 -1
- package/dist/agents/pm.txt +73 -29
- package/dist/agents/sm.txt +25 -0
- package/dist/agents/ux-expert.txt +21 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +21 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +804 -1
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +21 -1
- package/dist/teams/team-all.txt +1675 -266
- package/dist/teams/team-fullstack.txt +1650 -266
- package/dist/teams/team-ide-minimal.txt +831 -1
- package/dist/teams/team-no-ui.txt +1079 -102
- package/package.json +1 -1
- package/tools/installer/lib/installer.js +2 -12
- package/tools/installer/package.json +1 -1
- package/tools/lib/dependency-resolver.js +2 -2
|
@@ -41,42 +41,92 @@ workflow:
|
|
|
41
41
|
condition: po_checklist_issues
|
|
42
42
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
43
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
|
+
|
|
44
125
|
- workflow_end:
|
|
45
|
-
action:
|
|
126
|
+
action: project_complete
|
|
46
127
|
notes: |
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
50
|
-
- Copy final prd.md to project's docs/prd.md
|
|
51
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
52
|
-
- All documents must be in the project before proceeding
|
|
53
|
-
|
|
54
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
55
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
56
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
57
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
58
|
-
|
|
59
|
-
3. START DEVELOPMENT CYCLE:
|
|
60
|
-
a. SM Agent (New Chat): @sm → *create
|
|
61
|
-
- Creates next story from sharded docs
|
|
62
|
-
- Review and approve story (Draft → Approved)
|
|
63
|
-
|
|
64
|
-
b. Dev Agent (New Chat): @dev
|
|
65
|
-
- Implements approved story
|
|
66
|
-
- Updates File List with all changes
|
|
67
|
-
- Marks story as "Review" when complete
|
|
68
|
-
|
|
69
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
70
|
-
- Senior dev review with refactoring ability
|
|
71
|
-
- Fixes small issues directly
|
|
72
|
-
- Leaves checklist for remaining items
|
|
73
|
-
- Updates story status (Review → Done or stays Review)
|
|
74
|
-
|
|
75
|
-
d. If QA left unchecked items:
|
|
76
|
-
- Dev Agent (New Chat): Address remaining items
|
|
77
|
-
- Return to QA for final approval
|
|
78
|
-
|
|
79
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
128
|
+
All stories implemented and reviewed!
|
|
129
|
+
Project development phase complete.
|
|
80
130
|
|
|
81
131
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
82
132
|
|
|
@@ -89,12 +139,36 @@ workflow:
|
|
|
89
139
|
D --> E[po: validate with po-master-checklist]
|
|
90
140
|
E --> F{PO finds issues?}
|
|
91
141
|
F -->|Yes| G[Return to relevant agent for fixes]
|
|
92
|
-
F -->|No| H[
|
|
142
|
+
F -->|No| H[po: shard documents]
|
|
93
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
|
|
94
162
|
|
|
95
|
-
style
|
|
163
|
+
style T fill:#90EE90
|
|
164
|
+
style H fill:#ADD8E6
|
|
165
|
+
style I fill:#ADD8E6
|
|
166
|
+
style L fill:#ADD8E6
|
|
96
167
|
style C fill:#FFE4B5
|
|
97
168
|
style D fill:#FFE4B5
|
|
169
|
+
style K fill:#F0E68C
|
|
170
|
+
style N fill:#F0E68C
|
|
171
|
+
style S fill:#F0E68C
|
|
98
172
|
```
|
|
99
173
|
|
|
100
174
|
decision_guidance:
|
|
@@ -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:
|