bmad-method 4.37.0-beta.2 → 4.37.0-beta.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 (206) hide show
  1. package/README.md +3 -214
  2. package/package.json +26 -63
  3. package/.github/FUNDING.yaml +0 -15
  4. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  5. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  6. package/.github/workflows/discord.yaml +0 -16
  7. package/.github/workflows/release.yaml +0 -60
  8. package/.releaserc.json +0 -21
  9. package/.vscode/settings.json +0 -44
  10. package/CHANGELOG.md +0 -689
  11. package/CONTRIBUTING.md +0 -209
  12. package/LICENSE +0 -21
  13. package/bmad-core/agent-teams/team-all.yaml +0 -14
  14. package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  15. package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  16. package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  17. package/bmad-core/agents/analyst.md +0 -81
  18. package/bmad-core/agents/architect.md +0 -84
  19. package/bmad-core/agents/bmad-master.md +0 -108
  20. package/bmad-core/agents/bmad-orchestrator.md +0 -150
  21. package/bmad-core/agents/dev.md +0 -76
  22. package/bmad-core/agents/pm.md +0 -81
  23. package/bmad-core/agents/po.md +0 -76
  24. package/bmad-core/agents/qa.md +0 -69
  25. package/bmad-core/agents/sm.md +0 -62
  26. package/bmad-core/agents/ux-expert.md +0 -66
  27. package/bmad-core/checklists/architect-checklist.md +0 -443
  28. package/bmad-core/checklists/change-checklist.md +0 -182
  29. package/bmad-core/checklists/pm-checklist.md +0 -375
  30. package/bmad-core/checklists/po-master-checklist.md +0 -441
  31. package/bmad-core/checklists/story-dod-checklist.md +0 -101
  32. package/bmad-core/checklists/story-draft-checklist.md +0 -156
  33. package/bmad-core/core-config.yaml +0 -20
  34. package/bmad-core/data/bmad-kb.md +0 -803
  35. package/bmad-core/data/brainstorming-techniques.md +0 -36
  36. package/bmad-core/data/elicitation-methods.md +0 -134
  37. package/bmad-core/data/technical-preferences.md +0 -3
  38. package/bmad-core/tasks/advanced-elicitation.md +0 -117
  39. package/bmad-core/tasks/brownfield-create-epic.md +0 -160
  40. package/bmad-core/tasks/brownfield-create-story.md +0 -147
  41. package/bmad-core/tasks/correct-course.md +0 -70
  42. package/bmad-core/tasks/create-brownfield-story.md +0 -304
  43. package/bmad-core/tasks/create-deep-research-prompt.md +0 -289
  44. package/bmad-core/tasks/create-next-story.md +0 -112
  45. package/bmad-core/tasks/document-project.md +0 -341
  46. package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  47. package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  48. package/bmad-core/tasks/index-docs.md +0 -179
  49. package/bmad-core/tasks/kb-mode-interaction.md +0 -75
  50. package/bmad-core/tasks/review-story.md +0 -145
  51. package/bmad-core/tasks/shard-doc.md +0 -187
  52. package/bmad-core/tasks/validate-next-story.md +0 -134
  53. package/bmad-core/templates/architecture-tmpl.yaml +0 -650
  54. package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  55. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  56. package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  57. package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  58. package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  59. package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  60. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  61. package/bmad-core/templates/market-research-tmpl.yaml +0 -252
  62. package/bmad-core/templates/prd-tmpl.yaml +0 -202
  63. package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  64. package/bmad-core/templates/story-tmpl.yaml +0 -137
  65. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  66. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  67. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  68. package/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
  69. package/bmad-core/workflows/greenfield-service.yaml +0 -206
  70. package/bmad-core/workflows/greenfield-ui.yaml +0 -235
  71. package/common/tasks/create-doc.md +0 -101
  72. package/common/tasks/execute-checklist.md +0 -93
  73. package/common/utils/bmad-doc-template.md +0 -325
  74. package/common/utils/workflow-management.md +0 -69
  75. package/dist/agents/analyst.txt +0 -2882
  76. package/dist/agents/architect.txt +0 -3543
  77. package/dist/agents/bmad-master.txt +0 -8756
  78. package/dist/agents/bmad-orchestrator.txt +0 -1490
  79. package/dist/agents/dev.txt +0 -428
  80. package/dist/agents/pm.txt +0 -2229
  81. package/dist/agents/po.txt +0 -1364
  82. package/dist/agents/qa.txt +0 -386
  83. package/dist/agents/sm.txt +0 -668
  84. package/dist/agents/ux-expert.txt +0 -701
  85. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2408
  86. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1631
  87. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -822
  88. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -10989
  89. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +0 -4047
  90. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -3744
  91. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -465
  92. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -990
  93. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +0 -15467
  94. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2077
  95. package/dist/teams/team-all.txt +0 -11062
  96. package/dist/teams/team-fullstack.txt +0 -10392
  97. package/dist/teams/team-ide-minimal.txt +0 -3507
  98. package/dist/teams/team-no-ui.txt +0 -8951
  99. package/docs/GUIDING-PRINCIPLES.md +0 -91
  100. package/docs/core-architecture.md +0 -219
  101. package/docs/enhanced-ide-development-workflow.md +0 -43
  102. package/docs/expansion-packs.md +0 -280
  103. package/docs/how-to-contribute-with-pull-requests.md +0 -158
  104. package/docs/user-guide.md +0 -251
  105. package/docs/versioning-and-releases.md +0 -77
  106. package/docs/versions.md +0 -48
  107. package/docs/working-in-the-brownfield.md +0 -364
  108. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +0 -102
  109. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash copy.txt +0 -13
  110. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash.txt +0 -13
  111. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.2 Agent Development Kit Installation/1.2.2 - Basic Project Structure - txt.txt +0 -25
  112. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.1 - settings.py +0 -34
  113. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.2 - main.py - Base Application.py +0 -70
  114. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +0 -26
  115. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +0 -109
  116. package/expansion-packs/README.md +0 -3
  117. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  118. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -71
  119. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -78
  120. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -64
  121. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  122. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  123. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -8
  124. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  125. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  126. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  127. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  128. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  129. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  130. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  131. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  132. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  133. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  134. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  135. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  136. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +0 -14
  137. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +0 -80
  138. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +0 -77
  139. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +0 -78
  140. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +0 -65
  141. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +0 -396
  142. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +0 -203
  143. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +0 -201
  144. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +0 -132
  145. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +0 -6
  146. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +0 -776
  147. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -590
  148. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -111
  149. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +0 -151
  150. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +0 -184
  151. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -308
  152. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +0 -200
  153. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +0 -1030
  154. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +0 -356
  155. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +0 -705
  156. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +0 -256
  157. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  158. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  159. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +0 -175
  160. package/expansion-packs/bmad-infrastructure-devops/README.md +0 -147
  161. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +0 -71
  162. package/expansion-packs/bmad-infrastructure-devops/checklists/infrastructure-checklist.md +0 -484
  163. package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -9
  164. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  165. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -160
  166. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -154
  167. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  168. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  169. package/tools/bmad-npx-wrapper.js +0 -39
  170. package/tools/builders/web-builder.js +0 -681
  171. package/tools/bump-all-versions.js +0 -106
  172. package/tools/bump-expansion-version.js +0 -83
  173. package/tools/cli.js +0 -154
  174. package/tools/flattener/aggregate.js +0 -76
  175. package/tools/flattener/binary.js +0 -53
  176. package/tools/flattener/discovery.js +0 -70
  177. package/tools/flattener/files.js +0 -35
  178. package/tools/flattener/ignoreRules.js +0 -176
  179. package/tools/flattener/main.js +0 -217
  180. package/tools/flattener/projectRoot.js +0 -45
  181. package/tools/flattener/prompts.js +0 -44
  182. package/tools/flattener/stats.js +0 -30
  183. package/tools/flattener/xml.js +0 -86
  184. package/tools/installer/README.md +0 -8
  185. package/tools/installer/package.json +0 -44
  186. package/tools/lib/dependency-resolver.js +0 -179
  187. package/tools/lib/yaml-utils.js +0 -29
  188. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  189. package/tools/semantic-release-sync-installer.js +0 -30
  190. package/tools/shared/bannerArt.js +0 -105
  191. package/tools/sync-installer-version.js +0 -34
  192. package/tools/update-expansion-version.js +0 -54
  193. package/tools/upgraders/v3-to-v4-upgrader.js +0 -763
  194. package/tools/version-bump.js +0 -79
  195. package/tools/yaml-format.js +0 -240
  196. /package/{tools/installer/bin → bin}/bmad.js +0 -0
  197. /package/{tools/installer/config → config}/ide-agent-config.yaml +0 -0
  198. /package/{tools/installer/config → config}/install.config.yaml +0 -0
  199. /package/{tools/installer/lib → lib}/config-loader.js +0 -0
  200. /package/{tools/installer/lib → lib}/file-manager.js +0 -0
  201. /package/{tools/installer/lib → lib}/ide-base-setup.js +0 -0
  202. /package/{tools/installer/lib → lib}/ide-setup.js +0 -0
  203. /package/{tools/installer/lib → lib}/installer.js +0 -0
  204. /package/{tools/installer/lib → lib}/memory-profiler.js +0 -0
  205. /package/{tools/installer/lib → lib}/module-manager.js +0 -0
  206. /package/{tools/installer/lib → lib}/resource-locator.js +0 -0
