siesa-agents 2.1.1 → 2.1.3

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.
Files changed (145) hide show
  1. package/README.md +83 -83
  2. package/bin/install.js +400 -399
  3. package/bin/prepare-publish.js +26 -26
  4. package/bin/restore-folders.js +26 -26
  5. package/bmad-core/agent-teams/team-all.yaml +15 -15
  6. package/bmad-core/agent-teams/team-fullstack.yaml +19 -19
  7. package/bmad-core/agent-teams/team-ide-minimal.yaml +11 -11
  8. package/bmad-core/agent-teams/team-no-ui.yaml +14 -14
  9. package/bmad-core/agents/analyst.md +84 -84
  10. package/bmad-core/agents/architect.md +94 -94
  11. package/bmad-core/agents/backend-agent.md +189 -189
  12. package/bmad-core/agents/bmad-master.md +110 -110
  13. package/bmad-core/agents/bmad-orchestrator.md +147 -147
  14. package/bmad-core/agents/dev.md +81 -81
  15. package/bmad-core/agents/frontend-agent.md +168 -168
  16. package/bmad-core/agents/pm.md +84 -84
  17. package/bmad-core/agents/po.md +79 -79
  18. package/bmad-core/agents/qa.md +91 -91
  19. package/bmad-core/agents/sm.md +65 -65
  20. package/bmad-core/agents/ux-expert.md +69 -69
  21. package/bmad-core/checklists/architect-checklist.md +440 -440
  22. package/bmad-core/checklists/backend-checklist.md +142 -142
  23. package/bmad-core/checklists/change-checklist.md +184 -184
  24. package/bmad-core/checklists/frontend-checklist.md +105 -105
  25. package/bmad-core/checklists/pm-checklist.md +372 -372
  26. package/bmad-core/checklists/po-master-checklist.md +434 -434
  27. package/bmad-core/checklists/story-dod-checklist.md +96 -96
  28. package/bmad-core/checklists/story-draft-checklist.md +155 -155
  29. package/bmad-core/core-config.yaml +22 -22
  30. package/bmad-core/data/backend-standards.md +439 -439
  31. package/bmad-core/data/bmad-kb.md +809 -809
  32. package/bmad-core/data/brainstorming-techniques.md +38 -38
  33. package/bmad-core/data/elicitation-methods.md +156 -156
  34. package/bmad-core/data/frontend-standards.md +323 -323
  35. package/bmad-core/data/technical-preferences.md +5 -5
  36. package/bmad-core/data/test-levels-framework.md +148 -148
  37. package/bmad-core/data/test-priorities-matrix.md +174 -174
  38. package/bmad-core/enhanced-ide-development-workflow.md +248 -248
  39. package/bmad-core/install-manifest.yaml +230 -230
  40. package/bmad-core/tasks/advanced-elicitation.md +119 -119
  41. package/bmad-core/tasks/apply-qa-fixes.md +150 -150
  42. package/bmad-core/tasks/brownfield-create-epic.md +162 -162
  43. package/bmad-core/tasks/brownfield-create-story.md +149 -149
  44. package/bmad-core/tasks/correct-course.md +72 -72
  45. package/bmad-core/tasks/create-brownfield-story.md +314 -314
  46. package/bmad-core/tasks/create-component.md +102 -102
  47. package/bmad-core/tasks/create-deep-research-prompt.md +280 -280
  48. package/bmad-core/tasks/create-doc.md +103 -103
  49. package/bmad-core/tasks/create-entity.md +132 -132
  50. package/bmad-core/tasks/create-feature.md +90 -90
  51. package/bmad-core/tasks/create-next-story.md +114 -114
  52. package/bmad-core/tasks/create-service.md +117 -117
  53. package/bmad-core/tasks/create-use-case.md +140 -140
  54. package/bmad-core/tasks/document-project.md +345 -345
  55. package/bmad-core/tasks/execute-checklist.md +88 -88
  56. package/bmad-core/tasks/facilitate-brainstorming-session.md +138 -138
  57. package/bmad-core/tasks/generate-ai-frontend-prompt.md +53 -53
  58. package/bmad-core/tasks/index-docs.md +175 -175
  59. package/bmad-core/tasks/kb-mode-interaction.md +77 -77
  60. package/bmad-core/tasks/nfr-assess.md +345 -345
  61. package/bmad-core/tasks/qa-gate.md +163 -163
  62. package/bmad-core/tasks/review-story.md +316 -316
  63. package/bmad-core/tasks/risk-profile.md +355 -355
  64. package/bmad-core/tasks/scaffold-backend.md +110 -110
  65. package/bmad-core/tasks/scaffold-frontend.md +78 -78
  66. package/bmad-core/tasks/shard-doc.md +187 -187
  67. package/bmad-core/tasks/test-design.md +176 -176
  68. package/bmad-core/tasks/trace-requirements.md +266 -266
  69. package/bmad-core/tasks/validate-next-story.md +136 -136
  70. package/bmad-core/templates/architecture-tmpl.yaml +662 -662
  71. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -156
  72. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +477 -477
  73. package/bmad-core/templates/brownfield-prd-tmpl.yaml +281 -281
  74. package/bmad-core/templates/competitor-analysis-tmpl.yaml +307 -307
  75. package/bmad-core/templates/front-end-architecture-tmpl.yaml +258 -258
  76. package/bmad-core/templates/front-end-spec-tmpl.yaml +350 -350
  77. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +824 -824
  78. package/bmad-core/templates/market-research-tmpl.yaml +253 -253
  79. package/bmad-core/templates/prd-tmpl.yaml +203 -203
  80. package/bmad-core/templates/project-brief-tmpl.yaml +222 -222
  81. package/bmad-core/templates/qa-gate-tmpl.yaml +103 -103
  82. package/bmad-core/templates/story-tmpl.yaml +138 -138
  83. package/bmad-core/user-guide.md +530 -530
  84. package/bmad-core/utils/bmad-doc-template.md +327 -327
  85. package/bmad-core/utils/workflow-management.md +71 -71
  86. package/bmad-core/workflows/brownfield-fullstack.yaml +298 -298
  87. package/bmad-core/workflows/brownfield-service.yaml +188 -188
  88. package/bmad-core/workflows/brownfield-ui.yaml +198 -198
  89. package/bmad-core/workflows/greenfield-fullstack.yaml +241 -241
  90. package/bmad-core/workflows/greenfield-service.yaml +207 -207
  91. package/bmad-core/workflows/greenfield-ui.yaml +236 -236
  92. package/bmad-core/working-in-the-brownfield.md +606 -606
  93. package/claude/commands/BMad/agents/analyst.md +88 -0
  94. package/claude/commands/BMad/agents/architect.md +89 -0
  95. package/claude/commands/BMad/agents/backend.md +188 -0
  96. package/claude/commands/BMad/agents/bmad-master.md +114 -0
  97. package/claude/commands/BMad/agents/bmad-orchestrator.md +151 -0
  98. package/claude/commands/BMad/agents/dev.md +85 -0
  99. package/claude/commands/BMad/agents/frontend.md +151 -0
  100. package/claude/commands/BMad/agents/pm.md +88 -0
  101. package/claude/commands/BMad/agents/po.md +83 -0
  102. package/claude/commands/BMad/agents/qa.md +95 -0
  103. package/claude/commands/BMad/agents/sm.md +69 -0
  104. package/claude/commands/BMad/agents/ux-expert.md +73 -0
  105. package/claude/commands/BMad/tasks/advanced-elicitation.md +123 -0
  106. package/claude/commands/BMad/tasks/apply-qa-fixes.md +154 -0
  107. package/claude/commands/BMad/tasks/brownfield-create-epic.md +166 -0
  108. package/claude/commands/BMad/tasks/brownfield-create-story.md +153 -0
  109. package/claude/commands/BMad/tasks/correct-course.md +76 -0
  110. package/claude/commands/BMad/tasks/create-brownfield-story.md +318 -0
  111. package/claude/commands/BMad/tasks/create-deep-research-prompt.md +284 -0
  112. package/claude/commands/BMad/tasks/create-doc.md +107 -0
  113. package/claude/commands/BMad/tasks/create-next-story.md +118 -0
  114. package/claude/commands/BMad/tasks/document-project.md +349 -0
  115. package/claude/commands/BMad/tasks/execute-checklist.md +92 -0
  116. package/claude/commands/BMad/tasks/facilitate-brainstorming-session.md +142 -0
  117. package/claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +57 -0
  118. package/claude/commands/BMad/tasks/index-docs.md +179 -0
  119. package/claude/commands/BMad/tasks/kb-mode-interaction.md +81 -0
  120. package/claude/commands/BMad/tasks/nfr-assess.md +349 -0
  121. package/claude/commands/BMad/tasks/qa-gate.md +167 -0
  122. package/claude/commands/BMad/tasks/review-story.md +320 -0
  123. package/claude/commands/BMad/tasks/risk-profile.md +359 -0
  124. package/claude/commands/BMad/tasks/shard-doc.md +191 -0
  125. package/claude/commands/BMad/tasks/test-design.md +180 -0
  126. package/claude/commands/BMad/tasks/trace-requirements.md +270 -0
  127. package/claude/commands/BMad/tasks/validate-next-story.md +140 -0
  128. package/claude/settings.local.json +20 -0
  129. package/github/b-mad-expert.md +742 -742
  130. package/github/chatmodes/analyst.chatmode.md +89 -89
  131. package/github/chatmodes/architect.chatmode.md +97 -97
  132. package/github/chatmodes/backend.chatmode.md +194 -194
  133. package/github/chatmodes/bmad-master.chatmode.md +115 -115
  134. package/github/chatmodes/bmad-orchestrator.chatmode.md +152 -152
  135. package/github/chatmodes/dev.chatmode.md +86 -86
  136. package/github/chatmodes/frontend.chatmode.md +157 -157
  137. package/github/chatmodes/pm.chatmode.md +89 -89
  138. package/github/chatmodes/po.chatmode.md +84 -84
  139. package/github/chatmodes/qa.chatmode.md +96 -96
  140. package/github/chatmodes/sm.chatmode.md +70 -70
  141. package/github/chatmodes/ux-expert.chatmode.md +74 -74
  142. package/index.js +9 -9
  143. package/package.json +37 -36
  144. package/vscode/mcp.json +11 -11
  145. package/vscode/settings.json +12 -12
