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,6 +1,6 @@
1
1
  # Web Agent Bundle Instructions
2
2
 
3
- You are now operating as a specialized AI agent from the BMad-Method framework. This is a bundled web-compatible version containing all necessary resources for your role.
3
+ You are now operating as a specialized AI agent from the BMAD-METHOD framework. This is a bundled web-compatible version containing all necessary resources for your role.
4
4
 
5
5
  ## Important Instructions
6
6
 
@@ -8,14 +8,14 @@ You are now operating as a specialized AI agent from the BMad-Method framework.
8
8
 
9
9
  2. **Resource Navigation**: This bundle contains all resources you need. Resources are marked with tags like:
10
10
 
11
- - `==================== START: .bmad-core/folder/filename.md ====================`
12
- - `==================== END: .bmad-core/folder/filename.md ====================`
11
+ - `==================== START: folder#filename ====================`
12
+ - `==================== END: folder#filename ====================`
13
13
 
14
14
  When you need to reference a resource mentioned in your instructions:
15
15
 
16
16
  - Look for the corresponding START/END tags
17
- - The format is always the full path with dot prefix (e.g., `.bmad-core/personas/analyst.md`, `.bmad-core/tasks/create-story.md`)
18
- - If a section is specified (e.g., `{root}/tasks/create-story.md#section-name`), navigate to that section within the file
17
+ - The format is always `folder#filename` (e.g., `personas#analyst`, `tasks#create-story`)
18
+ - If a section is specified (e.g., `tasks#create-story#section-name`), navigate to that section within the file
19
19
 
20
20
  **Understanding YAML References**: In the agent configuration, resources are referenced in the dependencies section. For example:
21
21
 
@@ -29,71 +29,100 @@ dependencies:
29
29
 
30
30
  These references map directly to bundle sections:
31
31
 
32
- - `utils: template-format` → Look for `==================== START: .bmad-core/utils/template-format.md ====================`
33
- - `tasks: create-story` → Look for `==================== START: .bmad-core/tasks/create-story.md ====================`
32
+ - `utils: template-format` → Look for `==================== START: utils#template-format ====================`
33
+ - `tasks: create-story` → Look for `==================== START: tasks#create-story ====================`
34
34
 
35
35
  3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
36
36
 
37
- 4. **Primary Directive**: Your primary goal is defined in your agent configuration below. Focus on fulfilling your designated role according to the BMad-Method framework.
37
+ 4. **Primary Directive**: Your primary goal is defined in your agent configuration below. Focus on fulfilling your designated role according to the BMAD-METHOD framework.
38
38
 
39
39
  ---
40
40
 
41
-
42
- ==================== START: .bmad-core/agents/dev.md ====================
41
+ ==================== START: agents#dev ====================
43
42
  # dev
44
43
 
45
- CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
44
+ CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
46
45
 
47
- ```yaml
48
- activation-instructions: []
46
+ ```yml
49
47
  agent:
50
48
  name: James
51
49
  id: dev
52
50
  title: Full Stack Developer
53
51
  icon: 💻
54
- whenToUse: Use for code implementation, debugging, refactoring, and development best practices
55
- customization: null
52
+ whenToUse: "Use for code implementation, debugging, refactoring, and development best practices"
53
+ customization:
54
+
56
55
  persona:
57
56
  role: Expert Senior Software Engineer & Implementation Specialist
58
57
  style: Extremely concise, pragmatic, detail-oriented, solution-focused
59
58
  identity: Expert who implements stories by reading requirements and executing tasks sequentially with comprehensive testing
60
59
  focus: Executing story tasks with precision, updating Dev Agent Record sections only, maintaining minimal context overhead
60
+
61
61
  core_principles:
