bmad-method 6.0.0-alpha.12 → 6.0.0-alpha.13

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 (491) hide show
  1. package/.github/workflows/bundle-latest.yaml +79 -27
  2. package/CHANGELOG.md +159 -1
  3. package/README.md +3 -1
  4. package/custom/src/agents/commit-poet/commit-poet.agent.yaml +129 -0
  5. package/custom/src/agents/commit-poet/installation-guide.md +36 -0
  6. package/custom/src/agents/toolsmith/installation-guide.md +36 -0
  7. package/custom/src/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
  8. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
  9. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
  10. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
  11. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
  12. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
  13. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
  14. package/custom/src/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
  15. package/custom/src/agents/toolsmith/toolsmith.agent.yaml +108 -0
  16. package/docs/custom-agent-installation.md +31 -17
  17. package/docs/ide-info/rovo-dev.md +388 -0
  18. package/docs/index.md +6 -81
  19. package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
  20. package/package.json +1 -1
  21. package/src/core/agents/bmad-master.agent.yaml +1 -1
  22. package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  23. package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
  24. package/src/core/tasks/advanced-elicitation.xml +18 -8
  25. package/src/core/tasks/workflow.xml +36 -71
  26. package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
  27. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  28. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  29. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  30. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  31. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  32. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  33. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  34. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  35. package/src/core/workflows/brainstorming/template.md +13 -104
  36. package/src/core/workflows/brainstorming/workflow.md +51 -0
  37. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  38. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
  39. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  40. package/src/core/workflows/party-mode/workflow.md +207 -0
  41. package/src/modules/bmb/README.md +153 -86
  42. package/src/modules/bmb/_module-installer/install-config.yaml +3 -3
  43. package/src/modules/bmb/agents/bmad-builder.agent.yaml +45 -31
  44. package/src/modules/bmb/docs/{agent-menu-patterns.md → agents/agent-menu-patterns.md} +1 -1
  45. package/src/modules/bmb/docs/agents/kb.csv +0 -0
  46. package/src/modules/bmb/docs/{module-agent-architecture.md → agents/module-agent-architecture.md} +1 -1
  47. package/src/modules/bmb/docs/{simple-agent-architecture.md → agents/simple-agent-architecture.md} +1 -1
  48. package/src/modules/bmb/docs/workflows/architecture.md +220 -0
  49. package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
  50. package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
  51. package/src/modules/bmb/docs/workflows/index.md +45 -0
  52. package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
  53. package/src/modules/bmb/docs/workflows/kb.csv +0 -0
  54. package/src/modules/bmb/docs/workflows/step-template.md +283 -0
  55. package/src/modules/bmb/docs/workflows/terms.md +97 -0
  56. package/src/modules/bmb/docs/workflows/workflow-template.md +152 -0
  57. package/src/modules/bmb/reference/agents/module-examples/README.md +1 -1
  58. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +2 -2
  59. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +1 -1
  60. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  61. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  62. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  63. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  64. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  65. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  66. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  67. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  68. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  69. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  70. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  71. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  72. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  73. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  74. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  75. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  76. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  77. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +17 -0
  78. package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
  79. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  80. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  81. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  82. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  83. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  84. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
  85. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
  86. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
  87. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
  88. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
  89. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  90. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  91. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  92. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  93. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  94. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  95. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  96. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  97. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  98. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  99. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  100. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  101. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  102. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  103. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  104. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  105. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  106. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  107. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
  108. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
  109. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
  110. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
  111. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
  112. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
  113. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
  114. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
  115. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
  116. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
  117. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
  118. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
  119. package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
  120. package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
  121. package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
  122. package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
  123. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +168 -0
  124. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +233 -0
  125. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +127 -0
  126. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +145 -0
  127. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +136 -0
  128. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +154 -0
  129. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +159 -0
  130. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +167 -0
  131. package/src/modules/bmb/workflows/create-workflow/steps/step-09-design.md +239 -0
  132. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +215 -0
  133. package/src/modules/bmb/workflows/create-workflow/steps/step-11-build.md +262 -0
  134. package/src/modules/bmb/workflows/create-workflow/steps/step-12-review.md +270 -0
  135. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +36 -0
  136. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +39 -0
  137. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +21 -0
  138. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +53 -0
  139. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +18 -0
  140. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +47 -0
  141. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +56 -0
  142. package/src/modules/bmb/workflows/create-workflow/templates/step-file.md +139 -0
  143. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +54 -0
  144. package/src/modules/bmb/workflows/create-workflow/templates/workflow.md +58 -0
  145. package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
  146. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
  147. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
  148. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
  149. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
  150. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
  151. package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
  152. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +221 -0
  153. package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
  154. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
  155. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
  156. package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
  157. package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
  158. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
  159. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
  160. package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
  161. package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
  162. package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
  163. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
  164. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
  165. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
  166. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
  167. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
  168. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
  169. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
  170. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
  171. package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
  172. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
  173. package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
  174. package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
  175. package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
  176. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
  177. package/src/modules/bmm/_module-installer/install-config.yaml +9 -15
  178. package/src/modules/bmm/agents/analyst.agent.yaml +14 -14
  179. package/src/modules/bmm/agents/architect.agent.yaml +12 -10
  180. package/src/modules/bmm/agents/dev.agent.yaml +20 -16
  181. package/src/modules/bmm/agents/pm.agent.yaml +13 -31
  182. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
  183. package/src/modules/bmm/agents/sm.agent.yaml +13 -31
  184. package/src/modules/bmm/agents/tea.agent.yaml +10 -7
  185. package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
  186. package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
  187. package/src/modules/bmm/data/README.md +29 -0
  188. package/src/modules/bmm/data/project-context-template.md +40 -0
  189. package/src/modules/bmm/docs/README.md +21 -9
  190. package/src/modules/bmm/docs/agents-guide.md +69 -23
  191. package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
  192. package/src/modules/bmm/docs/brownfield-guide.md +9 -10
  193. package/src/modules/bmm/docs/enterprise-agentic-development.md +1 -1
  194. package/src/modules/bmm/docs/glossary.md +5 -5
  195. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +909 -1654
  196. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -2
  197. package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
  198. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  199. package/src/modules/bmm/docs/test-architecture.md +84 -18
  200. package/src/modules/bmm/docs/workflows-analysis.md +36 -140
  201. package/src/modules/bmm/docs/workflows-implementation.md +32 -157
  202. package/src/modules/bmm/docs/workflows-planning.md +51 -212
  203. package/src/modules/bmm/docs/workflows-solutioning.md +24 -69
  204. package/src/modules/bmm/teams/default-party.csv +15 -14
  205. package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
  206. package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
  207. package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
  208. package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
  209. package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
  210. package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  211. package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  212. package/src/modules/bmm/testarch/knowledge/log.md +294 -0
  213. package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  214. package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
  215. package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
  216. package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
  217. package/src/modules/bmm/testarch/tea-index.csv +11 -0
  218. package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  219. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  220. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  221. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  222. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  223. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  224. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  225. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  226. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  227. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  228. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  229. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  230. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  231. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  232. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  233. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  234. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +235 -0
  235. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +198 -0
  236. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +247 -0
  237. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +257 -0
  238. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +175 -0
  239. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  240. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +16 -0
  241. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  242. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +237 -0
  243. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +246 -0
  244. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +200 -0
  245. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +237 -0
  246. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  247. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +198 -0
  248. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  249. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  250. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  251. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  252. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  253. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  254. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  255. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  256. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  257. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  258. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  259. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  260. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  261. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  262. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  263. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  264. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +53 -0
  265. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +5 -200
  266. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +161 -0
  267. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +123 -0
  268. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +275 -0
  269. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +271 -0
  270. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +272 -0
  271. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +249 -0
  272. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +240 -0
  273. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +236 -0
  274. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +280 -0
  275. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +251 -0
  276. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +275 -0
  277. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +210 -0
  278. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  279. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  280. package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  281. package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  282. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  283. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  284. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  285. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  286. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  287. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  288. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  289. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  290. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  291. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +48 -0
  292. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +247 -476
  293. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +8 -18
  294. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +176 -0
  295. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  296. package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  297. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +324 -0
  298. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  299. package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  300. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  301. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  302. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -3
  303. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  304. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  305. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
  306. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  307. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +105 -0
  308. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +29 -0
  309. package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  310. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  311. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  312. package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  313. package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
  314. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
  315. package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
  316. package/src/modules/bmm/workflows/testarch/ci/instructions.md +18 -1
  317. package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
  318. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
  319. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +28 -8
  320. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
  321. package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
  322. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +3 -2
  323. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +3 -2
  324. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +3 -2
  325. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +3 -2
  326. package/src/modules/cis/agents/README.md +1 -1
  327. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
  328. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
  329. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
  330. package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
  331. package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
  332. package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
  333. package/src/modules/cis/teams/default-party.csv +6 -5
  334. package/src/utility/models/agent-activation-ide.xml +4 -4
  335. package/src/utility/models/agent-activation-web.xml +1 -11
  336. package/src/utility/models/fragments/activation-rules.xml +5 -6
  337. package/src/utility/models/fragments/handler-exec.xml +6 -5
  338. package/src/utility/models/fragments/handler-multi.xml +14 -0
  339. package/test/README.md +1 -1
  340. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
  341. package/tools/cli/README.md +1 -0
  342. package/tools/cli/bundlers/web-bundler.js +3 -14
  343. package/tools/cli/commands/agent-install.js +8 -8
  344. package/tools/cli/commands/cleanup.js +141 -0
  345. package/tools/cli/commands/install.js +48 -3
  346. package/tools/cli/installers/lib/core/config-collector.js +24 -0
  347. package/tools/cli/installers/lib/core/installer.js +612 -43
  348. package/tools/cli/installers/lib/ide/antigravity.js +51 -7
  349. package/tools/cli/installers/lib/ide/auggie.js +53 -0
  350. package/tools/cli/installers/lib/ide/claude-code.js +1 -6
  351. package/tools/cli/installers/lib/ide/cline.js +49 -0
  352. package/tools/cli/installers/lib/ide/codex.js +2 -2
  353. package/tools/cli/installers/lib/ide/crush.js +47 -0
  354. package/tools/cli/installers/lib/ide/gemini.js +47 -0
  355. package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
  356. package/tools/cli/installers/lib/ide/iflow.js +47 -0
  357. package/tools/cli/installers/lib/ide/kilo.js +74 -0
  358. package/tools/cli/installers/lib/ide/qwen.js +54 -0
  359. package/tools/cli/installers/lib/ide/roo.js +71 -0
  360. package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
  361. package/tools/cli/installers/lib/ide/trae.js +47 -0
  362. package/tools/cli/lib/agent/compiler.js +156 -22
  363. package/tools/cli/lib/agent/installer.js +13 -3
  364. package/tools/cli/lib/agent-analyzer.js +46 -18
  365. package/tools/cli/lib/ui.js +204 -9
  366. package/tools/cli/lib/yaml-xml-builder.js +123 -24
  367. package/tools/platform-codes.yaml +12 -0
  368. package/tools/schema/agent.js +169 -20
  369. package/src/core/tasks/adv-elicit-methods.csv +0 -39
  370. package/src/core/workflows/brainstorming/README.md +0 -261
  371. package/src/core/workflows/brainstorming/instructions.md +0 -315
  372. package/src/core/workflows/brainstorming/workflow.yaml +0 -38
  373. package/src/core/workflows/party-mode/instructions.md +0 -183
  374. package/src/core/workflows/party-mode/workflow.yaml +0 -28
  375. package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
  376. package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
  377. package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
  378. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
  379. package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
  380. package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
  381. package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
  382. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
  383. package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
  384. package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
  385. package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
  386. package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  387. package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
  388. package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
  389. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
  390. package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  391. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
  392. package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  393. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
  394. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
  395. package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
  396. package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
  397. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
  398. package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
  399. package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
  400. package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
  401. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  402. package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
  403. package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
  404. package/src/modules/bmm/docs/quick-spec-flow.md +0 -652
  405. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  406. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  407. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
  408. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  409. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  410. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
  411. package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  412. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  413. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  414. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
  415. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  416. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  417. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
  418. package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  419. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  420. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  421. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  422. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  423. package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  424. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
  425. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  426. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
  427. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  428. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  429. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
  430. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  431. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  432. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
  433. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  434. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  435. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  436. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  437. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  438. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  439. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  440. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  441. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  442. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  443. package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  444. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  445. package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  446. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
  447. package/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  448. package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  449. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  450. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  451. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  452. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  453. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  454. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  455. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
  456. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  457. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  458. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  459. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
  460. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  461. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
  462. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  463. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
  464. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  465. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  466. /package/src/modules/bmb/docs/{agent-compilation.md → agents/agent-compilation.md} +0 -0
  467. /package/src/modules/bmb/docs/{expert-agent-architecture.md → agents/expert-agent-architecture.md} +0 -0
  468. /package/src/modules/bmb/docs/{index.md → agents/index.md} +0 -0
  469. /package/src/modules/bmb/docs/{understanding-agent-types.md → agents/understanding-agent-types.md} +0 -0
  470. /package/src/modules/bmb/reference/{readme.md → README.md} +0 -0
  471. /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md → data/agent-validation-checklist.md} +0 -0
  472. /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md → data/brainstorm-context.md} +0 -0
  473. /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv → data/communication-presets.csv} +0 -0
  474. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/README.md +0 -0
  475. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/brainstorm-context.md +0 -0
  476. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/checklist.md +0 -0
  477. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/install-config.yaml +0 -0
  478. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/installer.js +0 -0
  479. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/instructions.md +0 -0
  480. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/module-structure.md +0 -0
  481. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/workflow.yaml +0 -0
  482. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/README.md +0 -0
  483. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/checklist.md +0 -0
  484. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/instructions.md +0 -0
  485. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/workflow.yaml +0 -0
  486. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/README.md +0 -0
  487. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/checklist.md +0 -0
  488. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/instructions.md +0 -0
  489. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/template.md +0 -0
  490. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/workflow.yaml +0 -0
  491. /package/src/modules/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
