bmad-method 4.27.5 → 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 -30
  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 -25
  10. package/{bmad-core → .bmad-core}/agents/po.md +24 -28
  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.yaml → .bmad-core/workflows/greenfield-fullstack.yml} +77 -140
  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 -452
  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 -15
  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 +5 -123
  132. package/tools/installer/lib/ide-setup.js +189 -545
  133. package/tools/installer/lib/installer.js +55 -1136
  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 -63
  153. package/bmad-core/agents/bmad-master.md +0 -110
  154. package/bmad-core/agents/bmad-orchestrator.md +0 -140
  155. package/bmad-core/agents/dev.md +0 -57
  156. package/bmad-core/agents/qa.md +0 -55
  157. package/bmad-core/agents/sm.md +0 -46
  158. package/bmad-core/agents/ux-expert.md +0 -54
  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 -114
  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/utils/plan-management.md +0 -219
  187. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  188. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  189. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  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 -9588
  198. package/dist/agents/bmad-orchestrator.txt +0 -2232
  199. package/dist/agents/qa.txt +0 -388
  200. package/dist/agents/sm.txt +0 -673
  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 -11730
  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 -11799
  209. package/dist/teams/team-fullstack.txt +0 -11129
  210. package/dist/teams/team-ide-minimal.txt +0 -4573
  211. package/dist/teams/team-no-ui.txt +0 -9684
  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 -60
  229. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -68
  230. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -53
  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 -55
  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
@@ -0,0 +1,74 @@
1
+ # Core Dump Task
2
+
3
+ ## Purpose
4
+
5
+ To create a concise memory recording file (`.ai/core-dump-n.md`) that captures the essential context of the current agent session, enabling seamless continuation of work in future agent sessions. This task ensures persistent context across agent conversations while maintaining minimal token usage for efficient context loading.
6
+
7
+ ## Inputs for this Task
8
+
9
+ - Current session conversation history and accomplishments
10
+ - Files created, modified, or deleted during the session
11
+ - Key decisions made and procedures followed
12
+ - Current project state and next logical steps
13
+ - User requests and agent responses that shaped the session
14
+
15
+ ## Task Execution Instructions
16
+
17
+ ### 0. Check Existing Core Dump
18
+
19
+ Before proceeding, check if `.ai/core-dump.md` already exists:
20
+
21
+ - If file exists, ask user: "Core dump file exists. Should I: 1. Overwrite, 2. Update, 3. Append or 4. Create new?"
22
+ - **Overwrite**: Replace entire file with new content
23
+ - **Update**: Merge new session info with existing content, updating relevant sections
24
+ - **Append**: Add new session as a separate entry while preserving existing content
25
+ - **Create New**: Create a new file, appending the next possible -# to the file, such as core-dump-3.md if 1 and 2 already exist.
26
+ - If file doesn't exist, proceed with creation of `core-dump-1.md`
27
+
28
+ ### 1. Analyze Session Context
29
+
30
+ - Review the entire conversation to identify key accomplishments
31
+ - Note any specific tasks, procedures, or workflows that were executed
32
+ - Identify important decisions made or problems solved
33
+ - Capture the user's working style and preferences observed during the session
34
+
35
+ ### 2. Document What Was Accomplished
36
+
37
+ - **Primary Actions**: List the main tasks completed concisely
38
+ - **Story Progress**: For story work, use format "Tasks Complete: 1-6, 8. Next Task Pending: 7, 9"
39
+ - **Problem Solving**: Document any challenges encountered and how they were resolved
40
+ - **User Communications**: Summarize key user requests, preferences, and discussion points
41
+
42
+ ### 3. Record File System Changes (Concise Format)
43
+
44
+ - **Files Created**: `filename.ext` (brief purpose/size)
45
+ - **Files Modified**: `filename.ext` (what changed)
46
+ - **Files Deleted**: `filename.ext` (why removed)
47
+ - Focus on essential details, avoid verbose descriptions
48
+
49
+ ### 4. Capture Current Project State
50
+
51
+ - **Project Progress**: Where the project stands after this session
52
+ - **Current Issues**: Any blockers or problems that need resolution
53
+ - **Next Logical Steps**: What would be the natural next actions to take
54
+
55
+ ### 5. Create/Update Core Dump File
56
+
57
+ Based on user's choice from step 0, handle the file accordingly:
58
+
59
+ ### 6. Optimize for Minimal Context
60
+
61
+ - Keep descriptions concise but informative
62
+ - Use abbreviated formats where possible (file sizes, task numbers)
63
+ - Focus on actionable information rather than detailed explanations
64
+ - Avoid redundant information that can be found in project documentation
65
+ - Prioritize information that would be lost without this recording
66
+ - Ensure the file can be quickly scanned and understood
67
+
68
+ ### 7. Validate Completeness
69
+
70
+ - Verify all significant session activities are captured
71
+ - Ensure a future agent could understand the current state
72
+ - Check that file changes are accurately recorded
73
+ - Confirm next steps are clear and actionable
74
+ - Verify user communication style and preferences are noted
@@ -1,10 +1,10 @@
1
1
  # Create Agent Task
