bmad-method 4.27.6 → 5.0.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.
Files changed (274) hide show
  1. package/.bmad-core/agent-teams/team-all.yml +16 -0
  2. package/.bmad-core/agent-teams/team-fullstack.yml +26 -0
  3. package/.bmad-core/agent-teams/team-no-ui.yml +15 -0
  4. package/{bmad-core → .bmad-core}/agents/analyst.md +23 -29
  5. package/.bmad-core/agents/architect.md +66 -0
  6. package/.bmad-core/agents/bmad-master.md +104 -0
  7. package/.bmad-core/agents/bmad-orchestrator.md +81 -0
  8. package/.bmad-core/agents/dev.md +70 -0
  9. package/{bmad-core → .bmad-core}/agents/pm.md +24 -24
  10. package/{bmad-core → .bmad-core}/agents/po.md +24 -27
  11. package/.bmad-core/agents/qa.md +52 -0
  12. package/.bmad-core/agents/sm.md +55 -0
  13. package/.bmad-core/agents/ux-expert.md +66 -0
  14. package/{bmad-core → .bmad-core}/checklists/change-checklist.md +2 -2
  15. package/{bmad-core → .bmad-core}/checklists/story-draft-checklist.md +1 -1
  16. package/.bmad-core/data/bmad-kb.md +47 -0
  17. package/.bmad-core/schemas/agent-team-schema.yml +153 -0
  18. package/.bmad-core/tasks/advanced-elicitation.md +92 -0
  19. package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
  20. package/.bmad-core/tasks/core-dump.md +74 -0
  21. package/{expansion-packs/bmad-creator-tools → .bmad-core}/tasks/create-agent.md +11 -9
  22. package/.bmad-core/tasks/create-doc.md +74 -0
  23. package/.bmad-core/tasks/create-expansion-pack.md +425 -0
  24. package/.bmad-core/tasks/create-next-story.md +206 -0
  25. package/.bmad-core/tasks/create-team.md +229 -0
  26. package/{bmad-core → .bmad-core}/tasks/doc-migration-task.md +9 -9
  27. package/{common → .bmad-core}/tasks/execute-checklist.md +6 -2
  28. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
  29. package/{bmad-core → .bmad-core}/tasks/index-docs.md +7 -3
  30. package/{bmad-core → .bmad-core}/tasks/shard-doc.md +7 -25
  31. package/.bmad-core/templates/agent-tmpl.md +58 -0
  32. package/.bmad-core/templates/architecture-tmpl.md +771 -0
  33. package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
  34. package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
  35. package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
  36. package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
  37. package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
  38. package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
  39. package/.bmad-core/templates/fullstack-architecture-tmpl.md +1016 -0
  40. package/.bmad-core/templates/market-research-tmpl.md +261 -0
  41. package/.bmad-core/templates/prd-tmpl.md +200 -0
  42. package/.bmad-core/templates/project-brief-tmpl.md +228 -0
  43. package/.bmad-core/templates/simple-project-prd-tmpl.md +461 -0
  44. package/.bmad-core/templates/story-tmpl.md +61 -0
  45. package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
  46. package/.bmad-core/utils/agent-switcher.ide.md +112 -0
  47. package/.bmad-core/utils/template-format.md +26 -0
  48. package/.bmad-core/utils/workflow-management.md +224 -0
  49. package/.bmad-core/web-bundles/agents/analyst.txt +1684 -0
  50. package/.bmad-core/web-bundles/agents/architect.txt +3584 -0
  51. package/.bmad-core/web-bundles/agents/bmad-master.txt +9491 -0
  52. package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1466 -0
  53. package/{dist → .bmad-core/web-bundles}/agents/dev.txt +71 -179
  54. package/{dist → .bmad-core/web-bundles}/agents/pm.txt +1058 -624
  55. package/{dist → .bmad-core/web-bundles}/agents/po.txt +138 -337
  56. package/.bmad-core/web-bundles/agents/qa.txt +129 -0
  57. package/.bmad-core/web-bundles/agents/sm.txt +658 -0
  58. package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
  59. package/.bmad-core/web-bundles/teams/team-all.txt +10757 -0
  60. package/.bmad-core/web-bundles/teams/team-fullstack.txt +10109 -0
  61. package/.bmad-core/web-bundles/teams/team-no-ui.txt +8950 -0
  62. package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
  63. package/.bmad-core/workflows/brownfield-service.yml +117 -0
  64. package/.bmad-core/workflows/brownfield-ui.yml +127 -0
  65. package/.bmad-core/workflows/greenfield-fullstack.yml +177 -0
  66. package/.bmad-core/workflows/greenfield-service.yml +143 -0
  67. package/.bmad-core/workflows/greenfield-ui.yml +172 -0
  68. package/.claude/commands/analyst.md +63 -0
  69. package/.claude/commands/architect.md +70 -0
  70. package/.claude/commands/bmad-master.md +108 -0
  71. package/.claude/commands/bmad-orchestrator.md +85 -0
  72. package/.claude/commands/dev.md +74 -0
  73. package/.claude/commands/pm.md +63 -0
  74. package/.claude/commands/po.md +64 -0
  75. package/.claude/commands/qa.md +56 -0
  76. package/.claude/commands/sm.md +59 -0
  77. package/.claude/commands/ux-expert.md +70 -0
  78. package/.cursor/rules/analyst.mdc +77 -0
  79. package/.cursor/rules/architect.mdc +84 -0
  80. package/.cursor/rules/bmad-master.mdc +122 -0
  81. package/.cursor/rules/bmad-orchestrator.mdc +99 -0
  82. package/.cursor/rules/dev.mdc +88 -0
  83. package/.cursor/rules/pm.mdc +77 -0
  84. package/.cursor/rules/po.mdc +78 -0
  85. package/.cursor/rules/qa.mdc +70 -0
  86. package/.cursor/rules/sm.mdc +73 -0
  87. package/.cursor/rules/ux-expert.mdc +84 -0
  88. package/.roo/.roomodes +95 -0
  89. package/.roo/README.md +38 -0
  90. package/.vscode/extensions.json +6 -0
  91. package/.vscode/settings.json +75 -49
  92. package/.windsurf/rules/analyst.md +71 -0
  93. package/.windsurf/rules/architect.md +78 -0
  94. package/.windsurf/rules/bmad-master.md +116 -0
  95. package/.windsurf/rules/bmad-orchestrator.md +93 -0
  96. package/.windsurf/rules/dev.md +82 -0
  97. package/.windsurf/rules/pm.md +71 -0
  98. package/.windsurf/rules/po.md +72 -0
  99. package/.windsurf/rules/qa.md +64 -0
  100. package/.windsurf/rules/sm.md +67 -0
  101. package/.windsurf/rules/ux-expert.md +78 -0
  102. package/CHANGELOG.md +16 -459
  103. package/CONTRIBUTING.md +5 -168
  104. package/LICENSE +1 -1
  105. package/README.md +230 -77
  106. package/docs/bmad-workflow-guide.md +15 -19
  107. package/docs/claude-code-guide.md +119 -0
  108. package/docs/cursor-guide.md +127 -0
  109. package/docs/roo-code-guide.md +140 -0
  110. package/docs/sample-output/simple-fullstack-greenfield/prd.md +42 -0
  111. package/docs/versioning-and-releases.md +16 -8
  112. package/docs/versions.md +5 -4
  113. package/docs/windsurf-guide.md +127 -0
  114. package/expansion-packs/README.md +112 -2
  115. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/README.md +9 -9
  116. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/agents/infra-devops-platform.md +15 -14
  117. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
  118. package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
  119. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/review-infrastructure.md +4 -4
  120. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/validate-infrastructure.md +4 -4
  121. package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
  122. package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  123. package/package.json +11 -19
  124. package/tools/bmad-npx-wrapper.js +1 -1
  125. package/tools/builders/web-builder.js +28 -563
  126. package/tools/cli.js +22 -55
  127. package/tools/installer/README.md +53 -3
  128. package/tools/installer/bin/bmad.js +56 -294
  129. package/tools/installer/config/install.config.yml +139 -0
  130. package/tools/installer/lib/config-loader.js +34 -198
  131. package/tools/installer/lib/file-manager.js +7 -200
  132. package/tools/installer/lib/ide-setup.js +189 -545
  133. package/tools/installer/lib/installer.js +61 -1171
  134. package/tools/installer/package-lock.json +3 -3
  135. package/tools/installer/package.json +4 -4
  136. package/tools/installer/templates/claude-commands.md +7 -0
  137. package/tools/installer/templates/cursor-rules.md +22 -0
  138. package/tools/installer/templates/windsurf-rules.md +22 -0
  139. package/tools/lib/dependency-resolver.js +22 -22
  140. package/tools/upgraders/v3-to-v4-upgrader.js +43 -35
  141. package/tools/version-bump.js +1 -1
  142. package/tools/yaml-format.js +2 -2
  143. package/.github/FUNDING.yaml +0 -15
  144. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  145. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  146. package/.prettierignore +0 -21
  147. package/.prettierrc +0 -23
  148. package/bmad-core/agent-teams/team-all.yaml +0 -14
  149. package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  150. package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  151. package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  152. package/bmad-core/agents/architect.md +0 -62
  153. package/bmad-core/agents/bmad-master.md +0 -88
  154. package/bmad-core/agents/bmad-orchestrator.md +0 -135
  155. package/bmad-core/agents/dev.md +0 -56
  156. package/bmad-core/agents/qa.md +0 -54
  157. package/bmad-core/agents/sm.md +0 -45
  158. package/bmad-core/agents/ux-expert.md +0 -53
  159. package/bmad-core/core-config.yaml +0 -25
  160. package/bmad-core/data/bmad-kb.md +0 -803
  161. package/bmad-core/data/brainstorming-techniques.md +0 -36
  162. package/bmad-core/data/elicitation-methods.md +0 -134
  163. package/bmad-core/tasks/advanced-elicitation.md +0 -117
  164. package/bmad-core/tasks/create-brownfield-story.md +0 -355
  165. package/bmad-core/tasks/create-next-story.md +0 -113
  166. package/bmad-core/tasks/create-workflow-plan.md +0 -289
  167. package/bmad-core/tasks/document-project.md +0 -317
  168. package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  169. package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  170. package/bmad-core/tasks/kb-mode-interaction.md +0 -70
  171. package/bmad-core/tasks/review-story.md +0 -145
  172. package/bmad-core/tasks/update-workflow-plan.md +0 -248
  173. package/bmad-core/tasks/validate-next-story.md +0 -134
  174. package/bmad-core/templates/architecture-tmpl.yaml +0 -650
  175. package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  176. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  177. package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  178. package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  179. package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  180. package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  181. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  182. package/bmad-core/templates/market-research-tmpl.yaml +0 -252
  183. package/bmad-core/templates/prd-tmpl.yaml +0 -202
  184. package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  185. package/bmad-core/templates/story-tmpl.yaml +0 -137
  186. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  187. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  188. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  189. package/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
  190. package/bmad-core/workflows/greenfield-service.yaml +0 -206
  191. package/bmad-core/workflows/greenfield-ui.yaml +0 -235
  192. package/common/tasks/create-doc.md +0 -79
  193. package/common/utils/bmad-doc-template.md +0 -325
  194. package/common/utils/workflow-management.md +0 -69
  195. package/dist/agents/analyst.txt +0 -2849
  196. package/dist/agents/architect.txt +0 -3505
  197. package/dist/agents/bmad-master.txt +0 -9271
  198. package/dist/agents/bmad-orchestrator.txt +0 -2006
  199. package/dist/agents/qa.txt +0 -388
  200. package/dist/agents/sm.txt +0 -672
  201. package/dist/agents/ux-expert.txt +0 -987
  202. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2401
  203. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1635
  204. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -825
  205. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -11504
  206. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2023
  207. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2052
  208. package/dist/teams/team-all.txt +0 -11572
  209. package/dist/teams/team-fullstack.txt +0 -10903
  210. package/dist/teams/team-ide-minimal.txt +0 -4346
  211. package/dist/teams/team-no-ui.txt +0 -9458
  212. package/docs/GUIDING-PRINCIPLES.md +0 -91
  213. package/docs/agentic-tools/claude-code-guide.md +0 -19
  214. package/docs/agentic-tools/cline-guide.md +0 -16
  215. package/docs/agentic-tools/cursor-guide.md +0 -14
  216. package/docs/agentic-tools/gemini-cli-guide.md +0 -32
  217. package/docs/agentic-tools/github-copilot-guide.md +0 -42
  218. package/docs/agentic-tools/roo-code-guide.md +0 -15
  219. package/docs/agentic-tools/trae-guide.md +0 -14
  220. package/docs/agentic-tools/windsurf-guide.md +0 -14
  221. package/docs/core-architecture.md +0 -219
  222. package/docs/expansion-packs.md +0 -280
  223. package/docs/how-to-contribute-with-pull-requests.md +0 -158
  224. package/docs/template-markup-references.md +0 -86
  225. package/docs/user-guide.md +0 -1142
  226. package/docs/working-in-the-brownfield.md +0 -361
  227. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  228. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -59
  229. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -67
  230. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -52
  231. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  232. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  233. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -7
  234. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  235. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  236. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  237. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  238. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  239. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  240. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  241. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  242. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  243. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  244. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  245. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  246. package/expansion-packs/bmad-creator-tools/README.md +0 -8
  247. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +0 -54
  248. package/expansion-packs/bmad-creator-tools/config.yaml +0 -5
  249. package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
  250. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
  251. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
  252. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
  253. package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -8
  254. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  255. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  256. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  257. package/tools/bump-all-versions.js +0 -107
  258. package/tools/bump-core-version.js +0 -57
  259. package/tools/bump-expansion-version.js +0 -78
  260. package/tools/installer/config/ide-agent-config.yaml +0 -58
  261. package/tools/installer/config/install.config.yaml +0 -91
  262. package/tools/lib/yaml-utils.js +0 -29
  263. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  264. package/tools/update-expansion-version.js +0 -54
  265. /package/{bmad-core → .bmad-core}/checklists/architect-checklist.md +0 -0
  266. /package/{bmad-core → .bmad-core}/checklists/pm-checklist.md +0 -0
  267. /package/{bmad-core → .bmad-core}/checklists/po-master-checklist.md +0 -0
  268. /package/{bmad-core → .bmad-core}/checklists/story-dod-checklist.md +0 -0
  269. /package/{bmad-core → .bmad-core}/data/technical-preferences.md +0 -0
  270. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-epic.md +0 -0
  271. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-story.md +0 -0
  272. /package/{bmad-core → .bmad-core}/tasks/correct-course.md +0 -0
  273. /package/{bmad-core → .bmad-core}/tasks/create-deep-research-prompt.md +0 -0
  274. /package/.github/workflows/{release.yaml → release.yml} +0 -0