@@ -0,0 +1,324 @@
1
+ <workflow>
2
+ <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
3
+ <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
4
+ <critical>Communicate all responses in {communication_language} and generate all documents in {document_output_language}</critical>
5
+
6
+ <critical>🔥 CRITICAL MISSION: You are creating the ULTIMATE story context engine that prevents LLM developer mistakes, omissions or
7
+ disasters! 🔥</critical>
8
+ <critical>Your purpose is NOT to copy from epics - it's to create a comprehensive, optimized story file that gives the DEV agent
9
+ EVERYTHING needed for flawless implementation</critical>
10
+ <critical>COMMON LLM MISTAKES TO PREVENT: reinventing wheels, wrong libraries, wrong file locations, breaking regressions, ignoring UX,
11
+ vague implementations, lying about completion, not learning from past work</critical>
12
+ <critical>🚨 EXHAUSTIVE ANALYSIS REQUIRED: You must thoroughly analyze ALL artifacts to extract critical context - do NOT be lazy or skim!
13
+ This is the most important function in the entire development process!</critical>
14
+ <critical>🔬 UTILIZE SUBPROCESSES AND SUBAGENTS: Use research subagents, subprocesses or parallel processing if available to thoroughly
15
+ analyze different artifacts simultaneously and thoroughly</critical>
16
+ <critical>❓ SAVE QUESTIONS: If you think of questions or clarifications during analysis, save them for the end after the complete story is
17
+ written</critical>
18
+ <critical>🎯 ZERO USER INTERVENTION: Process should be fully automated except for initial epic/story selection or missing documents</critical>
19
+
20
+ <step n="1" goal="Determine target story">
21
+ <check if="{{story_path}} is provided by user or user provided the epic and story number such as 2-4 or 1.6 or epic 1 story 5">
22
+ <action>Parse user-provided story path: extract epic_num, story_num, story_title from format like "1-2-user-auth"</action>
23
+ <action>Set {{epic_num}}, {{story_num}}, {{story_key}} from user input</action>
24
+ <action>GOTO step 2a</action>
25
+ </check>
26
+
27
+ <action>Check if {{sprint_status}} file exists for auto discover</action>
28
+ <check if="sprint status file does NOT exist">
29
+ <output>🚫 No sprint status file found and no story specified</output>
30
+ <output>
31
+ **Required Options:**
32
+ 1. Run `sprint-planning` to initialize sprint tracking (recommended)
33
+ 2. Provide specific epic-story number to draft (e.g., "1-2-user-auth")
34
+ 3. Provide path to story documents if sprint status doesn't exist yet
35
+ </output>
36
+ <ask>Choose option [1], provide epic-story number, path to story docs, or [q] to quit:</ask>
37
+
38
+ <check if="user chooses 'q'">
39
+ <action>HALT - No work needed</action>
40
+ </check>
41
+
42
+ <check if="user chooses '1'">
43
+ <output>Run sprint-planning workflow first to create sprint-status.yaml</output>
44
+ <action>HALT - User needs to run sprint-planning</action>
45
+ </check>
46
+
47
+ <check if="user provides epic-story number">
48
+ <action>Parse user input: extract epic_num, story_num, story_title</action>
49
+ <action>Set {{epic_num}}, {{story_num}}, {{story_key}} from user input</action>
50
+ <action>GOTO step 2a</action>
51
+ </check>
52
+
53
+ <check if="user provides story docs path">
54
+ <action>Use user-provided path for story documents</action>
55
+ <action>GOTO step 2a</action>
56
+ </check>
57
+ </check>
58
+
59
+ <!-- Auto-discover from sprint status only if no user input -->
60
+ <check if="no user input provided">
61
+ <critical>MUST read COMPLETE {sprint_status} file from start to end to preserve order</critical>
62
+ <action>Load the FULL file: {{sprint_status}}</action>
63
+ <action>Read ALL lines from beginning to end - do not skip any content</action>
64
+ <action>Parse the development_status section completely</action>
65
+
66
+ <action>Find the FIRST story (by reading in order from top to bottom) where:
67
+ - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
68
+ - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
69
+ - Status value equals "backlog"
70
+ </action>
71
+
72
+ <check if="no backlog story found">
73
+ <output>📋 No backlog stories found in sprint-status.yaml
74
+
75
+ All stories are either already drafted, in progress, or done.
76
+
77
+ **Options:**
78
+ 1. Run sprint-planning to refresh story tracking
79
+ 2. Load PM agent and run correct-course to add more stories
80
+ 3. Check if current sprint is complete and run retrospective
81
+ </output>
82
+ <action>HALT</action>
83
+ </check>
84
+
85
+ <action>Extract from found story key (e.g., "1-2-user-authentication"):
86
+ - epic_num: first number before dash (e.g., "1")
87
+ - story_num: second number after first dash (e.g., "2")
88
+ - story_title: remainder after second dash (e.g., "user-authentication")
89
+ </action>
90
+ <action>Set {{story_id}} = "{{epic_num}}.{{story_num}}"</action>
91
+ <action>Store story_key for later use (e.g., "1-2-user-authentication")</action>
92
+
93
+ <!-- Mark epic as in-progress if this is first story -->
94
+ <action>Check if this is the first story in epic {{epic_num}} by looking for {{epic_num}}-1-* pattern</action>
95
+ <check if="this is first story in epic {{epic_num}}">
96
+ <action>Load {{sprint_status}} and check epic-{{epic_num}} status</action>
97
+ <action>If epic status is "backlog" → update to "in-progress"</action>
98
+ <action>If epic status is "contexted" → this means same as "in-progress", no change needed</action>
99
+ <output>📊 Epic {{epic_num}} status updated to in-progress</output>
100
+ </check>
101
+
102
+ <action>GOTO step 2a</action>
103
+ </check>
104
+ <action>Load the FULL file: {{sprint_status}}</action>
105
+ <action>Read ALL lines from beginning to end - do not skip any content</action>
106
+ <action>Parse the development_status section completely</action>
107
+
108
+ <action>Find the FIRST story (by reading in order from top to bottom) where:
109
+ - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
110
+ - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
111
+ - Status value equals "backlog"
112
+ </action>
113
+
114
+ <check if="no backlog story found">
115
+ <output>📋 No backlog stories found in sprint-status.yaml
116
+
117
+ All stories are either already drafted, in progress, or done.
118
+
119
+ **Options:**
120
+ 1. Run sprint-planning to refresh story tracking
121
+ 2. Load PM agent and run correct-course to add more stories
122
+ 3. Check if current sprint is complete and run retrospective
123
+ </output>
124
+ <action>HALT</action>
125
+ </check>
126
+
127
+ <action>Extract from found story key (e.g., "1-2-user-authentication"):
128
+ - epic_num: first number before dash (e.g., "1")
129
+ - story_num: second number after first dash (e.g., "2")
130
+ - story_title: remainder after second dash (e.g., "user-authentication")
131
+ </action>
132
+ <action>Set {{story_id}} = "{{epic_num}}.{{story_num}}"</action>
133
+ <action>Store story_key for later use (e.g., "1-2-user-authentication")</action>
134
+
135
+ <!-- Mark epic as in-progress if this is first story -->
136
+ <action>Check if this is the first story in epic {{epic_num}} by looking for {{epic_num}}-1-* pattern</action>
137
+ <check if="this is first story in epic {{epic_num}}">
138
+ <action>Load {{sprint_status}} and check epic-{{epic_num}} status</action>
139
+ <action>If epic status is "backlog" → update to "in-progress"</action>
140
+ <action>If epic status is "contexted" → this means same as "in-progress", no change needed</action>
141
+ <output>📊 Epic {{epic_num}} status updated to in-progress</output>
142
+ </check>
143
+
144
+ <action>GOTO step 2a</action>
145
+ </step>
146
+
147
+ <step n="2" goal="Load and analyze core artifacts">
148
+ <critical>🔬 EXHAUSTIVE ARTIFACT ANALYSIS - This is where you prevent future developer fuckups!</critical>
149
+
150
+ <!-- Load all available content through discovery protocol -->
151
+ <invoke-protocol
152
+ name="discover_inputs" />
153
+ <note>Available content: {epics_content}, {prd_content}, {architecture_content}, {ux_content},
154
+ {project_context}</note>
155
+
156
+ <!-- Analyze epics file for story foundation -->
157
+ <action>From {epics_content}, extract Epic {{epic_num}} complete context:</action> **EPIC ANALYSIS:** - Epic
158
+ objectives and business value - ALL stories in this epic for cross-story context - Our specific story's requirements, user story
159
+ statement, acceptance criteria - Technical requirements and constraints - Dependencies on other stories/epics - Source hints pointing to
160
+ original documents <!-- Extract specific story requirements -->
161
+ <action>Extract our story ({{epic_num}}-{{story_num}}) details:</action> **STORY FOUNDATION:** - User story statement
162
+ (As a, I want, so that) - Detailed acceptance criteria (already BDD formatted) - Technical requirements specific to this story -
163
+ Business context and value - Success criteria <!-- Previous story analysis for context continuity -->
164
+ <check if="story_num > 1">
165
+ <action>Load previous story file: {{story_dir}}/{{epic_num}}-{{previous_story_num}}-*.md</action> **PREVIOUS STORY INTELLIGENCE:** -
166
+ Dev notes and learnings from previous story - Review feedback and corrections needed - Files that were created/modified and their
167
+ patterns - Testing approaches that worked/didn't work - Problems encountered and solutions found - Code patterns established <action>Extract
168
+ all learnings that could impact current story implementation</action>
169
+ </check>
170
+
171
+ <!-- Git intelligence for previous work patterns -->
172
+ <check
173
+ if="previous story exists AND git repository detected">
174
+ <action>Get last 5 commit titles to understand recent work patterns</action>
175
+ <action>Analyze 1-5 most recent commits for relevance to current story:
176
+ - Files created/modified
177
+ - Code patterns and conventions used
178
+ - Library dependencies added/changed
179
+ - Architecture decisions implemented
180
+ - Testing approaches used
181
+ </action>
182
+ <action>Extract actionable insights for current story implementation</action>
183
+ </check>
184
+ </step>
185
+
186
+ <step n="3" goal="Architecture analysis for developer guardrails">
187
+ <critical>🏗️ ARCHITECTURE INTELLIGENCE - Extract everything the developer MUST follow!</critical> **ARCHITECTURE DOCUMENT ANALYSIS:** <action>Systematically
188
+ analyze architecture content for story-relevant requirements:</action>
189
+
190
+ <!-- Load architecture - single file or sharded -->
191
+ <check if="architecture file is single file">
192
+ <action>Load complete {architecture_content}</action>
193
+ </check>
194
+ <check if="architecture is sharded to folder">
195
+ <action>Load architecture index and scan all architecture files</action>
196
+ </check> **CRITICAL ARCHITECTURE EXTRACTION:** <action>For
197
+ each architecture section, determine if relevant to this story:</action> - **Technical Stack:** Languages, frameworks, libraries with
198
+ versions - **Code Structure:** Folder organization, naming conventions, file patterns - **API Patterns:** Service structure, endpoint
199
+ patterns, data contracts - **Database Schemas:** Tables, relationships, constraints relevant to story - **Security Requirements:**
200
+ Authentication patterns, authorization rules - **Performance Requirements:** Caching strategies, optimization patterns - **Testing
201
+ Standards:** Testing frameworks, coverage expectations, test patterns - **Deployment Patterns:** Environment configurations, build
202
+ processes - **Integration Patterns:** External service integrations, data flows <action>Extract any story-specific requirements that the
203
+ developer MUST follow</action>
204
+ <action>Identify any architectural decisions that override previous patterns</action>
205
+ </step>
206
+
207
+ <step n="4" goal="Web research for latest technical specifics">
208
+ <critical>🌐 ENSURE LATEST TECH KNOWLEDGE - Prevent outdated implementations!</critical> **WEB INTELLIGENCE:** <action>Identify specific
209
+ technical areas that require latest version knowledge:</action>
210
+
211
+ <!-- Check for libraries/frameworks mentioned in architecture -->
212
+ <action>From architecture analysis, identify specific libraries, APIs, or
213
+ frameworks</action>
214
+ <action>For each critical technology, research latest stable version and key changes:
215
+ - Latest API documentation and breaking changes
216
+ - Security vulnerabilities or updates
217
+ - Performance improvements or deprecations
218
+ - Best practices for current version
219
+ </action>
220
+ **EXTERNAL CONTEXT INCLUSION:** <action>Include in story any critical latest information the developer needs:
221
+ - Specific library versions and why chosen
222
+ - API endpoints with parameters and authentication
223
+ - Recent security patches or considerations
224
+ - Performance optimization techniques
225
+ - Migration considerations if upgrading
226
+ </action>
227
+ </step>
228
+
229
+ <step n="5" goal="Create comprehensive story file">
230
+ <critical>📝 CREATE ULTIMATE STORY FILE - The developer's master implementation guide!</critical>
231
+
232
+ <action>Initialize from template.md:
233
+ {default_output_file}</action>
234
+ <template-output file="{default_output_file}">story_header</template-output>
235
+
236
+ <!-- Story foundation from epics analysis -->
237
+ <template-output
238
+ file="{default_output_file}">story_requirements</template-output>
239
+
240
+ <!-- Developer context section - MOST IMPORTANT PART -->
241
+ <template-output file="{default_output_file}">
242
+ developer_context_section</template-output> **DEV AGENT GUARDRAILS:** <template-output file="{default_output_file}">
243
+ technical_requirements</template-output>
244
+ <template-output file="{default_output_file}">architecture_compliance</template-output>
245
+ <template-output
246
+ file="{default_output_file}">library_framework_requirements</template-output>
247
+ <template-output file="{default_output_file}">
248
+ file_structure_requirements</template-output>
249
+ <template-output file="{default_output_file}">testing_requirements</template-output>
250
+
251
+ <!-- Previous story intelligence -->
252
+ <check
253
+ if="previous story learnings available">
254
+ <template-output file="{default_output_file}">previous_story_intelligence</template-output>
255
+ </check>
256
+
257
+ <!-- Git intelligence -->
258
+ <check
259
+ if="git analysis completed">
260
+ <template-output file="{default_output_file}">git_intelligence_summary</template-output>
261
+ </check>
262
+
263
+ <!-- Latest technical specifics -->
264
+ <check if="web research completed">
265
+ <template-output file="{default_output_file}">latest_tech_information</template-output>
266
+ </check>
267
+
268
+ <!-- Project context reference -->
269
+ <template-output
270
+ file="{default_output_file}">project_context_reference</template-output>
271
+
272
+ <!-- Final status update -->
273
+ <template-output file="{default_output_file}">
274
+ story_completion_status</template-output>
275
+
276
+ <!-- CRITICAL: Set status to ready-for-dev -->
277
+ <action>Set story Status to: "ready-for-dev"</action>
278
+ <action>Add completion note: "Ultimate
279
+ context engine analysis completed - comprehensive developer guide created"</action>
280
+ </step>
281
+
282
+ <step n="6" goal="Update sprint status and finalize">
283
+ <invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
284
+ <action>Save story document unconditionally</action>
285
+
286
+ <!-- Update sprint status -->
287
+ <check if="sprint status file exists">
288
+ <action>Update {{sprint_status}}</action>
289
+ <action>Load the FULL file and read all development_status entries</action>
290
+ <action>Find development_status key matching {{story_key}}</action>
291
+ <action>Verify current status is "backlog" (expected previous state)</action>
292
+ <action>Update development_status[{{story_key}}] = "ready-for-dev"</action>
293
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
294
+ </check>
295
+
296
+ <action>Report completion</action>
297
+ <output>**🎯 ULTIMATE BMad Method STORY CONTEXT CREATED, {user_name}!**
298
+
299
+ **Story Details:**
300
+ - Story ID: {{story_id}}
301
+ - Story Key: {{story_key}}
302
+ - File: {{story_file}}
303
+ - Status: ready-for-dev
304
+
305
+ **Next Steps:**
306
+ 1. Review the comprehensive story in {{story_file}}
307
+ 2. **Optional Quality Competition:** Run the scrum masters `*validate-create-story` to have a fresh LLM systematically review and
308
+ improve the story context
309
+ 3. Run dev agents `dev-story` for optimized implementation
310
+ 4. Run `code-review` when complete (auto-marks done)
311
+
312
+ **Quality Competition Option:** The `*validate-create-story` command runs the story context through an independent LLM in fresh
313
+ context that will:
314
+ - Systematically re-analyze all source documents
315
+ - Identify any misses, omissions, or improvements
316
+ - Compete to create a more comprehensive story context
317
+ - Present findings interactively for your approval
318
+ - Apply improvements to create the ultimate developer implementation guide
319
+
320
+ **The developer now has everything needed for flawless implementation!**
321
+ </output>
322
+ </step>
323
+
324
+ </workflow>
@@ -1,5 +1,5 @@
1
1
  name: create-story