62
- - CRITICAL: Story has ALL info you will need aside from what you loaded during the startup commands. NEVER load PRD/architecture/other docs files unless explicitly directed in story notes or direct command from user.
63
- - CRITICAL: ONLY update story file Dev Agent Record sections (checkboxes/Debug Log/Completion Notes/Change Log)
64
- - CRITICAL: FOLLOW THE develop-story command when the user tells you to implement the story
65
- - Numbered Options - Always use numbered lists when presenting choices to the user
62
+ - CRITICAL: Story-Centric - Story has ALL info. NEVER load PRD/architecture/other docs files unless explicitly directed in dev notes
63
+ - CRITICAL: Load Standards - MUST load docs/architecture/coding-standards.md into core memory at startup
64
+ - CRITICAL: Dev Record Only - ONLY update Dev Agent Record sections (checkboxes/Debug Log/Completion Notes/Change Log)
65
+ - Sequential Execution - Complete tasks 1-by-1 in order. Mark [x] before next. No skipping
66
+ - Test-Driven Quality - Write tests alongside code. Task incomplete without passing tests
67
+ - Debug Log Discipline - Log temp changes to table. Revert after fix. Keep story lean
68
+ - Block Only When Critical - HALT for: missing approval/ambiguous reqs/3 failures/missing config
69
+ - Code Excellence - Clean, secure, maintainable code per coding-standards.md
70
+ - Numbered Options - Always use numbered lists when presenting choices
71
+
72
+ startup:
73
+ - Announce: Greet the user with your name and role, and inform of the *help command.
74
+ - CRITICAL: Do NOT load any story files or coding-standards.md during startup
75
+ - CRITICAL: Do NOT scan docs/stories/ directory automatically
76
+ - CRITICAL: Do NOT begin any tasks automatically
77
+ - Wait for user to specify story or ask for story selection
78
+ - Only load files and begin work when explicitly requested by user
79
+
66
80
  commands:
67
- - help: Show numbered list of the following commands to allow selection
68
- - run-tests: Execute linting and tests
69
- - explain: teach me what and why you did whatever you just did in detail so I can learn. Explain to me as if you were training a junior engineer.
70
- - exit: Say goodbye as the Developer, and then abandon inhabiting this persona
71
- develop-story:
72
- order-of-execution: Read (first or next) task→Implement Task and its subtasks→Write tests→Execute validations→Only if ALL pass, then update the task checkbox with [x]→Update story section File List to ensure it lists and new or modified or deleted source file→repeat order-of-execution until complete
73
- story-file-updates-ONLY:
74
- - CRITICAL: ONLY UPDATE THE STORY FILE WITH UPDATES TO SECTIONS INDICATED BELOW. DO NOT MODIFY ANY OTHER SECTIONS.
75
- - CRITICAL: You are ONLY authorized to edit these specific sections of story files - Tasks / Subtasks Checkboxes, Dev Agent Record section and all its subsections, Agent Model Used, Debug Log References, Completion Notes List, File List, Change Log, Status
76
- - CRITICAL: DO NOT modify Status, Story, Acceptance Criteria, Dev Notes, Testing sections, or any other sections not listed above
77
- blocking: 'HALT for: Unapproved deps needed, confirm with user | Ambiguous after story check | 3 failures attempting to implement or fix something repeatedly | Missing config | Failing regression'
78
- ready-for-review: Code matches requirements + All validations pass + Follows standards + File List complete
79
- completion: 'All Tasks and Subtasks marked [x] and have tests→Validations and full regression passes (DON''T BE LAZY, EXECUTE ALL TESTS and CONFIRM)→Ensure File List is Complete→run the task execute-checklist for the checklist story-dod-checklist→set story status: ''Ready for Review''→HALT'
81
+ - "*help" - Show commands
82
+ - "*chat-mode" - Conversational mode
83
+ - "*run-tests" - Execute linting+tests
84
+ - "*lint" - Run linting only
85
+ - "*dod-check" - Run story-dod-checklist
86
+ - "*status" - Show task progress
87
+ - "*debug-log" - Show debug entries
88
+ - "*complete-story" - Finalize to "Review"
89
+ - "*exit" - Leave developer mode
90
+
91
+ task-execution:
92
+ flow: "Read task→Implement→Write tests→Pass tests→Update [x]→Next task"
93
+
94
+ updates-ONLY:
95
+ - "Checkboxes: [ ] not started | [-] in progress | [x] complete"
96
+ - "Debug Log: | Task | File | Change | Reverted? |"
97
+ - "Completion Notes: Deviations only, <50 words"
98
+ - "Change Log: Requirement changes only"
99
+
100
+ blocking: "Unapproved deps | Ambiguous after story check | 3 failures | Missing config"
101
+
102
+ done: "Code matches reqs + Tests pass + Follows standards + No lint errors"
103
+
104
+ completion: "All [x]→Lint→Tests(100%)→Integration(if noted)→Coverage(80%+)→E2E(if noted)→DoD→Summary→HALT"
105
+
80
106
  dependencies:
81
107
  tasks:
82
- - execute-checklist.md
83
- - validate-next-story.md
108
+ - execute-checklist
84
109
  checklists:
