bmad-stella 1.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 (398) hide show
  1. package/.github/FORK_GUIDE.md +106 -0
  2. package/.github/FUNDING.yaml +15 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
  5. package/.github/workflows/discord.yaml +26 -0
  6. package/.github/workflows/format-check.yaml +44 -0
  7. package/.github/workflows/manual-release.yaml +174 -0
  8. package/.github/workflows/pr-validation.yaml +55 -0
  9. package/.husky/pre-commit +3 -0
  10. package/.vscode/settings.json +69 -0
  11. package/CHANGELOG.md +686 -0
  12. package/CONTRIBUTING.md +243 -0
  13. package/LICENSE +26 -0
  14. package/PR-opencode-agents-generator.md +40 -0
  15. package/README.md +159 -0
  16. package/REVIEWER-AGENT-SIMPLE.md +66 -0
  17. package/bmad-core/agent-teams/team-all.yaml +15 -0
  18. package/bmad-core/agent-teams/team-fullstack.yaml +19 -0
  19. package/bmad-core/agent-teams/team-ide-minimal.yaml +11 -0
  20. package/bmad-core/agent-teams/team-no-ui.yaml +14 -0
  21. package/bmad-core/agents/analyst.md +84 -0
  22. package/bmad-core/agents/architect.md +85 -0
  23. package/bmad-core/agents/bmad-master.md +110 -0
  24. package/bmad-core/agents/bmad-orchestrator.md +147 -0
  25. package/bmad-core/agents/dev.md +96 -0
  26. package/bmad-core/agents/planner.md +86 -0
  27. package/bmad-core/agents/pm.md +84 -0
  28. package/bmad-core/agents/po.md +79 -0
  29. package/bmad-core/agents/qa.md +80 -0
  30. package/bmad-core/agents/reviewer.md +61 -0
  31. package/bmad-core/agents/sm.md +65 -0
  32. package/bmad-core/agents/ux-expert.md +69 -0
  33. package/bmad-core/checklists/architect-checklist.md +440 -0
  34. package/bmad-core/checklists/change-checklist.md +184 -0
  35. package/bmad-core/checklists/planner-validation-checklist.md +167 -0
  36. package/bmad-core/checklists/pm-checklist.md +372 -0
  37. package/bmad-core/checklists/po-master-checklist.md +434 -0
  38. package/bmad-core/checklists/story-dod-checklist.md +96 -0
  39. package/bmad-core/checklists/story-draft-checklist.md +155 -0
  40. package/bmad-core/checklists/task-dod-checklist.md +110 -0
  41. package/bmad-core/core-config.yaml +26 -0
  42. package/bmad-core/data/bmad-kb.md +809 -0
  43. package/bmad-core/data/brainstorming-techniques.md +38 -0
  44. package/bmad-core/data/elicitation-methods.md +156 -0
  45. package/bmad-core/data/technical-preferences.md +5 -0
  46. package/bmad-core/data/test-levels-framework.md +148 -0
  47. package/bmad-core/data/test-priorities-matrix.md +174 -0
  48. package/bmad-core/tasks/advanced-elicitation.md +119 -0
  49. package/bmad-core/tasks/apply-qa-fixes.md +150 -0
  50. package/bmad-core/tasks/brownfield-create-epic.md +162 -0
  51. package/bmad-core/tasks/brownfield-create-story.md +149 -0
  52. package/bmad-core/tasks/correct-course.md +72 -0
  53. package/bmad-core/tasks/create-brownfield-story.md +314 -0
  54. package/bmad-core/tasks/create-deep-research-prompt.md +280 -0
  55. package/bmad-core/tasks/create-implementation-plan.md +298 -0
  56. package/bmad-core/tasks/create-next-story.md +114 -0
  57. package/bmad-core/tasks/decompose-task.md +162 -0
  58. package/bmad-core/tasks/document-project.md +345 -0
  59. package/bmad-core/tasks/facilitate-brainstorming-session.md +138 -0
  60. package/bmad-core/tasks/generate-ai-frontend-prompt.md +53 -0
  61. package/bmad-core/tasks/identify-dependencies.md +347 -0
  62. package/bmad-core/tasks/implement-test.md +188 -0
  63. package/bmad-core/tasks/index-docs.md +175 -0
  64. package/bmad-core/tasks/kb-mode-interaction.md +77 -0
  65. package/bmad-core/tasks/nfr-assess.md +345 -0
  66. package/bmad-core/tasks/qa-gate.md +163 -0
  67. package/bmad-core/tasks/review-and-improve.md +95 -0
  68. package/bmad-core/tasks/review-story.md +316 -0
  69. package/bmad-core/tasks/risk-profile.md +355 -0
  70. package/bmad-core/tasks/shard-doc.md +187 -0
  71. package/bmad-core/tasks/test-design.md +176 -0
  72. package/bmad-core/tasks/trace-requirements.md +266 -0
  73. package/bmad-core/tasks/validate-next-story.md +136 -0
  74. package/bmad-core/templates/architecture-tmpl.yaml +651 -0
  75. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  76. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +477 -0
  77. package/bmad-core/templates/brownfield-prd-tmpl.yaml +281 -0
  78. package/bmad-core/templates/competitor-analysis-tmpl.yaml +307 -0
  79. package/bmad-core/templates/front-end-architecture-tmpl.yaml +219 -0
  80. package/bmad-core/templates/front-end-spec-tmpl.yaml +350 -0
  81. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +824 -0
  82. package/bmad-core/templates/implementation-plan-tmpl.yaml +224 -0
  83. package/bmad-core/templates/market-research-tmpl.yaml +253 -0
  84. package/bmad-core/templates/prd-tmpl.yaml +203 -0
  85. package/bmad-core/templates/project-brief-tmpl.yaml +222 -0
  86. package/bmad-core/templates/qa-gate-tmpl.yaml +103 -0
  87. package/bmad-core/templates/story-tmpl.yaml +138 -0
  88. package/bmad-core/workflows/brownfield-fullstack.yaml +298 -0
  89. package/bmad-core/workflows/brownfield-service.yaml +188 -0
  90. package/bmad-core/workflows/brownfield-ui.yaml +198 -0
  91. package/bmad-core/workflows/greenfield-fullstack.yaml +241 -0
  92. package/bmad-core/workflows/greenfield-service.yaml +207 -0
  93. package/bmad-core/workflows/greenfield-ui.yaml +236 -0
  94. package/common/tasks/create-doc.md +103 -0
  95. package/common/tasks/execute-checklist.md +88 -0
  96. package/common/utils/bmad-doc-template.md +327 -0
  97. package/common/utils/workflow-management.md +71 -0
  98. package/dist/agents/analyst.txt +2907 -0
  99. package/dist/agents/architect.txt +3567 -0
  100. package/dist/agents/bmad-master.txt +8828 -0
  101. package/dist/agents/bmad-orchestrator.txt +1520 -0
  102. package/dist/agents/dev.txt +576 -0
  103. package/dist/agents/pm.txt +2226 -0
  104. package/dist/agents/po.txt +1359 -0
  105. package/dist/agents/qa.txt +2001 -0
  106. package/dist/agents/sm.txt +667 -0
  107. package/dist/agents/ux-expert.txt +703 -0
  108. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +2386 -0
  109. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +1627 -0
  110. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +822 -0
  111. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +11008 -0
  112. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4031 -0
  113. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +3717 -0
  114. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +456 -0
  115. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +982 -0
  116. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +15450 -0
  117. package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +921 -0
  118. package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +81 -0
  119. package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +886 -0
  120. package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
  121. package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +903 -0
  122. package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +837 -0
  123. package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +989 -0
  124. package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +888 -0
  125. package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1173 -0
  126. package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +914 -0
  127. package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +6511 -0
  128. package/dist/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.txt +1513 -0
  129. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-analyst.txt +3190 -0
  130. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-architect.txt +4499 -0
  131. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-designer.txt +3925 -0
  132. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-developer.txt +666 -0
  133. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-pm.txt +2381 -0
  134. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-po.txt +1612 -0
  135. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-qa.txt +1741 -0
  136. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-sm.txt +1208 -0
  137. package/dist/expansion-packs/bmad-godot-game-dev/agents/game-ux-expert.txt +958 -0
  138. package/dist/expansion-packs/bmad-godot-game-dev/teams/godot-game-team.txt +27717 -0
  139. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2087 -0
  140. package/dist/teams/team-all.txt +12911 -0
  141. package/dist/teams/team-fullstack.txt +10477 -0
  142. package/dist/teams/team-ide-minimal.txt +5299 -0
  143. package/dist/teams/team-no-ui.txt +9029 -0
  144. package/docs/GUIDING-PRINCIPLES.md +91 -0
  145. package/docs/core-architecture.md +219 -0
  146. package/docs/enhanced-ide-development-workflow.md +248 -0
  147. package/docs/expansion-packs.md +200 -0
  148. package/docs/flattener.md +91 -0
  149. package/docs/how-to-contribute-with-pull-requests.md +158 -0
  150. package/docs/stella-user-guide.md +637 -0
  151. package/docs/user-guide.md +577 -0
  152. package/docs/versioning-and-releases.md +155 -0
  153. package/docs/versions.md +48 -0
  154. package/docs/working-in-the-brownfield.md +606 -0
  155. package/eslint.config.mjs +119 -0
  156. package/expansion-packs/README.md +3 -0
  157. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +14 -0
  158. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +73 -0
  159. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +80 -0
  160. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +66 -0
  161. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +203 -0
  162. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +162 -0
  163. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +9 -0
  164. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +252 -0
  165. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +649 -0
  166. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +112 -0
  167. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +218 -0
  168. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +292 -0
  169. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +614 -0
  170. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +357 -0
  171. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +344 -0
  172. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +254 -0
  173. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +485 -0
  174. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +184 -0
  175. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +176 -0
  176. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +15 -0
  177. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +82 -0
  178. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +79 -0
  179. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +80 -0
  180. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +67 -0
  181. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +393 -0
  182. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +205 -0
  183. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +203 -0
  184. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +126 -0
  185. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +7 -0
  186. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +771 -0
  187. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +588 -0
  188. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +112 -0
  189. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +143 -0
  190. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +186 -0
  191. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +292 -0
  192. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +202 -0
  193. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +1031 -0
  194. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +357 -0
  195. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +706 -0
  196. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +257 -0
  197. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +485 -0
  198. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +184 -0
  199. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +176 -0
  200. package/expansion-packs/bmad-creative-writing/README.md +146 -0
  201. package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +20 -0
  202. package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +94 -0
  203. package/expansion-packs/bmad-creative-writing/agents/book-critic.md +40 -0
  204. package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +93 -0
  205. package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +46 -0
  206. package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +92 -0
  207. package/expansion-packs/bmad-creative-writing/agents/editor.md +93 -0
  208. package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +95 -0
  209. package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +93 -0
  210. package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +95 -0
  211. package/expansion-packs/bmad-creative-writing/agents/world-builder.md +94 -0
  212. package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +23 -0
  213. package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +23 -0
  214. package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +23 -0
  215. package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +23 -0
  216. package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +21 -0
  217. package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +23 -0
  218. package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +23 -0
  219. package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +22 -0
  220. package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +22 -0
  221. package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +23 -0
  222. package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +23 -0
  223. package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +25 -0
  224. package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +23 -0
  225. package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +23 -0
  226. package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +23 -0
  227. package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +23 -0
  228. package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +59 -0
  229. package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +23 -0
  230. package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +23 -0
  231. package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +23 -0
  232. package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +22 -0
  233. package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +23 -0
  234. package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +23 -0
  235. package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +23 -0
  236. package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +23 -0
  237. package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +23 -0
  238. package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +23 -0
  239. package/expansion-packs/bmad-creative-writing/config.yaml +12 -0
  240. package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +209 -0
  241. package/expansion-packs/bmad-creative-writing/data/story-structures.md +67 -0
  242. package/expansion-packs/bmad-creative-writing/docs/brief.md +212 -0
  243. package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +119 -0
  244. package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +23 -0
  245. package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +67 -0
  246. package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +29 -0
  247. package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +23 -0
  248. package/expansion-packs/bmad-creative-writing/tasks/build-world.md +24 -0
  249. package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +22 -0
  250. package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +103 -0
  251. package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +26 -0
  252. package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +26 -0
  253. package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +24 -0
  254. package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +88 -0
  255. package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +23 -0
  256. package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +23 -0
  257. package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +23 -0
  258. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +25 -0
  259. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +26 -0
  260. package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +23 -0
  261. package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +25 -0
  262. package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +23 -0
  263. package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +24 -0
  264. package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +23 -0
  265. package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +22 -0
  266. package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +23 -0
  267. package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +64 -0
  268. package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +97 -0
  269. package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +82 -0
  270. package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
  271. package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +98 -0
  272. package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +78 -0
  273. package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +55 -0
  274. package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
  275. package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +89 -0
  276. package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +218 -0
  277. package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +56 -0
  278. package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +50 -0
  279. package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
  280. package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +91 -0
  281. package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +85 -0
  282. package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +78 -0
  283. package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +64 -0
  284. package/expansion-packs/bmad-godot-game-dev/README.md +244 -0
  285. package/expansion-packs/bmad-godot-game-dev/agent-teams/godot-game-team.yaml +18 -0
  286. package/expansion-packs/bmad-godot-game-dev/agents/bmad-orchestrator.md +147 -0
  287. package/expansion-packs/bmad-godot-game-dev/agents/game-analyst.md +84 -0
  288. package/expansion-packs/bmad-godot-game-dev/agents/game-architect.md +146 -0
  289. package/expansion-packs/bmad-godot-game-dev/agents/game-designer.md +78 -0
  290. package/expansion-packs/bmad-godot-game-dev/agents/game-developer.md +124 -0
  291. package/expansion-packs/bmad-godot-game-dev/agents/game-pm.md +82 -0
  292. package/expansion-packs/bmad-godot-game-dev/agents/game-po.md +115 -0
  293. package/expansion-packs/bmad-godot-game-dev/agents/game-qa.md +159 -0
  294. package/expansion-packs/bmad-godot-game-dev/agents/game-sm.md +66 -0
  295. package/expansion-packs/bmad-godot-game-dev/agents/game-ux-expert.md +75 -0
  296. package/expansion-packs/bmad-godot-game-dev/checklists/game-architect-checklist.md +377 -0
  297. package/expansion-packs/bmad-godot-game-dev/checklists/game-change-checklist.md +250 -0
  298. package/expansion-packs/bmad-godot-game-dev/checklists/game-design-checklist.md +225 -0
  299. package/expansion-packs/bmad-godot-game-dev/checklists/game-po-checklist.md +448 -0
  300. package/expansion-packs/bmad-godot-game-dev/checklists/game-story-dod-checklist.md +202 -0
  301. package/expansion-packs/bmad-godot-game-dev/config.yaml +30 -0
  302. package/expansion-packs/bmad-godot-game-dev/data/bmad-kb.md +811 -0
  303. package/expansion-packs/bmad-godot-game-dev/data/brainstorming-techniques.md +36 -0
  304. package/expansion-packs/bmad-godot-game-dev/data/development-guidelines.md +893 -0
  305. package/expansion-packs/bmad-godot-game-dev/data/elicitation-methods.md +156 -0
  306. package/expansion-packs/bmad-godot-game-dev/data/technical-preferences.md +3 -0
  307. package/expansion-packs/bmad-godot-game-dev/tasks/advanced-elicitation.md +110 -0
  308. package/expansion-packs/bmad-godot-game-dev/tasks/apply-qa-fixes.md +224 -0
  309. package/expansion-packs/bmad-godot-game-dev/tasks/brownfield-create-epic.md +162 -0
  310. package/expansion-packs/bmad-godot-game-dev/tasks/brownfield-create-story.md +149 -0
  311. package/expansion-packs/bmad-godot-game-dev/tasks/correct-course-game.md +159 -0
  312. package/expansion-packs/bmad-godot-game-dev/tasks/create-deep-research-prompt.md +278 -0
  313. package/expansion-packs/bmad-godot-game-dev/tasks/create-doc.md +103 -0
  314. package/expansion-packs/bmad-godot-game-dev/tasks/create-game-story.md +202 -0
  315. package/expansion-packs/bmad-godot-game-dev/tasks/document-project.md +343 -0
  316. package/expansion-packs/bmad-godot-game-dev/tasks/execute-checklist.md +88 -0
  317. package/expansion-packs/bmad-godot-game-dev/tasks/facilitate-brainstorming-session.md +136 -0
  318. package/expansion-packs/bmad-godot-game-dev/tasks/game-brownfield-create-epic.md +160 -0
  319. package/expansion-packs/bmad-godot-game-dev/tasks/game-brownfield-create-story.md +147 -0
  320. package/expansion-packs/bmad-godot-game-dev/tasks/game-design-brainstorming.md +290 -0
  321. package/expansion-packs/bmad-godot-game-dev/tasks/game-risk-profile.md +368 -0
  322. package/expansion-packs/bmad-godot-game-dev/tasks/game-test-design.md +219 -0
  323. package/expansion-packs/bmad-godot-game-dev/tasks/generate-ai-frontend-prompt.md +51 -0
  324. package/expansion-packs/bmad-godot-game-dev/tasks/kb-mode-interaction.md +77 -0
  325. package/expansion-packs/bmad-godot-game-dev/tasks/review-game-story.md +364 -0
  326. package/expansion-packs/bmad-godot-game-dev/tasks/shard-doc.md +187 -0
  327. package/expansion-packs/bmad-godot-game-dev/tasks/validate-game-story.md +208 -0
  328. package/expansion-packs/bmad-godot-game-dev/templates/brainstorming-output-tmpl.yaml +156 -0
  329. package/expansion-packs/bmad-godot-game-dev/templates/brownfield-prd-tmpl.yaml +281 -0
  330. package/expansion-packs/bmad-godot-game-dev/templates/competitor-analysis-tmpl.yaml +306 -0
  331. package/expansion-packs/bmad-godot-game-dev/templates/game-architecture-tmpl.yaml +1111 -0
  332. package/expansion-packs/bmad-godot-game-dev/templates/game-brief-tmpl.yaml +356 -0
  333. package/expansion-packs/bmad-godot-game-dev/templates/game-design-doc-tmpl.yaml +724 -0
  334. package/expansion-packs/bmad-godot-game-dev/templates/game-prd-tmpl.yaml +209 -0
  335. package/expansion-packs/bmad-godot-game-dev/templates/game-qa-gate-tmpl.yaml +186 -0
  336. package/expansion-packs/bmad-godot-game-dev/templates/game-story-tmpl.yaml +406 -0
  337. package/expansion-packs/bmad-godot-game-dev/templates/game-ui-spec-tmpl.yaml +601 -0
  338. package/expansion-packs/bmad-godot-game-dev/templates/level-design-doc-tmpl.yaml +620 -0
  339. package/expansion-packs/bmad-godot-game-dev/templates/market-research-tmpl.yaml +418 -0
  340. package/expansion-packs/bmad-godot-game-dev/utils/bmad-doc-template.md +327 -0
  341. package/expansion-packs/bmad-godot-game-dev/utils/workflow-management.md +71 -0
  342. package/expansion-packs/bmad-godot-game-dev/workflows/game-dev-greenfield.yaml +245 -0
  343. package/expansion-packs/bmad-godot-game-dev/workflows/game-prototype.yaml +213 -0
  344. package/expansion-packs/bmad-infrastructure-devops/README.md +147 -0
  345. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +73 -0
  346. package/expansion-packs/bmad-infrastructure-devops/checklists/infrastructure-checklist.md +486 -0
  347. package/expansion-packs/bmad-infrastructure-devops/config.yaml +10 -0
  348. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +307 -0
  349. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +161 -0
  350. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +155 -0
  351. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +425 -0
  352. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +630 -0
  353. package/package.json +116 -0
  354. package/prettier.config.mjs +32 -0
  355. package/tools/bmad-npx-wrapper.js +39 -0
  356. package/tools/builders/web-builder.js +675 -0
  357. package/tools/bump-all-versions.js +115 -0
  358. package/tools/bump-expansion-version.js +90 -0
  359. package/tools/cli.js +152 -0
  360. package/tools/flattener/aggregate.js +76 -0
  361. package/tools/flattener/binary.js +80 -0
  362. package/tools/flattener/discovery.js +71 -0
  363. package/tools/flattener/files.js +35 -0
  364. package/tools/flattener/ignoreRules.js +178 -0
  365. package/tools/flattener/main.js +568 -0
  366. package/tools/flattener/projectRoot.js +206 -0
  367. package/tools/flattener/prompts.js +44 -0
  368. package/tools/flattener/stats.helpers.js +395 -0
  369. package/tools/flattener/stats.js +80 -0
  370. package/tools/flattener/test-matrix.js +413 -0
  371. package/tools/flattener/xml.js +88 -0
  372. package/tools/implement-fork-friendly-ci.sh +229 -0
  373. package/tools/installer/README.md +8 -0
  374. package/tools/installer/bin/bmad.js +633 -0
  375. package/tools/installer/config/ide-agent-config.yaml +58 -0
  376. package/tools/installer/config/install.config.yaml +184 -0
  377. package/tools/installer/lib/config-loader.js +257 -0
  378. package/tools/installer/lib/dependency-manager.js +383 -0
  379. package/tools/installer/lib/file-manager.js +394 -0
  380. package/tools/installer/lib/ide-base-setup.js +228 -0
  381. package/tools/installer/lib/ide-setup.js +2461 -0
  382. package/tools/installer/lib/installer.js +2094 -0
  383. package/tools/installer/lib/memory-profiler.js +225 -0
  384. package/tools/installer/lib/module-manager.js +114 -0
  385. package/tools/installer/lib/resource-locator.js +308 -0
  386. package/tools/installer/package.json +47 -0
  387. package/tools/lib/dependency-resolver.js +175 -0
  388. package/tools/lib/yaml-utils.js +29 -0
  389. package/tools/md-assets/web-agent-startup-instructions.md +39 -0
  390. package/tools/preview-release-notes.js +66 -0
  391. package/tools/setup-hooks.sh +37 -0
  392. package/tools/shared/bannerArt.js +105 -0
  393. package/tools/sync-installer-version.js +32 -0
  394. package/tools/sync-version.sh +23 -0
  395. package/tools/update-expansion-version.js +53 -0
  396. package/tools/upgraders/v3-to-v4-upgrader.js +673 -0
  397. package/tools/version-bump.js +94 -0
  398. package/tools/yaml-format.js +253 -0