2
- description: "Create the next user story markdown from epics/PRD and architecture, using a standard template and saving to the stories folder"
2
+ description: "Create the next user story from epics+stories with enhanced context analysis and direct ready-for-dev marking"
3
3
  author: "BMad"
4
4
 
5
5
  # Critical variables from config
@@ -14,59 +14,46 @@ story_dir: "{sprint_artifacts}"
14
14
  # Workflow components
15
15
  installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/create-story"
16
16
  template: "{installed_path}/template.md"
17
- instructions: "{installed_path}/instructions.md"
17
+ instructions: "{installed_path}/instructions.xml"
18
18
  validation: "{installed_path}/checklist.md"
19
19
 
20
20
  # Variables and inputs
21
21
  variables:
22
22
  sprint_status: "{sprint_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml" # Primary source for story tracking
23
- epics_file: "{output_folder}/epics.md" # Preferred source for epic/story breakdown
24
- prd_file: "{output_folder}/PRD.md" # Fallback for requirements
25
- architecture_file: "{output_folder}/architecture.md" # Optional architecture context
26
- tech_spec_file: "" # Will be auto-discovered from docs as tech-spec-epic-{{epic_num}}-*.md
27
- tech_spec_search_dir: "{project-root}/docs"
28
- tech_spec_glob_template: "tech-spec-epic-{{epic_num}}*.md"
29
- arch_docs_search_dirs: |
30
- - "{project-root}/docs"
31
- - "{output_folder}"
32
- arch_docs_file_names: |
33
- - *architecture*.md
23
+ epics_file: "{output_folder}/epics.md" # Enhanced epics+stories with BDD and source hints
24
+ prd_file: "{output_folder}/PRD.md" # Fallback for requirements (if not in epics file)
25
+ architecture_file: "{output_folder}/architecture.md" # Fallback for constraints (if not in epics file)
26
+ ux_file: "{output_folder}/ux.md" # Fallback for UX requirements (if not in epics file)
34
27
  story_title: "" # Will be elicited if not derivable