2
2
 
3
- This task guides you through creating a new BMad agent following the standard template.
3
+ This task guides you through creating a new BMAD agent following the standard template.
4
4
 
5
5
  ## Prerequisites
6
6
 
7
- - Agent template: `../templates/agent-tmpl.md`
7
+ - Agent template: `.bmad-core/templates/agent-tmpl.md`
8
8
  - Target directory: `.bmad-core/agents/`
9
9
 
10
10
  ## Steps
@@ -55,7 +55,7 @@ Determine:
55
55
 
56
56
  **Track Created Items:**
57
57
 
58
- ```text
58
+ ```
59
59
  Created during agent setup:
60
60
  - Tasks:
61
61
  - [ ] task-name-1.md
@@ -104,7 +104,7 @@ Ensure:
104
104
 
105
105
  Present to the user:
106
106
 
107
- ```text
107
+ ```
108
108
  ✅ Agent Created: [agent-name]
109
109
  Location: .bmad-core/agents/[agent-id].md
110
110
 
@@ -141,11 +141,13 @@ agent:
141
141
  name: Data Analyst
142
142
  id: data-analyst
143
143
  title: Data Analysis Specialist
144
+
144
145
  persona:
145
146
  role: Expert in data analysis, visualization, and insights extraction
146
147
  style: analytical, data-driven, clear, methodical
147
148
  identity: I am a seasoned data analyst who transforms raw data into actionable insights
148
149
  focus: data exploration, statistical analysis, visualization, reporting
150
+
149
151
  core_principles:
150
152
  - Data integrity and accuracy above all
151
153
  - Clear communication of complex findings
@@ -183,12 +185,12 @@ When a required task or template doesn't exist:
183
185
  ```yaml
184
186
  dependencies:
185
187
  tasks:
186
- - create-doc
187
- - analyze-requirements
188
- - generate-report
188
+ - create-doc # Required if agent creates any documents
189
+ - analyze-requirements # Custom task for this agent
190
+ - generate-report # Another custom task
189
191
  templates:
190
- - requirements-doc
191
- - analysis-report
192
+ - requirements-doc # Template for requirements documents
193
+ - analysis-report # Template for analysis reports
192
194
  ```
193
195
 
194
196
  ## Notes