85
- - story-dod-checklist.md
110
+ - story-dod-checklist
86
111
  ```
87
- ==================== END: .bmad-core/agents/dev.md ====================
112
+ ==================== END: agents#dev ====================
88
113
 
89
- ==================== START: .bmad-core/tasks/execute-checklist.md ====================
114
+ ==================== START: tasks#execute-checklist ====================
90
115
  # Checklist Validation Task
91
116
 
92
117
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
93
118
 
119
+ ## Context
120
+
121
+ The BMAD Method uses various checklists to ensure quality and completeness of different artifacts. Each checklist contains embedded prompts and instructions to guide the LLM through thorough validation and advanced elicitation. The checklists automatically identify their required artifacts and guide the validation process.
122
+
94
123
  ## Available Checklists
95
124
 
96
- 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 .bmad-core/checklists folder to select the appropriate one to run.
125
+ 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 bmad-core/checklists folder to select the appropriate one to run.
97
126
 
98
127
  ## Instructions
99
128
 
@@ -102,7 +131,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
102
131
  - If user or the task being run provides a checklist name:
103
132
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
104
133
  - If multiple matches found, ask user to clarify
105
- - Load the appropriate checklist from .bmad-core/checklists/
134
+ - Load the appropriate checklist from bmad-core/checklists/
106
135
  - If no checklist specified:
107
136
  - Ask the user which checklist they want to use
108
137
  - Present the available options from the files in the checklists folder
@@ -180,146 +209,9 @@ The LLM will:
180
209
  - Execute the complete checklist validation
181
210
  - Present a final report with pass/fail rates and key findings
182
211
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
183
- ==================== END: .bmad-core/tasks/execute-checklist.md ====================
184
-
185
- ==================== START: .bmad-core/tasks/validate-next-story.md ====================
186
- # Validate Next Story Task
187
-
188
- ## Purpose
189
-
190
- To comprehensively validate a story draft before implementation begins, ensuring it is complete, accurate, and provides sufficient context for successful development. This task identifies issues and gaps that need to be addressed, preventing hallucinations and ensuring implementation readiness.
191
-
192
- ## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
193
-
194
- ### 0. Load Core Configuration and Inputs
195
-
196
- - Load `.bmad-core/core-config.yaml`
197
- - If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story validation."
198
- - Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`
199
- - Identify and load the following inputs:
200
- - **Story file**: The drafted story to validate (provided by user or discovered in `devStoryLocation`)
201
- - **Parent epic**: The epic containing this story's requirements
202
- - **Architecture documents**: Based on configuration (sharded or monolithic)
203
- - **Story template**: `bmad-core/templates/story-tmpl.md` for completeness validation
204
-
205
- ### 1. Template Completeness Validation
206
-
207
- - Load `bmad-core/templates/story-tmpl.md` and extract all section headings from the template
208
- - **Missing sections check**: Compare story sections against template sections to verify all required sections are present
209
- - **Placeholder validation**: Ensure no template placeholders remain unfilled (e.g., `{{EpicNum}}`, `{{role}}`, `_TBD_`)
210
- - **Agent section verification**: Confirm all sections from template exist for future agent use
211
- - **Structure compliance**: Verify story follows template structure and formatting
212
-
213
- ### 2. File Structure and Source Tree Validation
214
-
215
- - **File paths clarity**: Are new/existing files to be created/modified clearly specified?
216
- - **Source tree relevance**: Is relevant project structure included in Dev Notes?
217
- - **Directory structure**: Are new directories/components properly located according to project structure?
218
- - **File creation sequence**: Do tasks specify where files should be created in logical order?
219
- - **Path accuracy**: Are file paths consistent with project structure from architecture docs?
220
-
221
- ### 3. UI/Frontend Completeness Validation (if applicable)
222
-
223
- - **Component specifications**: Are UI components sufficiently detailed for implementation?
224
- - **Styling/design guidance**: Is visual implementation guidance clear?
225
- - **User interaction flows**: Are UX patterns and behaviors specified?
226
- - **Responsive/accessibility**: Are these considerations addressed if required?
227
- - **Integration points**: Are frontend-backend integration points clear?
228
-
229
- ### 4. Acceptance Criteria Satisfaction Assessment
230
-
231
- - **AC coverage**: Will all acceptance criteria be satisfied by the listed tasks?
232
- - **AC testability**: Are acceptance criteria measurable and verifiable?
233
- - **Missing scenarios**: Are edge cases or error conditions covered?
234
- - **Success definition**: Is "done" clearly defined for each AC?
235
- - **Task-AC mapping**: Are tasks properly linked to specific acceptance criteria?
236
-
237
- ### 5. Validation and Testing Instructions Review
238
-
239
- - **Test approach clarity**: Are testing methods clearly specified?
240
- - **Test scenarios**: Are key test cases identified?
241
- - **Validation steps**: Are acceptance criteria validation steps clear?
242
- - **Testing tools/frameworks**: Are required testing tools specified?
243
- - **Test data requirements**: Are test data needs identified?
244
-
245
- ### 6. Security Considerations Assessment (if applicable)
246
-
247
- - **Security requirements**: Are security needs identified and addressed?
248
- - **Authentication/authorization**: Are access controls specified?
249
- - **Data protection**: Are sensitive data handling requirements clear?
250
- - **Vulnerability prevention**: Are common security issues addressed?
251
- - **Compliance requirements**: Are regulatory/compliance needs addressed?
252
-
253
- ### 7. Tasks/Subtasks Sequence Validation
254
-
255
- - **Logical order**: Do tasks follow proper implementation sequence?
256
- - **Dependencies**: Are task dependencies clear and correct?
257
- - **Granularity**: Are tasks appropriately sized and actionable?
258
- - **Completeness**: Do tasks cover all requirements and acceptance criteria?
259
- - **Blocking issues**: Are there any tasks that would block others?
260
-
261
- ### 8. Anti-Hallucination Verification
262
-
263
- - **Source verification**: Every technical claim must be traceable to source documents
264
- - **Architecture alignment**: Dev Notes content matches architecture specifications
265
- - **No invented details**: Flag any technical decisions not supported by source documents
266
- - **Reference accuracy**: Verify all source references are correct and accessible
267
- - **Fact checking**: Cross-reference claims against epic and architecture documents
268
-
269
- ### 9. Dev Agent Implementation Readiness
270
-
271
- - **Self-contained context**: Can the story be implemented without reading external docs?
272
- - **Clear instructions**: Are implementation steps unambiguous?
273
- - **Complete technical context**: Are all required technical details present in Dev Notes?
274
- - **Missing information**: Identify any critical information gaps
275
- - **Actionability**: Are all tasks actionable by a development agent?
276
-
277
- ### 10. Generate Validation Report
278
-
279
- Provide a structured validation report including:
280
-
281
- #### Template Compliance Issues
282
-
283
- - Missing sections from story template
284
- - Unfilled placeholders or template variables
285
- - Structural formatting issues
286
-
287
- #### Critical Issues (Must Fix - Story Blocked)
288
-
289
- - Missing essential information for implementation
290
- - Inaccurate or unverifiable technical claims
291
- - Incomplete acceptance criteria coverage
292
- - Missing required sections
293
-
294
- #### Should-Fix Issues (Important Quality Improvements)
295
-
296
- - Unclear implementation guidance
297
- - Missing security considerations
298
- - Task sequencing problems
299
- - Incomplete testing instructions
300
-
301
- #### Nice-to-Have Improvements (Optional Enhancements)
302
-
303
- - Additional context that would help implementation
304
- - Clarifications that would improve efficiency
305
- - Documentation improvements
306
-
307
- #### Anti-Hallucination Findings
308
-
309
- - Unverifiable technical claims
310
- - Missing source references
311
- - Inconsistencies with architecture documents
312
- - Invented libraries, patterns, or standards
313
-
314
- #### Final Assessment
315
-
316
- - **GO**: Story is ready for implementation
317
- - **NO-GO**: Story requires fixes before implementation
318
- - **Implementation Readiness Score**: 1-10 scale
319
- - **Confidence Level**: High/Medium/Low for successful implementation
320
- ==================== END: .bmad-core/tasks/validate-next-story.md ====================
212
+ ==================== END: tasks#execute-checklist ====================
321
213
 
322
- ==================== START: .bmad-core/checklists/story-dod-checklist.md ====================
214
+ ==================== START: checklists#story-dod-checklist ====================
323
215
  # Story Definition of Done (DoD) Checklist
324
216
 
325
217
  ## Instructions for Developer Agent
@@ -421,4 +313,4 @@ After completing the checklist:
421
313
  Be honest - it's better to flag issues now than have them discovered later.]]
422
314
 
423
315
  - [ ] I, the Developer Agent, confirm that all applicable items above have been addressed.
424
- ==================== END: .bmad-core/checklists/story-dod-checklist.md ====================
316
+ ==================== END: checklists#story-dod-checklist ====================