35
28
 
29
+ # Project context
30
+ project_context: "**/project-context.md"
31
+
36
32
  default_output_file: "{story_dir}/{{story_key}}.md"
37
33
 
38
- # Smart input file references - handles both whole docs and sharded docs
39
- # Priority: Whole document first, then sharded version
40
- # Strategy: SELECTIVE LOAD - only load the specific epic needed for this story
34
+ # Smart input file references - Simplified for enhanced approach
35
+ # The epics+stories file should contain everything needed with source hints
41
36
  input_file_patterns:
42
37
  prd:
43
- description: "Product requirements (optional)"
38
+ description: "PRD (fallback - epics file should have most content)"
44
39
  whole: "{output_folder}/*prd*.md"
45
40
  sharded: "{output_folder}/*prd*/*.md"
46
- load_strategy: "FULL_LOAD"
47
- tech_spec:
48
- description: "Technical specification (Quick Flow track)"
49
- whole: "{output_folder}/tech-spec.md"
50
- load_strategy: "FULL_LOAD"
41
+ load_strategy: "SELECTIVE_LOAD" # Only load if needed
51
42
  architecture:
52
- description: "System architecture and decisions"
43
+ description: "Architecture (fallback - epics file should have relevant sections)"
53
44
  whole: "{output_folder}/*architecture*.md"