@@ -1,235 +0,0 @@
1
- workflow:
2
- id: greenfield-ui
3
- name: Greenfield UI/Frontend Development
4
- description: >-
5
- Agent workflow for building frontend applications from concept to development.
6
- Supports both comprehensive planning for complex UIs and rapid prototyping for simple interfaces.
7
- type: greenfield
8
- project_types:
9
- - spa
10
- - mobile-app
11
- - micro-frontend
12
- - static-site
13
- - ui-prototype
14
- - simple-interface
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, focused on UI/frontend requirements. 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: front-end-architecture.md
44
- requires: front-end-spec.md
45
- optional_steps:
46
- - technical_research_prompt
47
- - review_generated_ui_structure
48
- notes: "Creates frontend architecture using front-end-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 front-end-architecture.md to your project's docs/ folder."
49
-
50
- - agent: pm
51
- updates: prd.md (if needed)
52
- requires: front-end-architecture.md
53
- condition: architecture_suggests_prd_changes
54
- notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
55
-
56
- - agent: po
57
- validates: all_artifacts
58
- uses: po-master-checklist
59
- notes: "Validates all documents for consistency and completeness. May require updates to any document."
60
-
61
- - agent: various
62
- updates: any_flagged_documents
63
- condition: po_checklist_issues
64
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
65
-
66
- - project_setup_guidance:
67
- action: guide_project_structure
68
- condition: user_has_generated_ui
69
- notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo. For monorepo, place in apps/web or frontend/ directory. Review architecture document for specific guidance."
70
-
71
- - agent: po
72
- action: shard_documents
73
- creates: sharded_docs
74
- requires: all_artifacts_in_project
75
- notes: |
76
- Shard documents for IDE development:
77
- - Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
78
- - Option B: Manual: Drag shard-doc task + docs/prd.md into chat
79
- - Creates docs/prd/ and docs/architecture/ folders with sharded content
80
-
81
- - agent: sm
82
- action: create_story
83
- creates: story.md
84
- requires: sharded_docs
85
- repeats: for_each_epic
86
- notes: |
87
- Story creation cycle:
88
- - SM Agent (New Chat): @sm → *create
89
- - Creates next story from sharded docs
90
- - Story starts in "Draft" status
91
-
92
- - agent: analyst/pm
93
- action: review_draft_story
94
- updates: story.md
95
- requires: story.md
96
- optional: true
97
- condition: user_wants_story_review
98
- notes: |
99
- OPTIONAL: Review and approve draft story
100
- - NOTE: story-review task coming soon
101
- - Review story completeness and alignment
102
- - Update story status: Draft → Approved
103
-
104
- - agent: dev
105
- action: implement_story
106
- creates: implementation_files
107
- requires: story.md
108
- notes: |
109
- Dev Agent (New Chat): @dev
110
- - Implements approved story
111
- - Updates File List with all changes
112
- - Marks story as "Review" when complete
113
-
114
- - agent: qa
115
- action: review_implementation
116
- updates: implementation_files
117
- requires: implementation_files
118
- optional: true
119
- notes: |
120
- OPTIONAL: QA Agent (New Chat): @qa → review-story
121
- - Senior dev review with refactoring ability
122
- - Fixes small issues directly
123
- - Leaves checklist for remaining items
124
- - Updates story status (Review → Done or stays Review)
125
-
126
- - agent: dev
127
- action: address_qa_feedback
128
- updates: implementation_files
129
- condition: qa_left_unchecked_items
130
- notes: |
131
- If QA left unchecked items:
132
- - Dev Agent (New Chat): Address remaining items
133
- - Return to QA for final approval
134
-
135
- - repeat_development_cycle:
136
- action: continue_for_all_stories
137
- notes: |
138
- Repeat story cycle (SM → Dev → QA) for all epic stories
139
- Continue until all stories in PRD are complete
140
-
141
- - agent: po
142
- action: epic_retrospective
143
- creates: epic-retrospective.md
144
- condition: epic_complete
145
- optional: true
146
- notes: |
147
- OPTIONAL: After epic completion
148
- - NOTE: epic-retrospective task coming soon
149
- - Validate epic was completed correctly
150
- - Document learnings and improvements
151
-
152
- - workflow_end:
153
- action: project_complete
154
- notes: |
155
- All stories implemented and reviewed!
156
- Project development phase complete.
157
-
158
- Reference: {root}/data/bmad-kb.md#IDE Development Workflow
159
-
160
- flow_diagram: |
161
- ```mermaid
162
- graph TD
163
- A[Start: UI Development] --> B[analyst: project-brief.md]
164
- B --> C[pm: prd.md]
165
- C --> D[ux-expert: front-end-spec.md]
166
- D --> D2{Generate v0 prompt?}
167
- D2 -->|Yes| D3[ux-expert: create v0 prompt]
168
- D2 -->|No| E[architect: front-end-architecture.md]
169
- D3 --> D4[User: generate UI in v0/Lovable]
170
- D4 --> E
171
- E --> F{Architecture suggests PRD changes?}
172
- F -->|Yes| G[pm: update prd.md]
173
- F -->|No| H[po: validate all artifacts]
174
- G --> H
175
- H --> I{PO finds issues?}
176
- I -->|Yes| J[Return to relevant agent for fixes]
177
- I -->|No| K[po: shard documents]
178
- J --> H
179
-
180
- K --> L[sm: create story]
181
- L --> M{Review draft story?}
182
- M -->|Yes| N[analyst/pm: review & approve story]
183
- M -->|No| O[dev: implement story]
184
- N --> O
185
- O --> P{QA review?}
186
- P -->|Yes| Q[qa: review implementation]
187
- P -->|No| R{More stories?}
188
- Q --> S{QA found issues?}
189
- S -->|Yes| T[dev: address QA feedback]
190
- S -->|No| R
191
- T --> Q
192
- R -->|Yes| L
193
- R -->|No| U{Epic retrospective?}
194
- U -->|Yes| V[po: epic retrospective]
195
- U -->|No| W[Project Complete]
196
- V --> W
197
-
198
- B -.-> B1[Optional: brainstorming]
199
- B -.-> B2[Optional: market research]
200
- D -.-> D1[Optional: user research]
201
- E -.-> E1[Optional: technical research]
202
-
203
- style W fill:#90EE90
204
- style K fill:#ADD8E6
205
- style L fill:#ADD8E6
206
- style O fill:#ADD8E6
207
- style D3 fill:#E6E6FA
208
- style D4 fill:#E6E6FA
209
- style B fill:#FFE4B5
210
- style C fill:#FFE4B5
211
- style D fill:#FFE4B5
212
- style E fill:#FFE4B5
213
- style N fill:#F0E68C
214
- style Q fill:#F0E68C
215
- style V fill:#F0E68C
216
- ```
217
-
218
- decision_guidance:
219
- when_to_use:
220
- - Building production frontend applications
221
- - Multiple views/pages with complex interactions
222
- - Need comprehensive UI/UX design and testing
223
- - Multiple team members will be involved
224
- - Long-term maintenance expected
225
- - Customer-facing applications
226
-
227
- handoff_prompts:
228
- analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
229
- pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
230
- ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the frontend architecture."
231
- architect_review: "Frontend architecture complete. Save it as docs/front-end-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
232
- architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
233
- updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
234
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
235
- complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
@@ -1,101 +0,0 @@
1
- # Create Document from Template (YAML Driven)
2
-
3
- ## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
4
-
5
- **THIS IS AN EXECUTABLE WORKFLOW - NOT REFERENCE MATERIAL**
6
-
7
- When this task is invoked:
8
-
9
- 1. **DISABLE ALL EFFICIENCY OPTIMIZATIONS** - This workflow requires full user interaction
10
- 2. **MANDATORY STEP-BY-STEP EXECUTION** - Each section must be processed sequentially with user feedback
11
- 3. **ELICITATION IS REQUIRED** - When `elicit: true`, you MUST use the 1-9 format and wait for user response
12
- 4. **NO SHORTCUTS ALLOWED** - Complete documents cannot be created without following this workflow
13
-
14
- **VIOLATION INDICATOR:** If you create a complete document without user interaction, you have violated this workflow.
15
-
16
- ## Critical: Template Discovery
17
-
18
- If a YAML Template has not been provided, list all templates from .bmad-core/templates or ask the user to provide another.
19
-
20
- ## CRITICAL: Mandatory Elicitation Format
21
-
22
- **When `elicit: true`, this is a HARD STOP requiring user interaction:**
23
-
24
- **YOU MUST:**
25
-
26
- 1. Present section content
27
- 2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
28
- 3. **STOP and present numbered options 1-9:**
29
- - **Option 1:** Always "Proceed to next section"
30
- - **Options 2-9:** Select 8 methods from data/elicitation-methods
31
- - End with: "Select 1-9 or just type your question/feedback:"
32
- 4. **WAIT FOR USER RESPONSE** - Do not proceed until user selects option or provides feedback
33
-
34
- **WORKFLOW VIOLATION:** Creating content for elicit=true sections without user interaction violates this task.
35
-
36
- **NEVER ask yes/no questions or use any other format.**
37
-
38
- ## Processing Flow
39
-
40
- 1. **Parse YAML template** - Load template metadata and sections
41
- 2. **Set preferences** - Show current mode (Interactive), confirm output file
42
- 3. **Process each section:**
43
- - Skip if condition unmet
44
- - Check agent permissions (owner/editors) - note if section is restricted to specific agents
45
- - Draft content using section instruction
46
- - Present content + detailed rationale
47
- - **IF elicit: true** → MANDATORY 1-9 options format
48
- - Save to file if possible
49
- 4. **Continue until complete**
50
-
51
- ## Detailed Rationale Requirements
52
-
53
- When presenting section content, ALWAYS include rationale that explains:
54
-
55
- - Trade-offs and choices made (what was chosen over alternatives and why)
56
- - Key assumptions made during drafting
57
- - Interesting or questionable decisions that need user attention
58
- - Areas that might need validation
59
-
60
- ## Elicitation Results Flow
61
-
62
- After user selects elicitation method (2-9):
63
-
64
- 1. Execute method from data/elicitation-methods
65
- 2. Present results with insights
66
- 3. Offer options:
67
- - **1. Apply changes and update section**
68
- - **2. Return to elicitation menu**
69
- - **3. Ask any questions or engage further with this elicitation**
70
-
71
- ## Agent Permissions
72
-
73
- When processing sections with agent permission fields:
74
-
75
- - **owner**: Note which agent role initially creates/populates the section
76
- - **editors**: List agent roles allowed to modify the section
77
- - **readonly**: Mark sections that cannot be modified after creation
78
-
79
- **For sections with restricted access:**
80
-
81
- - Include a note in the generated document indicating the responsible agent
82
- - Example: "_(This section is owned by dev-agent and can only be modified by dev-agent)_"
83
-
84
- ## YOLO Mode
85
-
86
- User can type `#yolo` to toggle to YOLO mode (process all sections at once).
87
-
88
- ## CRITICAL REMINDERS
89
-
90
- **❌ NEVER:**
91
-
92
- - Ask yes/no questions for elicitation
93
- - Use any format other than 1-9 numbered options
94
- - Create new elicitation methods
95
-
96
- **✅ ALWAYS:**
97
-
98
- - Use exact 1-9 format when elicit: true
99
- - Select options 2-9 from data/elicitation-methods only
100
- - Provide detailed rationale explaining decisions
101
- - End with "Select 1-9 or just type your question/feedback:"
@@ -1,93 +0,0 @@
1
- # Checklist Validation Task
2
-
3
- This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
4
-
5
- ## Available Checklists
6
-
7
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
8
-
9
- ## Instructions
10
-
11
- 1. **Initial Assessment**
12
-
13
- - If user or the task being run provides a checklist name:
14
- - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
15
- - If multiple matches found, ask user to clarify
16
- - Load the appropriate checklist from {root}/checklists/
17
- - If no checklist specified:
18
- - Ask the user which checklist they want to use
19
- - Present the available options from the files in the checklists folder
20
- - Confirm if they want to work through the checklist:
21
- - Section by section (interactive mode - very time consuming)
22
- - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
23
-
24
- 2. **Document and Artifact Gathering**
25
-
26
- - Each checklist will specify its required documents/artifacts at the beginning
27
- - Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
28
-
29
- 3. **Checklist Processing**
30
-
31
- If in interactive mode:
32
-
33
- - Work through each section of the checklist one at a time
34
- - For each section:
35
- - Review all items in the section following instructions for that section embedded in the checklist
36
- - Check each item against the relevant documentation or artifacts as appropriate
37
- - Present summary of findings for that section, highlighting warnings, errors and non applicable items (rationale for non-applicability).
38
- - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
39
-
40
- If in YOLO mode:
41
-
42
- - Process all sections at once
43
- - Create a comprehensive report of all findings
44
- - Present the complete analysis to the user
45
-
46
- 4. **Validation Approach**
47
-
48
- For each checklist item:
49
-
50
- - Read and understand the requirement
51
- - Look for evidence in the documentation that satisfies the requirement
52
- - Consider both explicit mentions and implicit coverage
53
- - Aside from this, follow all checklist llm instructions
54
- - Mark items as:
55
- - ✅ PASS: Requirement clearly met
56
- - ❌ FAIL: Requirement not met or insufficient coverage
57
- - ⚠️ PARTIAL: Some aspects covered but needs improvement
58
- - N/A: Not applicable to this case
59
-
60
- 5. **Section Analysis**
61
-
62
- For each section:
63
-
64
- - think step by step to calculate pass rate
65
- - Identify common themes in failed items
66
- - Provide specific recommendations for improvement
67
- - In interactive mode, discuss findings with user
68
- - Document any user decisions or explanations
69
-
70
- 6. **Final Report**
71
-
72
- Prepare a summary that includes:
73
-
74
- - Overall checklist completion status
75
- - Pass rates by section
76
- - List of failed items with context
77
- - Specific recommendations for improvement
78
- - Any sections or items marked as N/A with justification
79
-
80
- ## Checklist Execution Methodology
81
-
82
- Each checklist now contains embedded LLM prompts and instructions that will:
83
-
84
- 1. **Guide thorough thinking** - Prompts ensure deep analysis of each section
85
- 2. **Request specific artifacts** - Clear instructions on what documents/access is needed
86
- 3. **Provide contextual guidance** - Section-specific prompts for better validation
87
- 4. **Generate comprehensive reports** - Final summary with detailed findings
88
-
89
- The LLM will:
90
-
91
- - Execute the complete checklist validation
92
- - Present a final report with pass/fail rates and key findings
93
- - Offer to provide detailed analysis of any section, especially those with warnings or failures