@@ -0,0 +1,74 @@
1
+ # Create Document from Template Task
2
+
3
+ ## Purpose
4
+
5
+ - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
6
+
7
+ ## Instructions
8
+
9
+ ### 1. Identify Template and Context
10
+
11
+ - Determine which template to use (user-provided or list available for selection to user)
12
+
13
+ - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
14
+
15
+ @{example}
16
+ dependencies:
17
+ templates: - prd-tmpl - architecture-tmpl
18
+ @{/example}
19
+
20
+ You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
21
+
22
+ - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
23
+ - Understand the document purpose and target audience
24
+
25
+ ### 2. Determine Interaction Mode
26
+
27
+ Confirm with the user their preferred interaction style:
28
+
29
+ - **Incremental:** Work through chunks of the document.
30
+ - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
31
+
32
+ ### 3. Execute Template
33
+
34
+ - Load specified template from `templates#*` or the /templates directory
35
+ - Follow ALL embedded LLM instructions within the template
36
+ - Process template markup according to `utils#template-format` conventions
37
+
38
+ ### 4. Template Processing Rules
39
+
40
+ #### CRITICAL: Never display template markup, LLM instructions, or examples to users
41
+
42
+ - Replace all {{placeholders}} with actual content
43
+ - Execute all [[LLM: instructions]] internally
44
+ - Process `<<REPEAT>>` sections as needed
45
+ - Evaluate ^^CONDITION^^ blocks and include only if applicable
46
+ - Use @{examples} for guidance but never output them
47
+
48
+ ### 5. Content Generation
49
+
50
+ - **Incremental Mode**: Present each major section for review before proceeding
51
+ - **YOLO Mode**: Generate all sections, then review complete document with user
52
+ - Apply any elicitation protocols specified in template
53
+ - Incorporate user feedback and iterate as needed
54
+
55
+ ### 6. Validation
56
+
57
+ If template specifies a checklist:
58
+
59
+ - Run the appropriate checklist against completed document
60
+ - Document completion status for each item
61
+ - Address any deficiencies found
62
+ - Present validation summary to user
63
+
64
+ ### 7. Final Presentation
65
+
66
+ - Present clean, formatted content only
67
+ - Ensure all sections are complete
68
+ - DO NOT truncate or summarize content
69
+ - Begin directly with document content (no preamble)
70
+ - Include any handoff prompts specified in template
71
+
72
+ ## Important Notes
73
+
74
+ - Template markup is for AI processing only - never expose to users
@@ -0,0 +1,425 @@
1
+ # Create Expansion Pack Task
2
+
3
+ This task helps you create a comprehensive BMAD expansion pack that can include new agents, tasks, templates, and checklists for a specific domain.
4
+
5
+ ## Understanding Expansion Packs
6
+
7
+ Expansion packs extend BMAD with domain-specific capabilities. They are self-contained packages that can be installed into any BMAD project. Every expansion pack MUST include a custom BMAD orchestrator agent that manages the domain-specific workflow.
8
+
9
+ ## CRITICAL REQUIREMENTS
10
+
11
+ 1. **Create Planning Document First**: Before any implementation, create a concise task list for user approval
12
+ 2. **Verify All References**: Any task, template, or data file referenced in an agent MUST exist in the pack
13
+ 3. **Include Orchestrator**: Every pack needs a custom BMAD-style orchestrator agent
14
+ 4. **User Data Requirements**: Clearly specify any files users must provide in their data folder
15
+
16
+ ## Process Overview
17
+
18
+ ### Phase 1: Discovery and Planning
19
+
20
+ #### 1.1 Define the Domain
21
+
22
+ Ask the user:
23
+
24
+ - **Pack Name**: Short identifier (e.g., `healthcare`, `fintech`, `gamedev`)
25
+ - **Display Name**: Full name (e.g., "Healthcare Compliance Pack")
26
+ - **Description**: What domain or industry does this serve?
27
+ - **Key Problems**: What specific challenges will this pack solve?
28
+ - **Target Users**: Who will benefit from this expansion?
29
+
30
+ #### 1.2 Gather Examples
31
+
32
+ Request from the user:
33
+
34
+ - **Sample Documents**: Any existing documents in this domain
35
+ - **Workflow Examples**: How work currently flows in this domain
36
+ - **Compliance Needs**: Any regulatory or standards requirements
37
+ - **Output Examples**: What final deliverables look like
38
+ - **Data Requirements**: What reference data files users will need to provide
39
+
40
+ #### 1.3 Create Planning Document
41
+
42
+ IMPORTANT: STOP HERE AND CREATE PLAN FIRST
43
+
44
+ Create `expansion-packs/{pack-name}/plan.md` with:
45
+
46
+ ```markdown
47
+ # {Pack Name} Expansion Pack Plan
48
+
49
+ ## Overview
50
+
51
+ - Pack Name: {name}
52
+ - Description: {description}
53
+ - Target Domain: {domain}
54
+
55
+ ## Components to Create
56
+
57
+ ### Agents
58
+
59
+ - [ ] {pack-name}-orchestrator (REQUIRED: Custom BMAD orchestrator)
60
+ - [ ] {agent-1-name}
61
+ - [ ] {agent-2-name}
62
+
63
+ ### Tasks
64
+
65
+ - [ ] {task-1} (referenced by: {agent})
66
+ - [ ] {task-2} (referenced by: {agent})
67
+
68
+ ### Templates
69
+
70
+ - [ ] {template-1} (used by: {agent/task})
71
+ - [ ] {template-2} (used by: {agent/task})
72
+
73
+ ### Checklists
74
+
75
+ - [ ] {checklist-1}
76
+ - [ ] {checklist-2}
77
+
78
+ ### Data Files Required from User
79
+
80
+ - [ ] {filename}.{ext} - {description of content needed}
81
+ - [ ] {filename2}.{ext} - {description of content needed}
82
+
83
+ ## Approval
84
+
85
+ User approval received: [ ] Yes
86
+ ```
87
+
88
+ Important: Wait for user approval before proceeding to Phase 2
89
+
90
+ ### Phase 2: Component Design
91
+
92
+ #### 2.1 Create Orchestrator Agent
93
+
94
+ **FIRST PRIORITY**: Design the custom BMAD orchestrator:
95
+
96
+ - **Name**: `{pack-name}-orchestrator`
97
+ - **Purpose**: Master coordinator for domain-specific workflow
98
+ - **Key Commands**: Domain-specific orchestration commands
99
+ - **Integration**: How it leverages other pack agents
100
+ - **Workflow**: The complete process it manages
101
+
102
+ #### 2.2 Identify Specialist Agents
103
+
104
+ For each additional agent:
105
+
106
+ - **Role**: What specialist is needed?
107
+ - **Expertise**: Domain-specific knowledge required
108
+ - **Interactions**: How they work with orchestrator and BMAD agents
109
+ - **Unique Value**: What can't existing agents handle?
110
+ - **Required Tasks**: List ALL tasks this agent references
111
+ - **Required Templates**: List ALL templates this agent uses
112
+ - **Required Data**: List ALL data files this agent needs
113
+
114
+ #### 2.3 Design Specialized Tasks
115
+
116
+ For each task:
117
+
118
+ - **Purpose**: What specific action does it enable?
119
+ - **Inputs**: What information is needed?
120
+ - **Process**: Step-by-step instructions
121
+ - **Outputs**: What gets produced?
122
+ - **Agent Usage**: Which agents will use this task?
123
+
124
+ #### 2.4 Create Document Templates
125
+
126
+ For each template:
127
+
128
+ - **Document Type**: What kind of document?
129
+ - **Structure**: Sections and organization
130
+ - **Placeholders**: Variable content areas
131
+ - **Instructions**: How to complete each section
132
+ - **Standards**: Any format requirements
133
+
134
+ #### 2.5 Define Checklists
135
+
136
+ For each checklist:
137
+
138
+ - **Purpose**: What quality aspect does it verify?
139
+ - **Scope**: When should it be used?
140
+ - **Items**: Specific things to check
141
+ - **Criteria**: Pass/fail conditions
142
+
143
+ ### Phase 3: Implementation
144
+
145
+ IMPORTANT: Only proceed after plan.md is approved
146
+
147
+ #### 3.1 Create Directory Structure
148
+
149
+ ```text
150
+ expansion-packs/
151
+ └── {pack-name}/
152
+ ├── plan.md (ALREADY CREATED)
153
+ ├── manifest.yml
154
+ ├── README.md
155
+ ├── agents/
156
+ │ ├── {pack-name}-orchestrator.yml (REQUIRED)
157
+ │ └── {agent-id}.yml
158
+ ├── personas/
159
+ │ ├── {pack-name}-orchestrator.md (REQUIRED)
160
+ │ └── {agent-id}.md
161
+ ├── tasks/
162
+ │ └── {task-name}.md
163
+ ├── templates/
164
+ │ └── {template-name}.md
165
+ ├── checklists/
166
+ │ └── {checklist-name}.md
167
+ └── ide-agents/
168
+ ├── {pack-name}-orchestrator.ide.md (REQUIRED)
169
+ └── {agent-id}.ide.md
170
+ ```
171
+
172
+ #### 3.2 Create Manifest
173
+
174
+ Create `manifest.yml`:
175
+
176
+ ```yaml
177
+ name: {pack-name}
178
+ version: 1.0.0
179
+ description: >-
180
+ {Detailed description of the expansion pack}
181
+ author: {Your name or organization}
182
+ bmad_version: "4.0.0"
183
+
184
+ # Files to create in the expansion pack
185
+ files:
186
+ agents:
187
+ - {pack-name}-orchestrator.yml
188
+ - {agent-name}.yml
189
+
190
+ personas:
191
+ - {pack-name}-orchestrator.md
192
+ - {agent-name}.md
193
+
194
+ ide-agents:
195
+ - {pack-name}-orchestrator.ide.md
196
+ - {agent-name}.ide.md
197
+
198
+ tasks:
199
+ - {task-name}.md
200
+
201
+ templates:
202
+ - {template-name}.md
203
+
204
+ checklists:
205
+ - {checklist-name}.md
206
+
207
+ # Data files users must provide
208
+ required_data:
209
+ - filename: {data-file}.{ext}
210
+ description: {What this file should contain}
211
+ location: bmad-core/data/
212
+
213
+ # Dependencies on core BMAD components
214
+ dependencies:
215
+ - {core-agent-name}
216
+ - {core-task-name}
217
+
218
+ # Post-install message
219
+ post_install_message: |
220
+ {Pack Name} expansion pack ready!
221
+
222
+ Required data files:
223
+ - {data-file}.{ext}: {description}
224
+
225
+ To use: npm run agent {pack-name}-orchestrator
226
+ ```
227
+
228
+ ### Phase 4: Content Creation
229
+
230
+ IMPORTANT: Work through plan.md checklist systematically!
231
+
232
+ #### 4.1 Create Orchestrator First
233
+
234
+ 1. Create `personas/{pack-name}-orchestrator.md` with BMAD-style commands
235
+ 2. Create `agents/{pack-name}-orchestrator.yml` configuration
236
+ 3. Create `ide-agents/{pack-name}-orchestrator.ide.md`
237
+ 4. Verify ALL referenced tasks exist
238
+ 5. Verify ALL referenced templates exist
239
+ 6. Document data file requirements
240
+
241
+ #### 4.2 Agent Creation Order
242
+
243
+ For each additional agent:
244
+
245
+ 1. Create persona file with domain expertise
246
+ 2. Create agent configuration YAML
247
+ 3. Create IDE-optimized version
248
+ 4. **STOP** - Verify all referenced tasks/templates exist
249
+ 5. Create any missing tasks/templates immediately
250
+ 6. Mark agent as complete in plan.md
251
+
252
+ #### 4.3 Task Creation Guidelines
253
+
254
+ Each task should:
255
+
256
+ 1. Have a clear, single purpose
257
+ 2. Include step-by-step instructions
258
+ 3. Provide examples when helpful
259
+ 4. Reference domain standards
260
+ 5. Be reusable across agents
261
+
262
+ #### 4.4 Template Best Practices
263
+
264
+ Templates should:
265
+
266
+ 1. Include clear section headers
267
+ 2. Provide inline instructions
268
+ 3. Show example content
269
+ 4. Mark required vs optional sections
270
+ 5. Include domain-specific terminology
271
+
272
+ ### Phase 5: Verification and Documentation
273
+
274
+ #### 5.1 Final Verification Checklist
275
+
276
+ Before declaring complete:
277
+
278
+ 1. [ ] All items in plan.md marked complete
279
+ 2. [ ] Orchestrator agent created and tested
280
+ 3. [ ] All agent references validated
281
+ 4. [ ] All required data files documented
282
+ 5. [ ] manifest.yml lists all components
283
+ 6. [ ] No orphaned tasks or templates
284
+
285
+ #### 5.2 Create README
286
+
287
+ Include:
288
+
289
+ - Overview of the pack's purpose
290
+ - **Orchestrator usage instructions**
291
+ - Required data files and formats
292
+ - List of all components
293
+ - Integration with BMAD workflow
294
+ - Example scenarios
295
+
296
+ #### 5.3 Data File Documentation
297
+
298
+ For each required data file:
299
+
300
+ ```markdown
301
+ ## Required Data Files
302
+
303
+ ### {filename}.{ext}
304
+
305
+ - **Purpose**: {why this file is needed}
306
+ - **Format**: {file format and structure}
307
+ - **Location**: Place in `bmad-core/data/`
308
+ - **Example**:
309
+ ```
310
+
311
+ ## Example: Healthcare Expansion Pack
312
+
313
+ ```text
314
+ healthcare/
315
+ ├── plan.md (Created first for approval)
316
+ ├── manifest.yml
317
+ ├── README.md
318
+ ├── agents/
319
+ │ ├── healthcare-orchestrator.yml (REQUIRED)
320
+ │ ├── clinical-analyst.yml
321
+ │ └── compliance-officer.yml
322
+ ├── personas/
323
+ │ ├── healthcare-orchestrator.md (REQUIRED)
324
+ │ ├── clinical-analyst.md
325
+ │ └── compliance-officer.md
326
+ ├── ide-agents/
327
+ │ ├── healthcare-orchestrator.ide.md (REQUIRED)
328
+ │ ├── clinical-analyst.ide.md
329
+ │ └── compliance-officer.ide.md
330
+ ├── tasks/
331
+ │ ├── hipaa-assessment.md
332
+ │ ├── clinical-protocol-review.md
333
+ │ └── patient-data-analysis.md
334
+ ├── templates/
335
+ │ ├── clinical-trial-protocol.md
336
+ │ ├── hipaa-compliance-report.md
337
+ │ └── patient-outcome-report.md
338
+ └── checklists/
339
+ ├── hipaa-checklist.md
340
+ └── clinical-data-quality.md
341
+
342
+ Required user data files:
343
+ - bmad-core/data/medical-terminology.md
344
+ - bmad-core/data/hipaa-requirements.md
345
+ ```
346
+
347
+ ## Interactive Questions Flow
348
+
349
+ ### Initial Discovery
350
+
351
+ 1. "What domain or industry will this expansion pack serve?"
352
+ 2. "What are the main challenges or workflows in this domain?"
353
+ 3. "Do you have any example documents or outputs? (Please share)"
354
+ 4. "What specialized roles/experts exist in this domain?"
355
+ 5. "What reference data will users need to provide?"
356
+
357
+ ### Planning Phase
358
+
359
+ 1. "Here's the proposed plan. Please review and approve before we continue."
360
+
361
+ ### Orchestrator Design
362
+
363
+ 1. "What key commands should the {pack-name} orchestrator support?"
364
+ 2. "What's the typical workflow from start to finish?"
365
+ 3. "How should it integrate with core BMAD agents?"
366
+
367
+ ### Agent Planning
368
+
369
+ 1. "For agent '{name}', what is their specific expertise?"
370
+ 2. "What tasks will this agent reference? (I'll create them)"
371
+ 3. "What templates will this agent use? (I'll create them)"
372
+ 4. "What data files will this agent need? (You'll provide these)"
373
+
374
+ ### Task Design
375
+
376
+ 1. "Describe the '{task}' process step-by-step"
377
+ 2. "What information is needed to complete this task?"
378
+ 3. "What should the output look like?"
379
+
380
+ ### Template Creation
381
+
382
+ 1. "What sections should the '{template}' document have?"
383
+ 2. "Are there any required formats or standards?"
384
+ 3. "Can you provide an example of a completed document?"
385
+
386
+ ### Data Requirements
387
+
388
+ 1. "For {data-file}, what information should it contain?"
389
+ 2. "What format should this data be in?"
390
+ 3. "Can you provide a sample?"
391
+
392
+ ## Important Considerations
393
+
394
+ - **Plan First**: ALWAYS create and get approval for plan.md before implementing
395
+ - **Orchestrator Required**: Every pack MUST have a custom BMAD orchestrator
396
+ - **Verify References**: ALL referenced tasks/templates MUST exist
397
+ - **Document Data Needs**: Clearly specify what users must provide
398
+ - **Domain Expertise**: Ensure accuracy in specialized fields
399
+ - **Compliance**: Include necessary regulatory requirements
400
+
401
+ ## Tips for Success
402
+
403
+ 1. **Plan Thoroughly**: The plan.md prevents missing components
404
+ 2. **Build Orchestrator First**: It defines the overall workflow
405
+ 3. **Verify As You Go**: Check off items in plan.md
406
+ 4. **Test References**: Ensure no broken dependencies
407
+ 5. **Document Data**: Users need clear data file instructions
408
+
409
+ ## Common Mistakes to Avoid
410
+
411
+ 1. **Missing Orchestrator**: Every pack needs its own BMAD-style orchestrator
412
+ 2. **Orphaned References**: Agent references task that doesn't exist
413
+ 3. **Unclear Data Needs**: Not specifying required user data files
414
+ 4. **Skipping Plan**: Going straight to implementation
415
+ 5. **Generic Orchestrator**: Not making it domain-specific
416
+
417
+ ## Completion Checklist
418
+
419
+ - [ ] plan.md created and approved
420
+ - [ ] All plan.md items checked off
421
+ - [ ] Orchestrator agent created
422
+ - [ ] All agent references verified
423
+ - [ ] Data requirements documented or added
424
+ - [ ] README includes all setup instructions
425
+ - [ ] manifest.yml reflects actual files