54
45
  sharded: "{output_folder}/*architecture*/*.md"
55
- load_strategy: "FULL_LOAD"
56
- ux_design:
57
- description: "UX design specification (if UI)"
46
+ load_strategy: "SELECTIVE_LOAD" # Only load if needed
47
+ ux:
48
+ description: "UX design (fallback - epics file should have relevant sections)"
58
49
  whole: "{output_folder}/*ux*.md"
59
50
  sharded: "{output_folder}/*ux*/*.md"
60
- load_strategy: "FULL_LOAD"
51
+ load_strategy: "SELECTIVE_LOAD" # Only load if needed
61
52
  epics:
62
- description: "Epic containing this story"
53
+ description: "Enhanced epics+stories file with BDD and source hints"
63
54
  whole: "{output_folder}/*epic*.md"
64
- sharded_index: "{output_folder}/*epic*/index.md"
65
- sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md"
66
- load_strategy: "SELECTIVE_LOAD"
67
- document_project:
68
- sharded: "{output_folder}/index.md"
69
- load_strategy: "INDEX_GUIDED"
55
+ sharded: "{output_folder}/*epic*/*.md"
56
+ load_strategy: "SELECTIVE_LOAD" # Only load needed epic
70
57
 
71
58
  standalone: true
72
59
 