@@ -1,36 +0,0 @@
1
- # Brainstorming Techniques Data
2
-
3
- ## Creative Expansion
4
-
5
- 1. **What If Scenarios**: Ask one provocative question, get their response, then ask another
6
- 2. **Analogical Thinking**: Give one example analogy, ask them to find 2-3 more
7
- 3. **Reversal/Inversion**: Pose the reverse question, let them work through it
8
- 4. **First Principles Thinking**: Ask "What are the fundamentals?" and guide them to break it down
9
-
10
- ## Structured Frameworks
11
-
12
- 5. **SCAMPER Method**: Go through one letter at a time, wait for their ideas before moving to next
13
- 6. **Six Thinking Hats**: Present one hat, ask for their thoughts, then move to next hat
14
- 7. **Mind Mapping**: Start with central concept, ask them to suggest branches
15
-
16
- ## Collaborative Techniques
17
-
18
- 8. **"Yes, And..." Building**: They give idea, you "yes and" it, they "yes and" back - alternate
19
- 9. **Brainwriting/Round Robin**: They suggest idea, you build on it, ask them to build on yours
20
- 10. **Random Stimulation**: Give one random prompt/word, ask them to make connections
21
-
22
- ## Deep Exploration
23
-
24
- 11. **Five Whys**: Ask "why" and wait for their answer before asking next "why"
25
- 12. **Morphological Analysis**: Ask them to list parameters first, then explore combinations together
26
- 13. **Provocation Technique (PO)**: Give one provocative statement, ask them to extract useful ideas
27
-
28
- ## Advanced Techniques
29
-
30
- 14. **Forced Relationships**: Connect two unrelated concepts and ask them to find the bridge
31
- 15. **Assumption Reversal**: Challenge their core assumptions and ask them to build from there
32
- 16. **Role Playing**: Ask them to brainstorm from different stakeholder perspectives
33
- 17. **Time Shifting**: "How would you solve this in 1995? 2030?"
34
- 18. **Resource Constraints**: "What if you had only $10 and 1 hour?"
35
- 19. **Metaphor Mapping**: Use extended metaphors to explore solutions
36
- 20. **Question Storming**: Generate questions instead of answers first
@@ -1,134 +0,0 @@
1
- # Elicitation Methods Data
2
-
3
- ## Core Reflective Methods
4
-
5
- **Expand or Contract for Audience**
6
- - Ask whether to 'expand' (add detail, elaborate) or 'contract' (simplify, clarify)
7
- - Identify specific target audience if relevant
8
- - Tailor content complexity and depth accordingly
9
-
10
- **Explain Reasoning (CoT Step-by-Step)**
11
- - Walk through the step-by-step thinking process
12
- - Reveal underlying assumptions and decision points
13
- - Show how conclusions were reached from current role's perspective
14
-
15
- **Critique and Refine**
16
- - Review output for flaws, inconsistencies, or improvement areas
17
- - Identify specific weaknesses from role's expertise
18
- - Suggest refined version reflecting domain knowledge
19
-
20
- ## Structural Analysis Methods
21
-
22
- **Analyze Logical Flow and Dependencies**
23
- - Examine content structure for logical progression
24
- - Check internal consistency and coherence
25
- - Identify and validate dependencies between elements
26
- - Confirm effective ordering and sequencing
27
-
28
- **Assess Alignment with Overall Goals**
29
- - Evaluate content contribution to stated objectives
30
- - Identify any misalignments or gaps
31
- - Interpret alignment from specific role's perspective
32
- - Suggest adjustments to better serve goals
33
-
34
- ## Risk and Challenge Methods
35
-
36
- **Identify Potential Risks and Unforeseen Issues**
37
- - Brainstorm potential risks from role's expertise
38
- - Identify overlooked edge cases or scenarios
39
- - Anticipate unintended consequences
40
- - Highlight implementation challenges
41
-
42
- **Challenge from Critical Perspective**
43
- - Adopt critical stance on current content
44
- - Play devil's advocate from specified viewpoint
45
- - Argue against proposal highlighting weaknesses
46
- - Apply YAGNI principles when appropriate (scope trimming)
47
-
48
- ## Creative Exploration Methods
49
-
50
- **Tree of Thoughts Deep Dive**
51
- - Break problem into discrete "thoughts" or intermediate steps
52
- - Explore multiple reasoning paths simultaneously
53
- - Use self-evaluation to classify each path as "sure", "likely", or "impossible"
54
- - Apply search algorithms (BFS/DFS) to find optimal solution paths
55
-
56
- **Hindsight is 20/20: The 'If Only...' Reflection**
57
- - Imagine retrospective scenario based on current content
58
- - Identify the one "if only we had known/done X..." insight
59
- - Describe imagined consequences humorously or dramatically
60
- - Extract actionable learnings for current context
61
-
62
- ## Multi-Persona Collaboration Methods
63
-
64
- **Agile Team Perspective Shift**
65
- - Rotate through different Scrum team member viewpoints
66
- - Product Owner: Focus on user value and business impact
67
- - Scrum Master: Examine process flow and team dynamics
68
- - Developer: Assess technical implementation and complexity
69
- - QA: Identify testing scenarios and quality concerns
70
-
71
- **Stakeholder Round Table**
72
- - Convene virtual meeting with multiple personas
73
- - Each persona contributes unique perspective on content
74
- - Identify conflicts and synergies between viewpoints
75
- - Synthesize insights into actionable recommendations
76
-
77
- **Meta-Prompting Analysis**
78
- - Step back to analyze the structure and logic of current approach
79
- - Question the format and methodology being used
80
- - Suggest alternative frameworks or mental models
81
- - Optimize the elicitation process itself
82
-
83
- ## Advanced 2025 Techniques
84
-
85
- **Self-Consistency Validation**
86
- - Generate multiple reasoning paths for same problem
87
- - Compare consistency across different approaches
88
- - Identify most reliable and robust solution
89
- - Highlight areas where approaches diverge and why
90
-
91
- **ReWOO (Reasoning Without Observation)**
92
- - Separate parametric reasoning from tool-based actions
93
- - Create reasoning plan without external dependencies
94
- - Identify what can be solved through pure reasoning
95
- - Optimize for efficiency and reduced token usage
96
-
97
- **Persona-Pattern Hybrid**
98
- - Combine specific role expertise with elicitation pattern
99
- - Architect + Risk Analysis: Deep technical risk assessment
100
- - UX Expert + User Journey: End-to-end experience critique
101
- - PM + Stakeholder Analysis: Multi-perspective impact review
102
-
103
- **Emergent Collaboration Discovery**
104
- - Allow multiple perspectives to naturally emerge
105
- - Identify unexpected insights from persona interactions
106
- - Explore novel combinations of viewpoints
107
- - Capture serendipitous discoveries from multi-agent thinking
108
-
109
- ## Game-Based Elicitation Methods
110
-
111
- **Red Team vs Blue Team**
112
- - Red Team: Attack the proposal, find vulnerabilities
113
- - Blue Team: Defend and strengthen the approach
114
- - Competitive analysis reveals blind spots
115
- - Results in more robust, battle-tested solutions
116
-
117
- **Innovation Tournament**
118
- - Pit multiple alternative approaches against each other
119
- - Score each approach across different criteria
120
- - Crowd-source evaluation from different personas
121
- - Identify winning combination of features
122
-
123
- **Escape Room Challenge**
124
- - Present content as constraints to work within
125
- - Find creative solutions within tight limitations
126
- - Identify minimum viable approach
127
- - Discover innovative workarounds and optimizations
128
-
129
- ## Process Control
130
-
131
- **Proceed / No Further Actions**
132
- - Acknowledge choice to finalize current work
133
- - Accept output as-is or move to next step
134
- - Prepare to continue without additional elicitation
@@ -1,117 +0,0 @@
1
- # Advanced Elicitation Task
2
-
3
- ## Purpose
4
-
5
- - Provide optional reflective and brainstorming actions to enhance content quality
6
- - Enable deeper exploration of ideas through structured elicitation techniques
7
- - Support iterative refinement through multiple analytical perspectives
8
- - Usable during template-driven document creation or any chat conversation
9
-
10
- ## Usage Scenarios
11
-
12
- ### Scenario 1: Template Document Creation
13
-
14
- After outputting a section during document creation:
15
-
16
- 1. **Section Review**: Ask user to review the drafted section
17
- 2. **Offer Elicitation**: Present 9 carefully selected elicitation methods
18
- 3. **Simple Selection**: User types a number (0-8) to engage method, or 9 to proceed
19
- 4. **Execute & Loop**: Apply selected method, then re-offer choices until user proceeds
20
-
21
- ### Scenario 2: General Chat Elicitation
22
-
23
- User can request advanced elicitation on any agent output:
24
-
25
- - User says "do advanced elicitation" or similar
26
- - Agent selects 9 relevant methods for the context
27
- - Same simple 0-9 selection process
28
-
29
- ## Task Instructions
30
-
31
- ### 1. Intelligent Method Selection
32
-
33
- **Context Analysis**: Before presenting options, analyze:
34
-
35
- - **Content Type**: Technical specs, user stories, architecture, requirements, etc.
36
- - **Complexity Level**: Simple, moderate, or complex content
37
- - **Stakeholder Needs**: Who will use this information
38
- - **Risk Level**: High-impact decisions vs routine items
39
- - **Creative Potential**: Opportunities for innovation or alternatives
40
-
41
- **Method Selection Strategy**:
42
-
43
- 1. **Always Include Core Methods** (choose 3-4):
44
- - Expand or Contract for Audience
45
- - Critique and Refine
46
- - Identify Potential Risks
47
- - Assess Alignment with Goals
48
-
49
- 2. **Context-Specific Methods** (choose 4-5):
50
- - **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
51
- - **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
52
- - **Creative Content**: Innovation Tournament, Escape Room Challenge
53
- - **Strategic Content**: Red Team vs Blue Team, Hindsight Reflection
54
-
55
- 3. **Always Include**: "Proceed / No Further Actions" as option 9
56
-
57
- ### 2. Section Context and Review
58
-
59
- When invoked after outputting a section:
60
-
61
- 1. **Provide Context Summary**: Give a brief 1-2 sentence summary of what the user should look for in the section just presented
62
-
63
- 2. **Explain Visual Elements**: If the section contains diagrams, explain them briefly before offering elicitation options
64
-
65
- 3. **Clarify Scope Options**: If the section contains multiple distinct items, inform the user they can apply elicitation actions to:
66
- - The entire section as a whole
67
- - Individual items within the section (specify which item when selecting an action)
68
-
69
- ### 3. Present Elicitation Options
70
-
71
- **Review Request Process:**
72
-
73
- - Ask the user to review the drafted section
74
- - In the SAME message, inform them they can suggest direct changes OR select an elicitation method
75
- - Present 9 intelligently selected methods (0-8) plus "Proceed" (9)
76
- - Keep descriptions short - just the method name
77
- - Await simple numeric selection
78
-
79
- **Action List Presentation Format:**
80
-
81
- ```text
82
- **Advanced Elicitation Options**
83
- Choose a number (0-8) or 9 to proceed:
84
-
85
- 0. [Method Name]
86
- 1. [Method Name]
87
- 2. [Method Name]
88
- 3. [Method Name]
89
- 4. [Method Name]
90
- 5. [Method Name]
91
- 6. [Method Name]
92
- 7. [Method Name]
93
- 8. [Method Name]
94
- 9. Proceed / No Further Actions
95
- ```
96
-
97
- **Response Handling:**
98
-
99
- - **Numbers 0-8**: Execute the selected method, then re-offer the choice
100
- - **Number 9**: Proceed to next section or continue conversation
101
- - **Direct Feedback**: Apply user's suggested changes and continue
102
-
103
- ### 4. Method Execution Framework
104
-
105
- **Execution Process:**
106
-
107
- 1. **Retrieve Method**: Access the specific elicitation method from the elicitation-methods data file
108
- 2. **Apply Context**: Execute the method from your current role's perspective
109
- 3. **Provide Results**: Deliver insights, critiques, or alternatives relevant to the content
110
- 4. **Re-offer Choice**: Present the same 9 options again until user selects 9 or gives direct feedback
111
-
112
- **Execution Guidelines:**
113
-
114
- - **Be Concise**: Focus on actionable insights, not lengthy explanations
115
- - **Stay Relevant**: Tie all elicitation back to the specific content being analyzed
116
- - **Identify Personas**: For multi-persona methods, clearly identify which viewpoint is speaking
117
- - **Maintain Flow**: Keep the process moving efficiently
@@ -1,355 +0,0 @@
1
- # Create Brownfield Story Task
2
-
3
- ## Purpose
4
-
5
- Create detailed, implementation-ready stories for brownfield projects where traditional sharded PRD/architecture documents may not exist. This task bridges the gap between various documentation formats (document-project output, brownfield PRDs, epics, or user documentation) and executable stories for the Dev agent.
6
-
7
- ## When to Use This Task
8
-
9
- **Use this task when:**
10
-
11
- - Working on brownfield projects with non-standard documentation
12
- - Stories need to be created from document-project output
13
- - Working from brownfield epics without full PRD/architecture
14
- - Existing project documentation doesn't follow BMad v4+ structure
15
- - Need to gather additional context from user during story creation
16
-
17
- **Use create-next-story when:**
18
-
19
- - Working with properly sharded PRD and v4 architecture documents
20
- - Following standard greenfield or well-documented brownfield workflow
21
- - All technical context is available in structured format
22
-
23
- ## Task Execution Instructions
24
-
25
- ### 0. Check Workflow Plan and Documentation Context
26
-
27
- [[LLM: Check for workflow plan first, then available documentation]]
28
-
29
- #### 0.1 Check Workflow Plan
30
-
31
- - Load core-config.yaml and check if `workflow.trackProgress: true`
32
- - If yes, check for active plan at `workflow.planFile`
33
- - If plan exists:
34
- - Verify story creation aligns with current plan step
35
- - If out of sequence, warn user (enforce based on config)
36
- - Note which step this story creation corresponds to
37
-
38
- #### 0.2 Determine Documentation Context
39
-
40
- Check for available documentation in this order:
41
-
42
- 1. **Sharded PRD/Architecture** (docs/prd/, docs/architecture/)
43
- - If found, recommend using create-next-story task instead
44
-
45
- 2. **Brownfield Architecture Document** (docs/brownfield-architecture.md or similar)
46
- - Created by document-project task
47
- - Contains actual system state, technical debt, workarounds
48
-
49
- 3. **Brownfield PRD** (docs/prd.md)
50
- - May contain embedded technical details
51
-
52
- 4. **Epic Files** (docs/epics/ or similar)
53
- - Created by brownfield-create-epic task
54
-
55
- 5. **User-Provided Documentation**
56
- - Ask user to specify location and format
57
-
58
- ### 1. Story Identification and Context Gathering
59
-
60
- #### 1.1 Identify Story Source
61
-
62
- Based on available documentation:
63
-
64
- - **From Brownfield PRD**: Extract stories from epic sections
65
- - **From Epic Files**: Read epic definition and story list
66
- - **From User Direction**: Ask user which specific enhancement to implement
67
- - **No Clear Source**: Work with user to define the story scope
68
-
69
- #### 1.2 Gather Essential Context
70
-
71
- [[LLM: For brownfield stories, you MUST gather enough context for safe implementation. Be prepared to ask the user for missing information.]]
72
-
73
- **Required Information Checklist:**
74
-
75
- - [ ] What existing functionality might be affected?
76
- - [ ] What are the integration points with current code?
77
- - [ ] What patterns should be followed (with examples)?
78
- - [ ] What technical constraints exist?
79
- - [ ] Are there any "gotchas" or workarounds to know about?
80
-
81
- If any required information is missing, ask the user:
82
-
83
- ```
84
- I need additional context for this brownfield story:
85
-
86
- Missing Information:
87
- - [List specific missing items]
88
-
89
- Please provide:
90
- 1. [Specific question about integration]
91
- 2. [Specific question about patterns]
92
- 3. [Specific question about constraints]
93
-
94
- Or point me to documentation that contains this information.
95
- ```
96
-
97
- ### 2. Extract Technical Context from Available Sources
98
-
99
- #### 2.1 From Document-Project Output
100
-
101
- If using brownfield-architecture.md from document-project:
102
-
103
- - **Technical Debt Section**: Note any workarounds affecting this story
104
- - **Key Files Section**: Identify files that will need modification
105
- - **Integration Points**: Find existing integration patterns
106
- - **Known Issues**: Check if story touches problematic areas
107
- - **Actual Tech Stack**: Verify versions and constraints
108
-
109
- #### 2.2 From Brownfield PRD
110
-
111
- If using brownfield PRD:
112
-
113
- - **Technical Constraints Section**: Extract all relevant constraints
114
- - **Integration Requirements**: Note compatibility requirements
115
- - **Code Organization**: Follow specified patterns
116
- - **Risk Assessment**: Understand potential impacts
117
-
118
- #### 2.3 From User Documentation
119
-
120
- [[LLM: When working with non-BMad documentation, actively extract and organize the information into categories the Dev agent will need]]
121
-
122
- Ask the user to help identify:
123
-
124
- - Relevant technical specifications
125
- - Existing code examples to follow
126
- - Integration requirements
127
- - Testing approaches used in the project
128
-
129
- ### 3. Story Creation with Progressive Detail Gathering
130
-
131
- #### 3.1 Create Initial Story Structure
132
-
133
- Start with the story template, filling in what's known:
134
-
135
- ```markdown
136
- # Story {{Enhancement Title}}
137
-
138
- ## Status: Draft
139
-
140
- ## Story
141
- As a {{user_type}},
142
- I want {{enhancement_capability}},
143
- so that {{value_delivered}}.
144
-
145
- ## Context Source
146
- [[LLM: Document where story requirements came from]]
147
- - Source Document: {{document name/type}}
148
- - Enhancement Type: {{single feature/bug fix/integration/etc}}
149
- - Existing System Impact: {{brief assessment}}
150
- ```
151
-
152
- #### 3.2 Develop Acceptance Criteria
153
-
154
- [[LLM: For brownfield, ALWAYS include criteria about maintaining existing functionality]]
155
-
156
- Standard structure:
157
-
158
- 1. New functionality works as specified
159
- 2. Existing {{affected feature}} continues to work unchanged
160
- 3. Integration with {{existing system}} maintains current behavior
161
- 4. No regression in {{related area}}
162
- 5. Performance remains within acceptable bounds
163
-
164
- #### 3.3 Gather Technical Guidance
165
-
166
- [[LLM: This is where you'll need to be interactive with the user if information is missing]]
167
-
168
- Create Dev Technical Guidance section with available information:
169
-
170
- ```markdown
171
- ## Dev Technical Guidance
172
-
173
- ### Existing System Context
174
- [Extract from available documentation]
175
-
176
- ### Integration Approach
177
- [Based on patterns found or ask user]
178
-
179
- ### Technical Constraints
180
- [From documentation or user input]
181
-
182
- ### Missing Information
183
- [[LLM: List anything you couldn't find that dev will need]]
184
- - [ ] {{missing item 1}}
185
- - [ ] {{missing item 2}}
186
- ```
187
-
188
- If critical information is missing, pause and ask:
189
-
190
- ```
191
- To complete the technical guidance for this story, I need:
192
-
193
- 1. **{{Missing Category}}**:
194
- - Specifically: {{what you need to know}}
195
- - Why needed: {{how it impacts implementation}}
196
-
197
- Can you provide this information or point me to relevant code/docs?
198
- ```
199
-
200
- ### 4. Task Generation with Safety Checks
201
-
202
- #### 4.1 Generate Implementation Tasks
203
-
204
- Based on gathered context, create tasks that:
205
-
206
- - Include exploration tasks if system understanding is incomplete
207
- - Add verification tasks for existing functionality
208
- - Include rollback considerations
209
- - Reference specific files/patterns when known
210
-
211
- Example task structure for brownfield:
212
-
213
- ```markdown
214
- ## Tasks / Subtasks
215
-
216
- - [ ] Task 1: Analyze existing {{component/feature}} implementation
217
- - [ ] Review {{specific files}} for current patterns
218
- - [ ] Document integration points
219
- - [ ] Identify potential impacts
220
-
221
- - [ ] Task 2: Implement {{new functionality}}
222
- - [ ] Follow pattern from {{example file}}
223
- - [ ] Integrate with {{existing component}}
224
- - [ ] Maintain compatibility with {{constraint}}
225
-
226
- - [ ] Task 3: Verify existing functionality
227
- - [ ] Test {{existing feature 1}} still works
228
- - [ ] Verify {{integration point}} behavior unchanged
229
- - [ ] Check performance impact
230
-
231
- - [ ] Task 4: Add tests
232
- - [ ] Unit tests following {{project test pattern}}
233
- - [ ] Integration test for {{integration point}}
234
- - [ ] Update existing tests if needed
235
- ```
236
-
237
- ### 5. Risk Assessment and Mitigation
238
-
239
- [[LLM: CRITICAL for brownfield - always include risk assessment]]
240
-
241
- Add section for brownfield-specific risks:
242
-
243
- ```markdown
244
- ## Risk Assessment
245
-
246
- ### Implementation Risks
247
- - **Primary Risk**: {{main risk to existing system}}
248
- - **Mitigation**: {{how to address}}
249
- - **Verification**: {{how to confirm safety}}
250
-
251
- ### Rollback Plan
252
- - {{Simple steps to undo changes if needed}}
253
-
254
- ### Safety Checks
255
- - [ ] Existing {{feature}} tested before changes
256
- - [ ] Changes can be feature-flagged or isolated
257
- - [ ] Rollback procedure documented
258
- ```
259
-
260
- ### 6. Final Story Validation
261
-
262
- Before finalizing:
263
-
264
- 1. **Completeness Check**:
265
- - [ ] Story has clear scope and acceptance criteria
266
- - [ ] Technical context is sufficient for implementation
267
- - [ ] Integration approach is defined
268
- - [ ] Risks are identified with mitigation
269
-
270
- 2. **Safety Check**:
271
- - [ ] Existing functionality protection included
272
- - [ ] Rollback plan is feasible
273
- - [ ] Testing covers both new and existing features
274
-
275
- 3. **Information Gaps**:
276
- - [ ] All critical missing information gathered from user
277
- - [ ] Remaining unknowns documented for dev agent
278
- - [ ] Exploration tasks added where needed
279
-
280
- ### 7. Story Output Format
281
-
282
- Save the story with appropriate naming:
283
-
284
- - If from epic: `docs/stories/epic-{n}-story-{m}.md`
285
- - If standalone: `docs/stories/brownfield-{feature-name}.md`
286
- - If sequential: Follow existing story numbering
287
-
288
- Include header noting documentation context:
289
-
290
- ```markdown
291
- # Story: {{Title}}
292
-
293
- <!-- Source: {{documentation type used}} -->
294
- <!-- Context: Brownfield enhancement to {{existing system}} -->
295
-
296
- ## Status: Draft
297
- [Rest of story content...]
298
- ```
299
-
300
- ### 8. Handoff Communication
301
-
302
- Provide clear handoff to the user:
303
-
304
- ```text
305
- Brownfield story created: {{story title}}
306
-
307
- Source Documentation: {{what was used}}
308
- Story Location: {{file path}}
309
-
310
- Key Integration Points Identified:
311
- - {{integration point 1}}
312
- - {{integration point 2}}
313
-
314
- Risks Noted:
315
- - {{primary risk}}
316
-
317
- {{If missing info}}:
318
- Note: Some technical details were unclear. The story includes exploration tasks to gather needed information during implementation.
319
-
320
- Next Steps:
321
- 1. Review story for accuracy
322
- 2. Verify integration approach aligns with your system
323
- 3. Approve story or request adjustments
324
- 4. Dev agent can then implement with safety checks
325
- ```
326
-
327
- ### 9. Update Workflow Plan (if applicable)
328
-
329
- [[LLM: After successful story creation]]
330
-
331
- - If workflow plan tracking is enabled and story was created successfully:
332
- - Call update-workflow-plan task to mark step complete
333
- - Parameters: task: create-brownfield-story, step_id: {from plan check}, status: complete
334
- - If plan shows next recommended step, include it in handoff message
335
-
336
- ## Success Criteria
337
-
338
- The brownfield story creation is successful when:
339
-
340
- 1. Story can be implemented without requiring dev to search multiple documents
341
- 2. Integration approach is clear and safe for existing system
342
- 3. All available technical context has been extracted and organized
343
- 4. Missing information has been identified and addressed
344
- 5. Risks are documented with mitigation strategies
345
- 6. Story includes verification of existing functionality
346
- 7. Rollback approach is defined
347
-
348
- ## Important Notes
349
-
350
- - This task is specifically for brownfield projects with non-standard documentation
351
- - Always prioritize existing system safety over new features
352
- - When in doubt, add exploration and verification tasks
353
- - It's better to ask the user for clarification than make assumptions
354
- - Each story should be self-contained for the dev agent
355
- - Include references to existing code patterns when available