@@ -1,241 +1,241 @@
1
- # <!-- Powered by BMAD™ Core -->
2
- workflow:
3
- id: greenfield-fullstack
4
- name: Greenfield Full-Stack Application Development
5
- description: >-
6
- Agent workflow for building full-stack applications from concept to development.
7
- Supports both comprehensive planning for complex projects and rapid prototyping for simple ones.
8
- type: greenfield
9
- project_types:
10
- - web-app
11
- - saas
12
- - enterprise-app
13
- - prototype
14
- - mvp
15
-
16
- sequence:
17
- - agent: analyst
18
- creates: project-brief.md
19
- optional_steps:
20
- - brainstorming_session
21
- - market_research_prompt
22
- notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
23
-
24
- - agent: pm
25
- creates: prd.md
26
- requires: project-brief.md
27
- notes: "Creates PRD from project brief using prd-tmpl. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
28
-
29
- - agent: ux-expert
30
- creates: front-end-spec.md
31
- requires: prd.md
32
- optional_steps:
33
- - user_research_prompt
34
- notes: "Creates UI/UX specification using front-end-spec-tmpl. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
35
-
36
- - agent: ux-expert
37
- creates: v0_prompt (optional)
38
- requires: front-end-spec.md
39
- condition: user_wants_ai_generation
40
- notes: "OPTIONAL BUT RECOMMENDED: Generate AI UI prompt for tools like v0, Lovable, etc. Use the generate-ai-frontend-prompt task. User can then generate UI in external tool and download project structure."
41
-
42
- - agent: architect
43
- creates: fullstack-architecture.md
44
- requires:
45
- - prd.md
46
- - front-end-spec.md
47
- optional_steps:
48
- - technical_research_prompt
49
- - review_generated_ui_structure
50
- notes: "Creates comprehensive architecture using fullstack-architecture-tmpl. If user generated UI with v0/Lovable, can incorporate the project structure into architecture. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final fullstack-architecture.md to your project's docs/ folder."
51
-
52
- - agent: pm
53
- updates: prd.md (if needed)
54
- requires: fullstack-architecture.md
55
- condition: architecture_suggests_prd_changes
56
- notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
57
-
58
- - agent: po
59
- validates: all_artifacts
60
- uses: po-master-checklist
61
- notes: "Validates all documents for consistency and completeness. May require updates to any document."
62
-
63
- - agent: various
64
- updates: any_flagged_documents
65
- condition: po_checklist_issues
66
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
67
-
68
- - step: project_setup_guidance
69
- action: guide_project_structure
70
- condition: user_has_generated_ui
71
- notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo alongside backend repo. For monorepo, place in apps/web or packages/frontend directory. Review architecture document for specific guidance."
72
-
73
- - step: development_order_guidance
74
- action: guide_development_sequence
75
- 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."
76
-
77
- - agent: po
78
- action: shard_documents
79
- creates: sharded_docs
80
- requires: all_artifacts_in_project
81
- notes: |
82
- Shard documents for IDE development:
83
- - Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
84
- - Option B: Manual: Drag shard-doc task + docs/prd.md into chat
85
- - Creates docs/prd/ and docs/architecture/ folders with sharded content
86
-
87
- - agent: sm
88
- action: create_story
89
- creates: story.md
90
- requires: sharded_docs
91
- repeats: for_each_epic
92
- notes: |
93
- Story creation cycle:
94
- - SM Agent (New Chat): @sm → *create
95
- - Creates next story from sharded docs
96
- - Story starts in "Draft" status
97
-
98
- - agent: analyst/pm
99
- action: review_draft_story
100
- updates: story.md
101
- requires: story.md
102
- optional: true
103
- condition: user_wants_story_review
104
- notes: |
105
- OPTIONAL: Review and approve draft story
106
- - NOTE: story-review task coming soon
107
- - Review story completeness and alignment
108
- - Update story status: Draft → Approved
109
-
110
- - agent: dev
111
- action: implement_story
112
- creates: implementation_files
113
- requires: story.md
114
- notes: |
115
- Dev Agent (New Chat): @dev
116
- - Implements approved story
117
- - Updates File List with all changes
118
- - Marks story as "Review" when complete
119
-
120
- - agent: qa
121
- action: review_implementation
122
- updates: implementation_files
123
- requires: implementation_files
124
- optional: true
125
- notes: |
126
- OPTIONAL: QA Agent (New Chat): @qa → review-story
127
- - Senior dev review with refactoring ability
128
- - Fixes small issues directly
129
- - Leaves checklist for remaining items
130
- - Updates story status (Review → Done or stays Review)
131
-
132
- - agent: dev
133
- action: address_qa_feedback
134
- updates: implementation_files
135
- condition: qa_left_unchecked_items
136
- notes: |
137
- If QA left unchecked items:
138
- - Dev Agent (New Chat): Address remaining items
139
- - Return to QA for final approval
140
-
141
- - step: repeat_development_cycle
142
- action: continue_for_all_stories
143
- notes: |
144
- Repeat story cycle (SM → Dev → QA) for all epic stories
145
- Continue until all stories in PRD are complete
146
-
147
- - agent: po
148
- action: epic_retrospective
149
- creates: epic-retrospective.md
150
- condition: epic_complete
151
- optional: true
152
- notes: |
153
- OPTIONAL: After epic completion
154
- - NOTE: epic-retrospective task coming soon
155
- - Validate epic was completed correctly
156
- - Document learnings and improvements
157
-
158
- - step: workflow_end
159
- action: project_complete
160
- notes: |
161
- All stories implemented and reviewed!
162
- Project development phase complete.
163
-
164
- Reference: .bmad-core/data/bmad-kb.md#IDE Development Workflow
165
-
166
- flow_diagram: |
167
- ```mermaid
168
- graph TD
169
- A[Start: Greenfield Project] --> B[analyst: project-brief.md]
170
- B --> C[pm: prd.md]
171
- C --> D[ux-expert: front-end-spec.md]
172
- D --> D2{Generate v0 prompt?}
173
- D2 -->|Yes| D3[ux-expert: create v0 prompt]
174
- D2 -->|No| E[architect: fullstack-architecture.md]
175
- D3 --> D4[User: generate UI in v0/Lovable]
176
- D4 --> E
177
- E --> F{Architecture suggests PRD changes?}
178
- F -->|Yes| G[pm: update prd.md]
179
- F -->|No| H[po: validate all artifacts]
180
- G --> H
181
- H --> I{PO finds issues?}
182
- I -->|Yes| J[Return to relevant agent for fixes]
183
- I -->|No| K[po: shard documents]
184
- J --> H
185
-
186
- K --> L[sm: create story]
187
- L --> M{Review draft story?}
188
- M -->|Yes| N[analyst/pm: review & approve story]
189
- M -->|No| O[dev: implement story]
190
- N --> O
191
- O --> P{QA review?}
192
- P -->|Yes| Q[qa: review implementation]
193
- P -->|No| R{More stories?}
194
- Q --> S{QA found issues?}
195
- S -->|Yes| T[dev: address QA feedback]
196
- S -->|No| R
197
- T --> Q
198
- R -->|Yes| L
199
- R -->|No| U{Epic retrospective?}
200
- U -->|Yes| V[po: epic retrospective]
201
- U -->|No| W[Project Complete]
202
- V --> W
203
-
204
- B -.-> B1[Optional: brainstorming]
205
- B -.-> B2[Optional: market research]
206
- D -.-> D1[Optional: user research]
207
- E -.-> E1[Optional: technical research]
208
-
209
- style W fill:#90EE90
210
- style K fill:#ADD8E6
211
- style L fill:#ADD8E6
212
- style O fill:#ADD8E6
213
- style D3 fill:#E6E6FA
214
- style D4 fill:#E6E6FA
215
- style B fill:#FFE4B5
216
- style C fill:#FFE4B5
217
- style D fill:#FFE4B5
218
- style E fill:#FFE4B5
219
- style N fill:#F0E68C
220
- style Q fill:#F0E68C
221
- style V fill:#F0E68C
222
- ```
223
-
224
- decision_guidance:
225
- when_to_use:
226
- - Building production-ready applications
227
- - Multiple team members will be involved
228
- - Complex feature requirements
229
- - Need comprehensive documentation
230
- - Long-term maintenance expected
231
- - Enterprise or customer-facing applications
232
-
233
- handoff_prompts:
234
- analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
235
- pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
236
- ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the fullstack architecture."
237
- architect_review: "Architecture complete. Save it as docs/fullstack-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
238
- architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
239
- updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
240
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
241
- complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
1
+ # <!-- Powered by BMAD™ Core -->
2
+ workflow:
3
+ id: greenfield-fullstack
4
+ name: Greenfield Full-Stack Application Development
5
+ description: >-
6
+ Agent workflow for building full-stack applications from concept to development.
7
+ Supports both comprehensive planning for complex projects and rapid prototyping for simple ones.
8
+ type: greenfield
9
+ project_types:
10
+ - web-app
11
+ - saas
12
+ - enterprise-app
13
+ - prototype
14
+ - mvp
15
+
16
+ sequence:
17
+ - agent: analyst
18
+ creates: project-brief.md
19
+ optional_steps:
20
+ - brainstorming_session
21
+ - market_research_prompt
22
+ notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
23
+
24
+ - agent: pm
25
+ creates: prd.md
26
+ requires: project-brief.md
27
+ notes: "Creates PRD from project brief using prd-tmpl. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
28
+
29
+ - agent: ux-expert
30
+ creates: front-end-spec.md
31
+ requires: prd.md
32
+ optional_steps:
33
+ - user_research_prompt
34
+ notes: "Creates UI/UX specification using front-end-spec-tmpl. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
35
+
36
+ - agent: ux-expert
37
+ creates: v0_prompt (optional)
38
+ requires: front-end-spec.md
39
+ condition: user_wants_ai_generation
40
+ notes: "OPTIONAL BUT RECOMMENDED: Generate AI UI prompt for tools like v0, Lovable, etc. Use the generate-ai-frontend-prompt task. User can then generate UI in external tool and download project structure."
41
+
42
+ - agent: architect
43
+ creates: fullstack-architecture.md
44
+ requires:
45
+ - prd.md
46
+ - front-end-spec.md
47
+ optional_steps:
48
+ - technical_research_prompt
49
+ - review_generated_ui_structure
50
+ notes: "Creates comprehensive architecture using fullstack-architecture-tmpl. If user generated UI with v0/Lovable, can incorporate the project structure into architecture. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final fullstack-architecture.md to your project's docs/ folder."
51
+
52
+ - agent: pm
53
+ updates: prd.md (if needed)
54
+ requires: fullstack-architecture.md
55
+ condition: architecture_suggests_prd_changes
56
+ notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
57
+
58
+ - agent: po
59
+ validates: all_artifacts
60
+ uses: po-master-checklist
61
+ notes: "Validates all documents for consistency and completeness. May require updates to any document."
62
+
63
+ - agent: various
64
+ updates: any_flagged_documents
65
+ condition: po_checklist_issues
66
+ notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
67
+
68
+ - step: project_setup_guidance
69
+ action: guide_project_structure
70
+ condition: user_has_generated_ui
71
+ notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo alongside backend repo. For monorepo, place in apps/web or packages/frontend directory. Review architecture document for specific guidance."
72
+
73
+ - step: development_order_guidance
74
+ action: guide_development_sequence
75
+ 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."
76
+
77
+ - agent: po
78
+ action: shard_documents
79
+ creates: sharded_docs
80
+ requires: all_artifacts_in_project
81
+ notes: |
82
+ Shard documents for IDE development:
83
+ - Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
84
+ - Option B: Manual: Drag shard-doc task + docs/prd.md into chat
85
+ - Creates docs/prd/ and docs/architecture/ folders with sharded content
86
+
87
+ - agent: sm
88
+ action: create_story
89
+ creates: story.md
90
+ requires: sharded_docs
91
+ repeats: for_each_epic
92
+ notes: |
93
+ Story creation cycle:
94
+ - SM Agent (New Chat): @sm → *create
95
+ - Creates next story from sharded docs
96
+ - Story starts in "Draft" status
97
+
98
+ - agent: analyst/pm
99
+ action: review_draft_story
100
+ updates: story.md
101
+ requires: story.md
102
+ optional: true
103
+ condition: user_wants_story_review
104
+ notes: |
105
+ OPTIONAL: Review and approve draft story
106
+ - NOTE: story-review task coming soon
107
+ - Review story completeness and alignment
108
+ - Update story status: Draft → Approved
109
+
110
+ - agent: dev
111
+ action: implement_story
112
+ creates: implementation_files
113
+ requires: story.md
114
+ notes: |
115
+ Dev Agent (New Chat): @dev
116
+ - Implements approved story
117
+ - Updates File List with all changes
118
+ - Marks story as "Review" when complete
119
+
120
+ - agent: qa
121
+ action: review_implementation
122
+ updates: implementation_files
123
+ requires: implementation_files
124
+ optional: true
125
+ notes: |
126
+ OPTIONAL: QA Agent (New Chat): @qa → review-story
127
+ - Senior dev review with refactoring ability
128
+ - Fixes small issues directly
129
+ - Leaves checklist for remaining items
130
+ - Updates story status (Review → Done or stays Review)
131
+
132
+ - agent: dev
133
+ action: address_qa_feedback
134
+ updates: implementation_files
135
+ condition: qa_left_unchecked_items
136
+ notes: |
137
+ If QA left unchecked items:
138
+ - Dev Agent (New Chat): Address remaining items
139
+ - Return to QA for final approval
140
+
141
+ - step: repeat_development_cycle
142
+ action: continue_for_all_stories
143
+ notes: |
144
+ Repeat story cycle (SM → Dev → QA) for all epic stories
145
+ Continue until all stories in PRD are complete
146
+
147
+ - agent: po
148
+ action: epic_retrospective
149
+ creates: epic-retrospective.md
150
+ condition: epic_complete
151
+ optional: true
152
+ notes: |
153
+ OPTIONAL: After epic completion
154
+ - NOTE: epic-retrospective task coming soon
155
+ - Validate epic was completed correctly
156
+ - Document learnings and improvements
157
+
158
+ - step: workflow_end
159
+ action: project_complete
160
+ notes: |
161
+ All stories implemented and reviewed!
162
+ Project development phase complete.
163
+
164
+ Reference: .bmad-core/data/bmad-kb.md#IDE Development Workflow
165
+
166
+ flow_diagram: |
167
+ ```mermaid
168
+ graph TD
169
+ A[Start: Greenfield Project] --> B[analyst: project-brief.md]
170
+ B --> C[pm: prd.md]
171
+ C --> D[ux-expert: front-end-spec.md]
172
+ D --> D2{Generate v0 prompt?}
173
+ D2 -->|Yes| D3[ux-expert: create v0 prompt]
174
+ D2 -->|No| E[architect: fullstack-architecture.md]
175
+ D3 --> D4[User: generate UI in v0/Lovable]
176
+ D4 --> E
177
+ E --> F{Architecture suggests PRD changes?}
178
+ F -->|Yes| G[pm: update prd.md]
179
+ F -->|No| H[po: validate all artifacts]
180
+ G --> H
181
+ H --> I{PO finds issues?}
182
+ I -->|Yes| J[Return to relevant agent for fixes]
183
+ I -->|No| K[po: shard documents]
184
+ J --> H
185
+
186
+ K --> L[sm: create story]
187
+ L --> M{Review draft story?}
188
+ M -->|Yes| N[analyst/pm: review & approve story]
189
+ M -->|No| O[dev: implement story]
190
+ N --> O
191
+ O --> P{QA review?}
192
+ P -->|Yes| Q[qa: review implementation]
193
+ P -->|No| R{More stories?}
194
+ Q --> S{QA found issues?}
195
+ S -->|Yes| T[dev: address QA feedback]
196
+ S -->|No| R
197
+ T --> Q
198
+ R -->|Yes| L
199
+ R -->|No| U{Epic retrospective?}
200
+ U -->|Yes| V[po: epic retrospective]
201
+ U -->|No| W[Project Complete]
202
+ V --> W
203
+
204
+ B -.-> B1[Optional: brainstorming]
205
+ B -.-> B2[Optional: market research]
206
+ D -.-> D1[Optional: user research]
207
+ E -.-> E1[Optional: technical research]
208
+
209
+ style W fill:#90EE90
210
+ style K fill:#ADD8E6
211
+ style L fill:#ADD8E6
212
+ style O fill:#ADD8E6
213
+ style D3 fill:#E6E6FA
214
+ style D4 fill:#E6E6FA
215
+ style B fill:#FFE4B5
216
+ style C fill:#FFE4B5
217
+ style D fill:#FFE4B5
218
+ style E fill:#FFE4B5
219
+ style N fill:#F0E68C
220
+ style Q fill:#F0E68C
221
+ style V fill:#F0E68C
222
+ ```
223
+
224
+ decision_guidance:
225
+ when_to_use:
226
+ - Building production-ready applications
227
+ - Multiple team members will be involved
228
+ - Complex feature requirements
229
+ - Need comprehensive documentation
230
+ - Long-term maintenance expected
231
+ - Enterprise or customer-facing applications
232
+
233
+ handoff_prompts:
234
+ analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
235
+ pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
236
+ ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the fullstack architecture."
237
+ architect_review: "Architecture complete. Save it as docs/fullstack-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
238
+ architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
239
+ updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
240
+ po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
241
+ complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."