@@ -1,38 +1,80 @@
1
1
  ---
2
- title: 'Dev Story Completion Checklist'
2
+ title: 'Enhanced Dev Story Definition of Done Checklist'
3
3
  validation-target: 'Story markdown ({{story_path}})'
4
+ validation-criticality: 'HIGHEST'
4
5
  required-inputs:
5
- - 'Story markdown file with Tasks/Subtasks, Acceptance Criteria'
6
+ - 'Story markdown file with enhanced Dev Notes containing comprehensive implementation context'
7
+ - 'Completed Tasks/Subtasks section with all items marked [x]'
8
+ - 'Updated File List section with all changed files'
9
+ - 'Updated Dev Agent Record with implementation notes'
6
10
  optional-inputs:
7
- - 'Test results output (if saved)'
8
- - 'CI logs (if applicable)'
11
+ - 'Test results output'
12
+ - 'CI logs'
13
+ - 'Linting reports'
9
14
  validation-rules:
10
- - 'Only permitted sections in story were modified: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status'
15
+ - 'Only permitted story sections modified: Tasks/Subtasks checkboxes, Dev Agent Record, File List, Change Log, Status'
16
+ - 'All implementation requirements from story Dev Notes must be satisfied'
17
+ - 'Definition of Done checklist must pass completely'
18
+ - 'Enhanced story context must contain sufficient technical guidance'
11
19
  ---