@@ -0,0 +1,347 @@
1
+ <!-- Powered by Stella Development Team -->
2
+
3
+ # Identify Dependencies Task
4
+
5
+ ## Purpose
6
+
7
+ To analyze a JIRA ticket or implementation plan and identify all technical dependencies, potential blockers, integration points, and risks that could impact successful implementation. This task surfaces critical information early, enabling better planning and risk mitigation.
8
+
9
+ ## Documentation Framework
10
+
11
+ When identifying items in sections 2-5, document the following for each item:
12
+
13
+ ### For Dependencies (Code, Infrastructure, Third-Party, Data):
14
+
15
+ - **What:** Name/description and what it provides
16
+ - **Where:** Location (file path, service URL, package name)
17
+ - **State:** Current status (exists, needs creation, needs modification, version)
18
+ - **Requirements:** Configuration, access, permissions needed
19
+ - **Concerns:** Known issues, limitations, performance considerations, costs
20
+
21
+ ### For Blockers (Technical, Information, Resource):
22
+
23
+ - **What:** What is blocking or missing
24
+ - **Impact:** Severity level (critical, high, medium, low)
25
+ - **Resolution:** Who can unblock, how to obtain, estimated time
26
+ - **Alternatives:** Workarounds or alternative approaches
27
+ - **Partial Progress:** Can work proceed partially?
28
+
29
+ ### For Integration Points (Internal, External):
30
+
31
+ - **Type:** Connection type and protocol
32
+ - **Contract:** Data format, API specification
33
+ - **Authentication:** Auth method and credentials management
34
+ - **Reliability:** Error handling, retries, rate limits, fallback strategies
35
+ - **Testing:** How to test and monitor the integration
36
+
37
+ ### For Risks (Technical, Integration, Project):
38
+
39
+ - **Description:** Clear description of the risk
40
+ - **Assessment:** Likelihood (high/medium/low) and Impact (critical/high/medium/low)
41
+ - **Detection:** Early warning signs or detection strategy
42
+ - **Mitigation:** Strategy to prevent or reduce risk
43
+ - **Contingency:** Fallback plan if risk materializes
44
+
45
+ ## Task Execution
46
+
47
+ ### 1. Understand the Ticket/Plan Context
48
+
49
+ #### 1.1 Load Ticket or Plan Information
50
+
51
+ - Read the ticket file, plan file, or description provided
52
+ - Extract key information:
53
+ - Ticket type (feature, bug, migration)
54
+ - Technical scope
55
+ - Components involved
56
+ - Integration requirements
57
+ - Timeline constraints (if any)
58
+
59
+ #### 1.2 Load Architecture Context
60
+
61
+ First, read the architecture index to understand available documentation:
62
+
63
+ - Read `architecture/index.md` - Contains brief descriptions of all architecture documents
64
+
65
+ **Fallback for Architecture Documentation:** If no `architecture/` folder exists inside `bmad-docs/` folder, check for `Claude.md` in the root directory of the project if it exists. This file may contain architecture and project information.
66
+
67
+ Based on the ticket context and the briefs in the index, decide which architecture files are relevant to explore:
68
+
69
+ - For technology/package dependencies → Review tech stack documentation
70
+ - For project structure/module dependencies → Review structure documentation
71
+ - For backend-specific work → Review backend architecture documentation
72
+ - For frontend-specific work → Review frontend architecture documentation
73
+ - For external integrations → Review external APIs documentation
74
+ - For data/schema changes → Review database documentation
75
+
76
+ **Decision Point:** Only load the architecture files that are relevant to your specific ticket context.
77
+
78
+ ### 2. Identify Technical Dependencies
79
+
80
+ #### 2.1 Code Dependencies
81
+
82
+ Identify and document (per framework above):
83
+
84
+ - **Modules/Components** - Existing code this must interact with
85
+ - **Shared Services** - Required utilities or services
86
+ - **Data Models** - Required data structures or schemas
87
+ - **APIs** - Internal APIs to consume
88
+ - **State Management** - Required state or context
89
+
90
+ #### 2.2 Infrastructure Dependencies
91
+
92
+ Identify and document (per framework above):
93
+
94
+ - **Databases** - Database access, schema changes, migrations
95
+ - **Caching** - Redis, Memcached, or other caching systems
96
+ - **Message Queues** - Kafka, RabbitMQ, or other queuing systems
97
+ - **Storage** - File storage, S3, CDN requirements
98
+ - **Environment Variables** - New configs or secrets
99
+ - **Deployment** - Build pipeline, deployment scripts, infrastructure changes
100
+
101
+ #### 2.3 Third-Party Dependencies
102
+
103
+ Identify and document (per framework above):
104
+
105
+ - **NPM/Package Dependencies** - New libraries or version updates
106
+ - **External APIs** - Third-party services to integrate
107
+ - **SaaS Services** - Payment gateways, analytics, monitoring
108
+ - **Authentication Providers** - OAuth, SAML providers
109
+ - **CDNs or Static Resources** - External resource dependencies
110
+
111
+ Note: Include license compatibility, rate limits, and cost implications in documentation.
112
+
113
+ #### 2.4 Data Dependencies
114
+
115
+ Identify and document (per framework above):
116
+
117
+ - **Existing Data** - Required data availability
118
+ - **Data Migrations** - Schema or data migrations required
119
+ - **Data Transformations** - Data conversion needs
120
+ - **Data Volume** - Amount of data involved
121
+ - **Data Quality** - Data quality concerns
122
+ - **Data Access** - Permission or privacy requirements
123
+
124
+ Note: Include migration strategy, validation, backup, and rollback needs in documentation.
125
+
126
+ ### 3. Identify Blockers
127
+
128
+ #### 3.1 Technical Blockers
129
+
130
+ Identify and document (per framework above) anything that could prevent implementation:
131
+
132
+ - **Missing Infrastructure** - Required services not yet provisioned
133
+ - **Incomplete Features** - Depends on other unfinished work
134
+ - **Technical Debt** - Existing code that must be refactored first
135
+ - **Performance Issues** - Current system can't handle new requirements
136
+ - **Security Gaps** - Security requirements not yet met
137
+ - **Technical Limitations** - Platform or technology constraints
138
+
139
+ #### 3.2 Information Blockers
140
+
141
+ Identify and document (per framework above) missing information:
142
+
143
+ - **Unclear Requirements** - Specifications not fully defined
144
+ - **Ambiguous Acceptance Criteria** - Success conditions unclear
145
+ - **Missing Designs** - UI/UX designs not available
146
+ - **Unknown Integration Details** - Third-party API specs unclear
147
+ - **Undecided Architecture** - Technical approach not yet determined
148
+
149
+ #### 3.3 Resource Blockers
150
+
151
+ Identify and document (per framework above) resource constraints:
152
+
153
+ - **Access/Permissions** - Lack of access to systems, repos, or services
154
+ - **Budget Constraints** - Costs exceeding budget
155
+ - **Time Constraints** - Dependencies won't be ready in time
156
+ - **Skill Gaps** - Specialized knowledge required
157
+ - **Tooling** - Required tools not available
158
+
159
+ ### 4. Identify Integration Points
160
+
161
+ #### 4.1 Internal Integration Points
162
+
163
+ Identify and document (per framework above) connections within the system:
164
+
165
+ - **Frontend-Backend** - API calls, data flows
166
+ - **Service-to-Service** - Microservice communications
167
+ - **Database Connections** - Data access patterns
168
+ - **Event Systems** - Event producers and consumers
169
+ - **Shared State** - Global state or cache dependencies
170
+
171
+ #### 4.2 External Integration Points
172
+
173
+ Identify and document (per framework above) connections to external systems:
174
+
175
+ - **Third-Party APIs** - External service calls
176
+ - **Webhooks** - Incoming or outgoing webhook integrations
177
+ - **File Imports/Exports** - Data exchange with external systems
178
+ - **Authentication** - SSO, OAuth providers
179
+ - **Monitoring/Logging** - External monitoring services
180
+
181
+ ### 5. Assess Risks
182
+
183
+ #### 5.1 Technical Risks
184
+
185
+ Identify and document (per framework above):
186
+
187
+ - **Complexity** - Solution is technically complex
188
+ - **New Technology** - Using unfamiliar tech stack
189
+ - **Performance** - May not meet performance requirements
190
+ - **Scalability** - Solution may not scale
191
+ - **Security** - Potential security vulnerabilities
192
+ - **Data Loss** - Risk of data corruption or loss (especially migrations)
193
+ - **Browser/Platform Compatibility** - May not work across targets
194
+
195
+ #### 5.2 Integration Risks
196
+
197
+ Identify and document (per framework above):
198
+
199
+ - **API Changes** - Third-party APIs may change
200
+ - **Service Downtime** - External services may be unavailable
201
+ - **Version Incompatibility** - Dependency version conflicts
202
+ - **Data Format Changes** - External data formats may change
203
+ - **Rate Limiting** - May hit rate limits under load
204
+
205
+ #### 5.3 Project Risks
206
+
207
+ Identify and document (per framework above):
208
+
209
+ - **Scope Creep** - Requirements may expand
210
+ - **Timeline Pressure** - Tight deadlines may force shortcuts
211
+ - **Dependency Delays** - Other teams may delay
212
+ - **Resource Availability** - Key resources may be unavailable
213
+ - **Requirement Changes** - Requirements may change during implementation
214
+
215
+ ### 6. Recommend Mitigation Strategies
216
+
217
+ For identified dependencies and risks, provide strategies:
218
+
219
+ #### 6.1 Dependency Management
220
+
221
+ - **Early Validation** - Verify dependencies before main implementation
222
+ - **Parallel Workstreams** - Work on independent parts while waiting
223
+ - **Stub/Mock** - Create mocks for unavailable dependencies
224
+ - **Incremental Approach** - Deliver in phases to reduce risk
225
+ - **Fallback Options** - Identify alternative approaches
226
+
227
+ #### 6.2 Risk Mitigation
228
+
229
+ - **Proof of Concept** - Validate high-risk approaches early
230
+ - **Feature Flags** - Use flags to enable/disable safely
231
+ - **Gradual Rollout** - Deploy incrementally to subset of users
232
+ - **Monitoring** - Add comprehensive monitoring and alerting
233
+ - **Rollback Plan** - Have clear rollback procedures
234
+ - **Testing** - Extra testing for high-risk areas
235
+
236
+ ### 7. Create Temporary Dependency File
237
+
238
+ Create a temporary file to store the dependency analysis:
239
+
240
+ #### 7.1 File Creation
241
+
242
+ - **File name:** `{{ticket_no}}-dependency-tmp.md`
243
+ - **Location:** `bmad-docs/temporary/`
244
+ - **Purpose:** Store dependencies for use by create-implementation-plan task
245
+
246
+ **Note:** If the `bmad-docs/temporary` folder doesn't exist, create it first.
247
+
248
+ #### 7.2 File Content Structure
249
+
250
+ Write the comprehensive dependency analysis to the temporary file using the following structure:
251
+
252
+ ```markdown
253
+ # Dependency Analysis Report: [Ticket Number] - [Title]
254
+
255
+ ## Summary
256
+
257
+ - Total Dependencies Identified: [N]
258
+ - Critical Blockers: [N]
259
+ - High-Risk Items: [N]
260
+ - External Integrations: [N]
261
+ - Overall Risk Level: [Low/Medium/High/Critical]
262
+
263
+ ## Technical Dependencies
264
+
265
+ [List with details]
266
+
267
+ ## Infrastructure Dependencies
268
+
269
+ [List with details]
270
+
271
+ ## Third-Party Dependencies
272
+
273
+ [List with details]
274
+
275
+ ## Data Dependencies
276
+
277
+ [List with details]
278
+
279
+ ## Blockers
280
+
281
+ [List with severity, impact, mitigation]
282
+
283
+ ## Integration Points
284
+
285
+ [List with protocols, error handling]
286
+
287
+ ## Risks
288
+
289
+ [List with likelihood, impact, mitigation]
290
+
291
+ ## Recommended Approach
292
+
293
+ 1. [First priority action]
294
+ 2. [Second priority action]
295
+ 3. [Continue with remaining actions]
296
+
297
+ ## Critical Path Items
298
+
299
+ - [Items that must be resolved before starting]
300
+ - [Items that must be resolved during implementation]
301
+
302
+ ## Next Steps
303
+
304
+ 1. Resolve critical blockers
305
+ 2. Validate high-risk dependencies
306
+ 3. Proceed with implementation plan
307
+ ```
308
+
309
+ #### 7.3 Present Summary to User
310
+
311
+ After creating the file, provide a summary to the user:
312
+
313
+ - Location of the temporary file
314
+ - Total dependencies identified
315
+ - Critical blockers that need attention
316
+ - Overall risk level assessment
317
+
318
+ ### 8. Integration with Implementation Plan
319
+
320
+ The `create-implementation-plan` task will read `{{ticket_no}}-dependency-tmp.md` and integrate dependencies into the implementation plan's "Dependencies and Risks" section, "Technical Approach", and "Tasks / Subtasks".
321
+
322
+ #### 8.1 Cleanup Logic
323
+
324
+ After integration, the create-implementation-plan task performs cleanup:
325
+
326
+ **All dependencies addressed:** Delete `{{ticket_no}}-dependency-tmp.md` completely.
327
+
328
+ **Dependencies span multiple subtasks:** Remove only addressed dependencies from the temporary file. Keep remaining dependencies for subsequent decomposed subtasks that will reuse the file.
329
+
330
+ #### 8.2 Workflow
331
+
332
+ 1. **Identify Dependencies** → Creates `{{ticket_no}}-dependency-tmp.md`
333
+ 2. **Decompose Task** (if needed) → Breaks large tasks into smaller subtasks
334
+ 3. **Create Implementation Plan** → Integrates dependencies, cleans up file as appropriate
335
+ 4. **Repeat** → Subsequent subtasks reuse temporary file until all dependencies addressed
336
+
337
+ ## Notes
338
+
339
+ - This task is typically run as part of create-implementation-plan workflow
340
+ - Can also be run standalone for existing plans or tickets
341
+ - Creates a temporary file `{{ticket_no}}-dependency-tmp.md` in `bmad-docs/temporary/` for use by subsequent tasks
342
+ - Temporary file persists across decomposed subtasks and is cleaned up once all dependencies are addressed
343
+ - Supports BMAD decomposition workflow where large tasks (multiple story points) are broken into smaller tasks (max 1 story point each)
344
+ - Dependency identification helps set realistic timelines
345
+ - Early identification prevents surprises during implementation
346
+ - Risk mitigation strategies should be concrete and actionable
347
+ - Document assumptions clearly when dependencies are uncertain
@@ -0,0 +1,188 @@
1
+ <!-- Powered by Stella Development Team -->
2
+
3
+ # implement-test
4
+
5
+ Implement unit and integration tests from test design scenarios. Execute test scenarios in priority order, validate coverage, and update task documentation. If a scenario is marked as E2E, do not implement it and record it as out of scope in the Test Summary.
6
+
7
+ ## Inputs
8
+
9
+ ```yaml
10
+ required:
11
+ - test_design_path: '{qa.qaLocation}/assessments/{{ticket_number}}-*-test-design-{YYYYMMDD}.md'
12
+ - task_path: 'bmad-docs/impl-plan/{{ticket_number}}-*.md'
13
+ - project_root: '{root from core-config.yaml}'
14
+ ```
15
+
16
+ ## Purpose
17
+
18
+ Convert test design scenarios into executable test code. Implement tests following priority order and ensure all acceptance criteria have working test coverage.
19
+
20
+ ## Dependencies
21
+
22
+ ```yaml
23
+ data:
24
+ - technical-preferences.md # Project testing framework and patterns
25
+ config:
26
+ - core-config.yaml # Project paths and test command
27
+ ```
28
+
29
+ ## Process
30
+
31
+ ### 1. Load Test Design
32
+
33
+ Read the test design document at `test_design_path`:
34
+
35
+ - Extract all test scenarios from the "Test Scenarios by Acceptance Criteria" section
36
+ - Note the test level (unit/integration) for each scenario
37
+ - Identify P0 tests - these MUST be implemented first
38
+ - Record which ACs each test covers
39
+
40
+ ### 2. Identify Test Framework
41
+
42
+ Read `technical-preferences.md` to determine:
43
+
44
+ - Testing framework (Jest, Pytest, RSpec, etc.)
45
+ - Test file naming convention
46
+ - Test file location pattern
47
+ - Assertion library in use
48
+ - Mock/stub patterns used in project
49
+
50
+ ### 3. Implement Tests by Priority
51
+
52
+ For each test scenario in **priority order** per Critical Rule #1:
53
+
54
+ #### A. Locate or Create Test File
55
+
56
+ **Unit tests:**
57
+
58
+ - Follow project convention (e.g., `*.test.ts`, `*_test.py`, `*_spec.rb`)
59
+ - Place adjacent to source file OR in mirror `tests/` directory per project standard
60
+ - If test file exists, append new test cases
61
+ - If new, create with proper imports and setup blocks
62
+
63
+ **Integration tests:**
64
+
65
+ - Use integration test directory from project structure
66
+ - Group by feature/module if project does so
67
+ - Include necessary test fixtures and setup
68
+
69
+ #### B. Write Test Implementation
70
+
71
+ For each test scenario, write ONE test case:
72
+
73
+ 1. **Test name**: Use exact scenario ID (e.g., `test('1.3-UNIT-001: Validate input format', ...)`)
74
+
75
+ 2. **Structure**: Given-When-Then format (setup → execute → assert)
76
+
77
+ 3. **Style**: Match project's existing test patterns (mocking, assertions, helpers)
78
+
79
+ #### C. Execute and Validate
80
+
81
+ After implementing each test:
82
+
83
+ 1. Run the specific test file
84
+ 2. If file-level test execution is not supported, run the smallest valid test scope available per project configuration.
85
+ 3. Verify the test PASSES
86
+ 4. If test FAILS:
87
+ - Debug the test implementation (NOT the source code)
88
+ - Verify test data matches scenario requirements
89
+ - Check assertions match expected behavior
90
+ - Only if source code has a bug, note it in "Debug Log" section of task and continue
91
+
92
+ DO NOT proceed to the next test until the current test passes OR the failure is documented in "Debug Log" as a source code bug.
93
+
94
+ ### 4. Update Task File
95
+
96
+ Add to the task file's "Testing" section:
97
+
98
+ ```markdown
99
+ ## Testing
100
+
101
+ ### Implemented Tests
102
+
103
+ Test design: `{relative path to test design doc}`
104
+
105
+ Implemented: {date}
106
+
107
+ **Test Summary:**
108
+
109
+ - Unit tests: {count} (Files: {list test files})
110
+ - Integration tests: {count} (Files: {list test files})
111
+ - All P0 tests: ✓ PASSING
112
+ - Test design scenarios: {total}
113
+ - Implemented scenarios: {total}
114
+ - Passing tests: {total}
115
+ - Coverage: {percentage}% of ACs
116
+
117
+ **Coverage:**
118
+
119
+ - AC1: {test IDs}
120
+ - AC2: {test IDs}
121
+ - [list all ACs with their test IDs]
122
+
123
+ **Execution:**
124
+ Run tests: `{test command from core-config}`
125
+ ```
126
+
127
+ ## Outputs
128
+
129
+ ### Output 1: Test Files
130
+
131
+ **Created/Updated Files:**
132
+
133
+ - Unit test files in project test directory
134
+ - Integration test files in project test directory
135
+ - Test fixtures/helpers if needed
136
+
137
+ **Naming Convention:**
138
+ Follow project standard from `technical-preferences.md`
139
+
140
+ ### Output 2: Execution Report
141
+
142
+ Print to console:
143
+
144
+ ```text
145
+ TEST IMPLEMENTATION COMPLETE
146
+ ==============================
147
+ Task: {ticket_number}-{ticket_title_short}
148
+ Test Design: {filename}
149
+
150
+ Tests Implemented:
151
+ Unit: {count} tests in {file count} files
152
+ Integration: {count} tests in {file count} files
153
+
154
+ Priority Breakdown:
155
+ P0: {count} ✓
156
+ P1: {count} ✓
157
+ P2: {count} ✓
158
+
159
+ Execution Results:
160
+ ✓ All tests passing
161
+ ✓ All ACs covered
162
+
163
+ Run tests: {test command}
164
+ ```
165
+
166
+ ## Validation Checklist
167
+
168
+ Before marking complete:
169
+
170
+ - [ ] All P0 tests implemented and passing
171
+ - [ ] All P1 and P2 tests implemented and passing or documented as bug
172
+ - [ ] Test IDs match test design document exactly
173
+ - [ ] Every AC has at least one test
174
+ - [ ] Test count matches test design document totals
175
+ - [ ] Full test suite passes (no regressions)
176
+ - [ ] Test files follow project naming conventions
177
+ - [ ] Task "Testing" section updated / added
178
+ - [ ] No tests marked as `.skip()` or `.todo()` (unless documented as bugs in Debug Log)
179
+
180
+ ## Critical Rules
181
+
182
+ 1. **Implement in priority order**: P0 first, then P1, then P2, then P3. Stop if P0 tests fail.
183
+
184
+ 2. **One scenario = one test**: Each scenario ID in test design gets exactly one test case.
185
+
186
+ 3. **Test scope:** Implement only scenarios from test design - no additional test cases.
187
+
188
+ 4. **Test files only**: Do NOT modify source code unless fixing a legitimate bug found during testing.
@@ -0,0 +1,175 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Index Documentation Task
4
+
5
+ ## Purpose
6
+
7
+ This task maintains the integrity and completeness of the `bmad-docs/index.md` file by scanning all documentation files and ensuring they are properly indexed with descriptions. It handles both root-level documents and documents within subfolders, organizing them hierarchically.
8
+
9
+ ## Task Instructions
10
+
11
+ You are now operating as a Documentation Indexer. Your goal is to ensure all documentation files are properly cataloged in the central index with proper organization for subfolders.
12
+
13
+ ### Required Steps
14
+
15
+ 1. First, locate and scan:
16
+ - The `bmad-docs/` directory and all subdirectories
17
+ - The existing `bmad-docs/index.md` file (create if absent)
18
+ - All markdown (`.md`) and text (`.txt`) files in the documentation structure
19
+ - Note the folder structure for hierarchical organization
20
+
21
+ 2. For the existing `bmad-docs/index.md`:
22
+ - Parse current entries
23
+ - Note existing file references and descriptions
24
+ - Identify any broken links or missing files
25
+ - Keep track of already-indexed content
26
+ - Preserve existing folder sections
27
+
28
+ 3. For each documentation file found:
29
+ - Extract the title (from first heading or filename)
30
+ - Generate a brief description by analyzing the content
31
+ - Create a relative markdown link to the file
32
+ - Check if it's already in the index
33
+ - Note which folder it belongs to (if in a subfolder)
34
+ - If missing or outdated, prepare an update
35
+
36
+ 4. For any missing or non-existent files found in index:
37
+ - Present a list of all entries that reference non-existent files
38
+ - For each entry:
39
+ - Show the full entry details (title, path, description)
40
+ - Ask for explicit confirmation before removal
41
+ - Provide option to update the path if file was moved
42
+ - Log the decision (remove/update/keep) for final report
43
+
44
+ 5. Update `bmad-docs/index.md`:
45
+ - Maintain existing structure and organization
46
+ - Create level 2 sections (`##`) for each subfolder
47
+ - List root-level documents first
48
+ - Add missing entries with descriptions
49
+ - Update outdated entries
50
+ - Remove only entries that were confirmed for removal
51
+ - Ensure consistent formatting throughout
52
+
53
+ ### Index Structure Format
54
+
55
+ The index should be organized as follows:
56
+
57
+ ```markdown
58
+ # Documentation Index
59
+
60
+ ## Root Documents
61
+
62
+ ### [Document Title](./document.md)
63
+
64
+ Brief description of the document's purpose and contents.
65
+
66
+ ### [Another Document](./another.md)
67
+
68
+ Description here.
69
+
70
+ ## Folder Name
71
+
72
+ Documents within the `folder-name/` directory:
73
+
74
+ ### [Document in Folder](./folder-name/document.md)
75
+
76
+ Description of this document.
77
+
78
+ ### [Another in Folder](./folder-name/another.md)
79
+
80
+ Description here.
81
+
82
+ ## Another Folder
83
+
84
+ Documents within the `another-folder/` directory:
85
+
86
+ ### [Nested Document](./another-folder/document.md)
87
+
88
+ Description of nested document.
89
+ ```
90
+
91
+ ### Index Entry Format
92
+
93
+ Each entry should follow this format:
94
+
95
+ ```markdown
96
+ ### [Document Title](relative/path/to/file.md)
97
+
98
+ Brief description of the document's purpose and contents.
99
+ ```
100
+
101
+ ### Rules of Operation
102
+
103
+ 1. NEVER modify the content of indexed files
104
+ 2. Preserve existing descriptions in index.md when they are adequate
105
+ 3. Maintain any existing categorization or grouping in the index
106
+ 4. Use relative paths for all links (starting with `./`)
107
+ 5. Ensure descriptions are concise but informative
108
+ 6. NEVER remove entries without explicit confirmation
109
+ 7. Report any broken links or inconsistencies found
110
+ 8. Allow path updates for moved files before considering removal
111
+ 9. Create folder sections using level 2 headings (`##`)
112
+ 10. Sort folders alphabetically, with root documents listed first
113
+ 11. Within each section, sort documents alphabetically by title
114
+
115
+ ### Process Output
116
+
117
+ The task will provide:
118
+
119
+ 1. A summary of changes made to index.md
120
+ 2. List of newly indexed files (organized by folder)
121
+ 3. List of updated entries
122
+ 4. List of entries presented for removal and their status:
123
+ - Confirmed removals
124
+ - Updated paths
125
+ - Kept despite missing file
126
+ 5. Any new folders discovered
127
+ 6. Any other issues or inconsistencies found
128
+
129
+ ### Handling Missing Files
130
+
131
+ For each file referenced in the index but not found in the filesystem:
132
+
133
+ 1. Present the entry:
134
+
135
+ ```markdown
136
+ Missing file detected:
137
+ Title: [Document Title]
138
+ Path: relative/path/to/file.md
139
+ Description: Existing description
140
+ Section: [Root Documents | Folder Name]
141
+
142
+ Options:
143
+
144
+ 1. Remove this entry
145
+ 2. Update the file path
146
+ 3. Keep entry (mark as temporarily unavailable)
147
+
148
+ Please choose an option (1/2/3):
149
+ ```
150
+
151
+ 2. Wait for user confirmation before taking any action
152
+ 3. Log the decision for the final report
153
+
154
+ ### Special Cases
155
+
156
+ 1. **Sharded Documents**: If a folder contains an `index.md` file, treat it as a sharded document:
157
+ - Use the folder's `index.md` title as the section title
158
+ - List the folder's documents as subsections
159
+ - Note in the description that this is a multi-part document
160
+
161
+ 2. **README files**: Convert `README.md` to more descriptive titles based on content
162
+
163
+ 3. **Nested Subfolders**: For deeply nested folders, maintain the hierarchy but limit to 2 levels in the main index. Deeper structures should have their own index files.
164
+
165
+ ## Required Input
166
+
167
+ Please provide:
168
+
169
+ 1. Location of the `bmad-docs/` directory (default: `./docs`)
170
+ 2. Confirmation of write access to `bmad-docs/index.md`
171
+ 3. Any specific categorization preferences
172
+ 4. Any files or directories to exclude from indexing (e.g., `.git`, `node_modules`)
173
+ 5. Whether to include hidden files/folders (starting with `.`)
174
+
175
+ Would you like to proceed with documentation indexing? Please provide the required input above.