12
20
 
13
- # Dev Story Completion Checklist
21
+ # 🎯 Enhanced Definition of Done Checklist
14
22
 
15
- ## Tasks Completion
23
+ **Critical validation:** Story is truly ready for review only when ALL items below are satisfied
16
24
 
17
- - [ ] All tasks and subtasks for this story are marked complete with [x]
18
- - [ ] Implementation aligns with every Acceptance Criterion in the story
25
+ ## 📋 Context & Requirements Validation
19
26
 
20
- ## Tests and Quality
27
+ - [ ] **Story Context Completeness:** Dev Notes contains ALL necessary technical requirements, architecture patterns, and implementation guidance
28
+ - [ ] **Architecture Compliance:** Implementation follows all architectural requirements specified in Dev Notes
29
+ - [ ] **Technical Specifications:** All technical specifications (libraries, frameworks, versions) from Dev Notes are implemented correctly
30
+ - [ ] **Previous Story Learnings:** Previous story insights incorporated (if applicable) and build upon appropriately
21
31
 
22
- - [ ] Unit tests added/updated for core functionality changed by this story
23
- - [ ] Integration tests added/updated when component interactions are affected
24
- - [ ] End-to-end tests created for critical user flows, if applicable
25
- - [ ] All tests pass locally (no regressions introduced)
26
- - [ ] Linting and static checks (if configured) pass
32
+ ## Implementation Completion
27
33
 
28
- ## Story File Updates
34
+ - [ ] **All Tasks Complete:** Every task and subtask marked complete with [x]
35
+ - [ ] **Acceptance Criteria Satisfaction:** Implementation satisfies EVERY Acceptance Criterion in the story
36
+ - [ ] **No Ambiguous Implementation:** Clear, unambiguous implementation that meets story requirements
37
+ - [ ] **Edge Cases Handled:** Error conditions and edge cases appropriately addressed
38
+ - [ ] **Dependencies Within Scope:** Only uses dependencies specified in story or project_context.md
29
39
 
30
- - [ ] File List section includes every new/modified/deleted file (paths relative to repo root)
31
- - [ ] Dev Agent Record contains relevant Debug Log and/or Completion Notes for this work
32
- - [ ] Change Log includes a brief summary of what changed
33
- - [ ] Only permitted sections of the story file were modified
40
+ ## 🧪 Testing & Quality Assurance
34
41
 
35
- ## Final Status
42
+ - [ ] **Unit Tests:** Unit tests added/updated for ALL core functionality introduced/changed by this story
43
+ - [ ] **Integration Tests:** Integration tests added/updated for component interactions when story requirements demand them
44
+ - [ ] **End-to-End Tests:** End-to-end tests created for critical user flows when story requirements specify them
45
+ - [ ] **Test Coverage:** Tests cover acceptance criteria and edge cases from story Dev Notes
46
+ - [ ] **Regression Prevention:** ALL existing tests pass (no regressions introduced)
47
+ - [ ] **Code Quality:** Linting and static checks pass when configured in project
48
+ - [ ] **Test Framework Compliance:** Tests use project's testing frameworks and patterns from Dev Notes
36
49
 
37
- - [ ] Regression suite executed successfully
38
- - [ ] Story Status is set to "Ready for Review"
50
+ ## 📝 Documentation & Tracking
51
+
52
+ - [ ] **File List Complete:** File List includes EVERY new, modified, or deleted file (paths relative to repo root)
53
+ - [ ] **Dev Agent Record Updated:** Contains relevant Implementation Notes and/or Debug Log for this work
54
+ - [ ] **Change Log Updated:** Change Log includes clear summary of what changed and why
55
+ - [ ] **Review Follow-ups:** All review follow-up tasks (marked [AI-Review]) completed and corresponding review items marked resolved (if applicable)
56
+ - [ ] **Story Structure Compliance:** Only permitted sections of story file were modified
57
+
58
+ ## 🔚 Final Status Verification
59
+
60
+ - [ ] **Story Status Updated:** Story Status set to "Ready for Review"
61
+ - [ ] **Sprint Status Updated:** Sprint status updated to "review" (when sprint tracking is used)
62
+ - [ ] **Quality Gates Passed:** All quality checks and validations completed successfully
63
+ - [ ] **No HALT Conditions:** No blocking issues or incomplete work remaining
64
+ - [ ] **User Communication Ready:** Implementation summary prepared for user review
65
+
66
+ ## 🎯 Final Validation Output
67
+
68
+ ```
69
+ Definition of Done: {{PASS/FAIL}}
70
+
71
+ ✅ **Story Ready for Review:** {{story_key}}
72
+ 📊 **Completion Score:** {{completed_items}}/{{total_items}} items passed
73
+ 🔍 **Quality Gates:** {{quality_gates_status}}
74
+ 📋 **Test Results:** {{test_results_summary}}
75
+ 📝 **Documentation:** {{documentation_status}}
76
+ ```
77
+
78
+ **If FAIL:** List specific failures and required actions before story can be marked Ready for Review
79
+
80
+ **If PASS:** Story is fully ready for code review and production consideration