bmad-method 6.0.0-alpha.6 → 6.0.0-alpha.7

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 (367) hide show
  1. package/.claude/settings.local.json +13 -6
  2. package/.github/workflows/{lint.yaml → quality.yaml} +19 -2
  3. package/.husky/pre-commit +4 -0
  4. package/README.md +59 -1
  5. package/bmad/_cfg/agent-manifest.csv +2 -8
  6. package/bmad/_cfg/files-manifest.csv +8 -202
  7. package/bmad/_cfg/ides/claude-code.yaml +3 -4
  8. package/bmad/_cfg/manifest.yaml +5 -4
  9. package/bmad/_cfg/task-manifest.csv +8 -1
  10. package/bmad/_cfg/tool-manifest.csv +2 -0
  11. package/bmad/_cfg/workflow-manifest.csv +4 -31
  12. package/bmad/bmb/config.yaml +2 -2
  13. package/bmad/bmb/workflows/create-agent/instructions.md +25 -9
  14. package/bmad/bmb/workflows/create-module/module-structure.md +34 -0
  15. package/bmad/core/config.yaml +2 -2
  16. package/docs/installers-bundlers/installers-modules-platforms-reference.md +61 -0
  17. package/package.json +5 -3
  18. package/src/core/tasks/adv-elicit.xml +1 -1
  19. package/src/modules/bmb/workflows/create-agent/instructions.md +25 -9
  20. package/src/modules/bmb/workflows/create-module/module-structure.md +34 -0
  21. package/src/modules/bmgd/README.md +208 -0
  22. package/src/modules/bmgd/_module-installer/install-config.yaml +66 -0
  23. package/src/modules/{bmm → bmgd}/agents/game-architect.agent.yaml +5 -12
  24. package/src/modules/{bmm → bmgd}/agents/game-designer.agent.yaml +10 -22
  25. package/src/modules/{bmm → bmgd}/agents/game-dev.agent.yaml +9 -10
  26. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +70 -0
  27. package/{bmad/bmm → src/modules/bmgd}/teams/team-gamedev.yaml +3 -1
  28. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/workflow.yaml +7 -7
  29. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/workflow.yaml +9 -9
  30. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +81 -0
  31. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/workflow.yaml +6 -6
  32. package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/workflow.yaml +16 -16
  33. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/workflow.yaml +3 -1
  34. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/workflow.yaml +3 -1
  35. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/workflow.yaml +3 -1
  36. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/workflow.yaml +3 -1
  37. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/workflow.yaml +3 -1
  38. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/workflow.yaml +3 -1
  39. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/workflow.yaml +3 -1
  40. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/workflow.yaml +3 -1
  41. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/workflow.yaml +3 -1
  42. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/workflow.yaml +3 -1
  43. package/src/modules/bmm/docs/README.md +8 -9
  44. package/src/modules/bmm/docs/agents-guide.md +0 -1
  45. package/src/modules/bmm/docs/brownfield-guide.md +5 -9
  46. package/src/modules/bmm/docs/faq.md +4 -6
  47. package/src/modules/bmm/docs/glossary.md +0 -1
  48. package/src/modules/bmm/docs/quick-spec-flow.md +4 -4
  49. package/src/modules/bmm/docs/quick-start.md +4 -4
  50. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  51. package/src/modules/bmm/docs/test-architecture.md +183 -118
  52. package/src/modules/bmm/docs/workflows-analysis.md +203 -539
  53. package/src/modules/bmm/docs/workflows-planning.md +326 -850
  54. package/src/modules/bmm/docs/workflows-solutioning.md +250 -505
  55. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +65 -32
  56. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +4 -0
  57. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +1 -1
  58. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +34 -5
  59. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +1 -1
  60. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +8 -0
  61. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +6 -0
  62. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +47 -0
  63. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +50 -0
  64. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  65. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  66. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +42 -65
  67. package/test/test-installation-components.js +214 -0
  68. package/tools/cli/bundlers/web-bundler.js +127 -8
  69. package/tools/cli/installers/lib/ide/auggie.js +9 -20
  70. package/tools/cli/installers/lib/ide/claude-code.js +33 -3
  71. package/tools/cli/installers/lib/ide/cursor.js +17 -0
  72. package/tools/cli/installers/lib/modules/manager.js +128 -0
  73. package/tools/cli/lib/yaml-xml-builder.js +9 -1
  74. package/tools/schema/agent.js +1 -0
  75. package/v6-open-items.md +3 -9
  76. package/web-bundles/bmm/agents/analyst.xml +5028 -0
  77. package/web-bundles/bmm/agents/architect.xml +2047 -0
  78. package/web-bundles/bmm/agents/dev.xml +68 -0
  79. package/web-bundles/bmm/agents/pm.xml +3808 -0
  80. package/web-bundles/bmm/agents/sm.xml +77 -0
  81. package/web-bundles/bmm/agents/tea.xml +66 -0
  82. package/web-bundles/bmm/agents/tech-writer.xml +84 -0
  83. package/web-bundles/bmm/agents/ux-designer.xml +2018 -0
  84. package/web-bundles/bmm/teams/team-fullstack.xml +12039 -0
  85. package/.claude/agents/bmad-analysis/api-documenter.md +0 -102
  86. package/.claude/agents/bmad-analysis/codebase-analyzer.md +0 -82
  87. package/.claude/agents/bmad-analysis/data-analyst.md +0 -101
  88. package/.claude/agents/bmad-analysis/pattern-detector.md +0 -84
  89. package/.claude/agents/bmad-planning/dependency-mapper.md +0 -83
  90. package/.claude/agents/bmad-planning/epic-optimizer.md +0 -81
  91. package/.claude/agents/bmad-planning/requirements-analyst.md +0 -61
  92. package/.claude/agents/bmad-planning/technical-decisions-curator.md +0 -168
  93. package/.claude/agents/bmad-planning/trend-spotter.md +0 -115
  94. package/.claude/agents/bmad-planning/user-journey-mapper.md +0 -123
  95. package/.claude/agents/bmad-planning/user-researcher.md +0 -72
  96. package/.claude/agents/bmad-research/market-researcher.md +0 -51
  97. package/.claude/agents/bmad-research/tech-debt-auditor.md +0 -106
  98. package/.claude/agents/bmad-review/document-reviewer.md +0 -102
  99. package/.claude/agents/bmad-review/technical-evaluator.md +0 -68
  100. package/.claude/agents/bmad-review/test-coverage-analyzer.md +0 -108
  101. package/.claude/commands/bmad/bmb/workflows/README.md +0 -67
  102. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -67
  103. package/.claude/commands/bmad/bmm/agents/architect.md +0 -72
  104. package/.claude/commands/bmad/bmm/agents/dev.md +0 -69
  105. package/.claude/commands/bmad/bmm/agents/pm.md +0 -76
  106. package/.claude/commands/bmad/bmm/agents/sm.md +0 -85
  107. package/.claude/commands/bmad/bmm/agents/tea.md +0 -72
  108. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -82
  109. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -71
  110. package/.claude/commands/bmad/bmm/workflows/README.md +0 -132
  111. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -15
  112. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -15
  113. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -15
  114. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -15
  115. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -15
  116. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -15
  117. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -15
  118. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -15
  119. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -15
  120. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -15
  121. package/.claude/commands/bmad/bmm/workflows/narrative.md +0 -15
  122. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -15
  123. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -15
  124. package/.claude/commands/bmad/bmm/workflows/research.md +0 -15
  125. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -15
  126. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +0 -15
  127. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -15
  128. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -15
  129. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -15
  130. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -15
  131. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -15
  132. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -15
  133. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -15
  134. package/.claude/commands/bmad/cis/agents/README.md +0 -104
  135. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -62
  136. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -62
  137. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -62
  138. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +0 -62
  139. package/.claude/commands/bmad/cis/agents/storyteller.md +0 -59
  140. package/.claude/commands/bmad/cis/workflows/README.md +0 -37
  141. package/.claude/commands/bmad/cis/workflows/design-thinking.md +0 -15
  142. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -15
  143. package/.claude/commands/bmad/cis/workflows/problem-solving.md +0 -15
  144. package/.claude/commands/bmad/cis/workflows/storytelling.md +0 -15
  145. package/.claude/commands/bmad/core/workflows/README.md +0 -27
  146. package/bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  147. package/bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  148. package/bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  149. package/bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  150. package/bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  151. package/bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  152. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  153. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  154. package/bmad/bmm/README.md +0 -128
  155. package/bmad/bmm/agents/analyst.md +0 -67
  156. package/bmad/bmm/agents/architect.md +0 -72
  157. package/bmad/bmm/agents/dev.md +0 -69
  158. package/bmad/bmm/agents/pm.md +0 -76
  159. package/bmad/bmm/agents/sm.md +0 -85
  160. package/bmad/bmm/agents/tea.md +0 -72
  161. package/bmad/bmm/agents/tech-writer.md +0 -82
  162. package/bmad/bmm/agents/ux-designer.md +0 -71
  163. package/bmad/bmm/config.yaml +0 -18
  164. package/bmad/bmm/tasks/daily-standup.xml +0 -85
  165. package/bmad/bmm/teams/team-fullstack.yaml +0 -11
  166. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  167. package/bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  168. package/bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  169. package/bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  170. package/bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  171. package/bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  172. package/bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  173. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  174. package/bmad/bmm/testarch/knowledge/network-first.md +0 -486
  175. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  176. package/bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  177. package/bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  178. package/bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  179. package/bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  180. package/bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  181. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  182. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  183. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  184. package/bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  185. package/bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  186. package/bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  187. package/bmad/bmm/testarch/tea-index.csv +0 -22
  188. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -110
  189. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  190. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  191. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -423
  192. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  193. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -36
  194. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  195. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  196. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  197. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  198. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  199. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  200. package/bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  201. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  202. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -439
  203. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -679
  204. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -133
  205. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -538
  206. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  207. package/bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  208. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  209. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  210. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  211. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1301
  212. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  213. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -64
  214. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -29
  215. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -350
  216. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -52
  217. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +0 -169
  218. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +0 -45
  219. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  220. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -408
  221. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -237
  222. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  223. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -46
  224. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -214
  225. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -80
  226. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  227. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  228. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -1115
  229. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  230. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  231. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  232. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -175
  233. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +0 -305
  234. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -146
  235. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  236. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +0 -64
  237. package/bmad/bmm/workflows/document-project/checklist.md +0 -245
  238. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  239. package/bmad/bmm/workflows/document-project/instructions.md +0 -222
  240. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  241. package/bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  242. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  243. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  244. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  245. package/bmad/bmm/workflows/document-project/workflow.yaml +0 -34
  246. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  247. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  248. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  249. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  250. package/bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  251. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  252. package/bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  253. package/bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  254. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -52
  255. package/bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  256. package/bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  257. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -61
  258. package/bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  259. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  260. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  261. package/bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  262. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -53
  263. package/bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  264. package/bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  265. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -53
  266. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  267. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  268. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  269. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -56
  270. package/bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  271. package/bmad/bmm/workflows/testarch/test-design/instructions.md +0 -621
  272. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  273. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -52
  274. package/bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  275. package/bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  276. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  277. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -53
  278. package/bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  279. package/bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  280. package/bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  281. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -66
  282. package/bmad/bmm/workflows/workflow-status/init/instructions.md +0 -771
  283. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -27
  284. package/bmad/bmm/workflows/workflow-status/instructions.md +0 -386
  285. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -120
  286. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -108
  287. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  288. package/bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -97
  289. package/bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -88
  290. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  291. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  292. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  293. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  294. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -31
  295. package/bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  296. package/src/modules/bmm/docs/troubleshooting.md +0 -680
  297. package/src/modules/bmm/teams/team-gamedev.yaml +0 -14
  298. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -81
  299. package/src/modules/bmm/workflows/2-plan-workflows/narrative/checklist.md +0 -139
  300. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -608
  301. package/src/modules/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +0 -195
  302. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  303. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  304. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/instructions.md +0 -0
  305. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  306. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/instructions.md +0 -0
  307. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/template.md +0 -0
  308. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  309. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  310. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  311. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  312. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  313. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  314. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  315. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  316. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  317. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  318. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  319. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  320. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  321. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  322. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  323. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  324. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  325. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  326. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  327. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  328. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  329. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  330. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  331. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  332. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  333. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  334. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/gdd-template.md +0 -0
  335. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/instructions-gdd.md +0 -0
  336. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  337. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/instructions-narrative.md +0 -0
  338. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/narrative-template.md +0 -0
  339. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-patterns.yaml +0 -0
  340. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-template.md +0 -0
  341. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/checklist.md +0 -0
  342. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/decision-catalog.yaml +0 -0
  343. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/instructions.md +0 -0
  344. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/pattern-categories.csv +0 -0
  345. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/backlog_template.md +0 -0
  346. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/checklist.md +0 -0
  347. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/instructions.md +0 -0
  348. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/checklist.md +0 -0
  349. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/instructions.md +0 -0
  350. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/checklist.md +0 -0
  351. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/instructions.md +0 -0
  352. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/template.md +0 -0
  353. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/AUDIT-REPORT.md +0 -0
  354. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/checklist.md +0 -0
  355. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/instructions.md +0 -0
  356. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/checklist.md +0 -0
  357. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/instructions.md +0 -0
  358. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/template.md +0 -0
  359. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/instructions.md +0 -0
  360. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/checklist.md +0 -0
  361. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/instructions.md +0 -0
  362. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/sprint-status-template.yaml +0 -0
  363. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/checklist.md +0 -0
  364. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/context-template.xml +0 -0
  365. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/instructions.md +0 -0
  366. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/instructions.md +0 -0
  367. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/instructions.md +0 -0
@@ -1,31 +0,0 @@
1
- # Full Project Scan Workflow Configuration
2
- name: "document-project-full-scan"
3
- description: "Complete project documentation workflow (initial scan or full rescan)"
4
- author: "BMad"
5
-
6
- # This is a sub-workflow called by document-project/workflow.yaml
7
- parent_workflow: "{project-root}/bmad/bmm/workflows/document-project/workflow.yaml"
8
-
9
- # Critical variables inherited from parent
10
- config_source: "{project-root}/bmad/bmb/config.yaml"
11
- output_folder: "{config_source}:output_folder"
12
- user_name: "{config_source}:user_name"
13
- date: system-generated
14
-
15
- # Data files
16
- documentation_requirements_csv: "{project-root}/bmad/bmm/workflows/document-project/documentation-requirements.csv"
17
-
18
- # Module path and component files
19
- installed_path: "{project-root}/bmad/bmm/workflows/document-project/workflows"
20
- template: false # Action workflow
21
- instructions: "{installed_path}/full-scan-instructions.md"
22
- validation: "{project-root}/bmad/bmm/workflows/document-project/checklist.md"
23
-
24
- # Runtime inputs (passed from parent workflow)
25
- workflow_mode: "" # "initial_scan" or "full_rescan"
26
- scan_level: "" # "quick", "deep", or "exhaustive"
27
- resume_mode: false
28
- project_root_path: ""
29
-
30
- # Configuration
31
- autonomous: false # Requires user input at key decision points
@@ -1,262 +0,0 @@
1
- # Technical Documentation Standards for BMAD
2
-
3
- **For Agent: Technical Writer**
4
- **Purpose: Concise reference for documentation creation and review**
5
-
6
- ---
7
-
8
- ## CRITICAL RULES
9
-
10
- ### Rule 1: CommonMark Strict Compliance
11
-
12
- ALL documentation MUST follow CommonMark specification exactly. No exceptions.
13
-
14
- ### Rule 2: NO TIME ESTIMATES
15
-
16
- NEVER document time estimates, durations, or completion times for any workflow, task, or activity. This includes:
17
-
18
- - Workflow execution time (e.g., "30-60 min", "2-8 hours")
19
- - Task duration estimates
20
- - Reading time estimates
21
- - Implementation time ranges
22
- - Any temporal measurements
23
-
24
- Time varies dramatically based on:
25
-
26
- - Project complexity
27
- - Team experience
28
- - Tooling and environment
29
- - Context switching
30
- - Unforeseen blockers
31
-
32
- **Instead:** Focus on workflow steps, dependencies, and outputs. Let users determine their own timelines.
33
-
34
- ### CommonMark Essentials
35
-
36
- **Headers:**
37
-
38
- - Use ATX-style ONLY: `#` `##` `###` (NOT Setext underlines)
39
- - Single space after `#`: `# Title` (NOT `#Title`)
40
- - No trailing `#`: `# Title` (NOT `# Title #`)
41
- - Hierarchical order: Don't skip levels (h1→h2→h3, not h1→h3)
42
-
43
- **Code Blocks:**
44
-
45
- - Use fenced blocks with language identifier:
46
- ````markdown
47
- ```javascript
48
- const example = 'code';
49
- ```
50
- ````
51
- - NOT indented code blocks (ambiguous)
52
-
53
- **Lists:**
54
-
55
- - Consistent markers within list: all `-` or all `*` or all `+` (don't mix)
56
- - Proper indentation for nested items (2 or 4 spaces, stay consistent)
57
- - Blank line before/after list for clarity
58
-
59
- **Links:**
60
-
61
- - Inline: `[text](url)`
62
- - Reference: `[text][ref]` then `[ref]: url` at bottom
63
- - NO bare URLs without `<>` brackets
64
-
65
- **Emphasis:**
66
-
67
- - Italic: `*text*` or `_text_`
68
- - Bold: `**text**` or `__text__`
69
- - Consistent style within document
70
-
71
- **Line Breaks:**
72
-
73
- - Two spaces at end of line + newline, OR
74
- - Blank line between paragraphs
75
- - NO single line breaks (they're ignored)
76
-
77
- ---
78
-
79
- ## Mermaid Diagrams: Valid Syntax Required
80
-
81
- **Critical Rules:**
82
-
83
- 1. Always specify diagram type first line
84
- 2. Use valid Mermaid v10+ syntax
85
- 3. Test syntax before outputting (mental validation)
86
- 4. Keep focused: 5-10 nodes ideal, max 15
87
-
88
- **Diagram Type Selection:**
89
-
90
- - **flowchart** - Process flows, decision trees, workflows
91
- - **sequenceDiagram** - API interactions, message flows, time-based processes
92
- - **classDiagram** - Object models, class relationships, system structure
93
- - **erDiagram** - Database schemas, entity relationships
94
- - **stateDiagram-v2** - State machines, lifecycle stages
95
- - **gitGraph** - Branch strategies, version control flows
96
-
97
- **Formatting:**
98
-
99
- ````markdown
100
- ```mermaid
101
- flowchart TD
102
- Start[Clear Label] --> Decision{Question?}
103
- Decision -->|Yes| Action1[Do This]
104
- Decision -->|No| Action2[Do That]
105
- ```
106
- ````
107
-
108
- ---
109
-
110
- ## Style Guide Principles (Distilled)
111
-
112
- Apply in this hierarchy:
113
-
114
- 1. **Project-specific guide** (if exists) - always ask first
115
- 2. **BMAD conventions** (this document)
116
- 3. **Google Developer Docs style** (defaults below)
117
- 4. **CommonMark spec** (when in doubt)
118
-
119
- ### Core Writing Rules
120
-
121
- **Task-Oriented Focus:**
122
-
123
- - Write for user GOALS, not feature lists
124
- - Start with WHY, then HOW
125
- - Every doc answers: "What can I accomplish?"
126
-
127
- **Clarity Principles:**
128
-
129
- - Active voice: "Click the button" NOT "The button should be clicked"
130
- - Present tense: "The function returns" NOT "The function will return"
131
- - Direct language: "Use X for Y" NOT "X can be used for Y"
132
- - Second person: "You configure" NOT "Users configure" or "One configures"
133
-
134
- **Structure:**
135
-
136
- - One idea per sentence
137
- - One topic per paragraph
138
- - Headings describe content accurately
139
- - Examples follow explanations
140
-
141
- **Accessibility:**
142
-
143
- - Descriptive link text: "See the API reference" NOT "Click here"
144
- - Alt text for diagrams: Describe what it shows
145
- - Semantic heading hierarchy (don't skip levels)
146
- - Tables have headers
147
- - Emojis are acceptable if user preferences allow (modern accessibility tools support emojis well)
148
-
149
- ---
150
-
151
- ## OpenAPI/API Documentation
152
-
153
- **Required Elements:**
154
-
155
- - Endpoint path and method
156
- - Authentication requirements
157
- - Request parameters (path, query, body) with types
158
- - Request example (realistic, working)
159
- - Response schema with types
160
- - Response examples (success + common errors)
161
- - Error codes and meanings
162
-
163
- **Quality Standards:**
164
-
165
- - OpenAPI 3.0+ specification compliance
166
- - Complete schemas (no missing fields)
167
- - Examples that actually work
168
- - Clear error messages
169
- - Security schemes documented
170
-
171
- ---
172
-
173
- ## Documentation Types: Quick Reference
174
-
175
- **README:**
176
-
177
- - What (overview), Why (purpose), How (quick start)
178
- - Installation, Usage, Contributing, License
179
- - Under 500 lines (link to detailed docs)
180
-
181
- **API Reference:**
182
-
183
- - Complete endpoint coverage
184
- - Request/response examples
185
- - Authentication details
186
- - Error handling
187
- - Rate limits if applicable
188
-
189
- **User Guide:**
190
-
191
- - Task-based sections (How to...)
192
- - Step-by-step instructions
193
- - Screenshots/diagrams where helpful
194
- - Troubleshooting section
195
-
196
- **Architecture Docs:**
197
-
198
- - System overview diagram (Mermaid)
199
- - Component descriptions
200
- - Data flow
201
- - Technology decisions (ADRs)
202
- - Deployment architecture
203
-
204
- **Developer Guide:**
205
-
206
- - Setup/environment requirements
207
- - Code organization
208
- - Development workflow
209
- - Testing approach
210
- - Contribution guidelines
211
-
212
- ---
213
-
214
- ## Quality Checklist
215
-
216
- Before finalizing ANY documentation:
217
-
218
- - [ ] CommonMark compliant (no violations)
219
- - [ ] NO time estimates anywhere (Critical Rule 2)
220
- - [ ] Headers in proper hierarchy
221
- - [ ] All code blocks have language tags
222
- - [ ] Links work and have descriptive text
223
- - [ ] Mermaid diagrams render correctly
224
- - [ ] Active voice, present tense
225
- - [ ] Task-oriented (answers "how do I...")
226
- - [ ] Examples are concrete and working
227
- - [ ] Accessibility standards met
228
- - [ ] Spelling/grammar checked
229
- - [ ] Reads clearly at target skill level
230
-
231
- ---
232
-
233
- ## BMAD-Specific Conventions
234
-
235
- **File Organization:**
236
-
237
- - `README.md` at root of each major component
238
- - `docs/` folder for extensive documentation
239
- - Workflow-specific docs in workflow folder
240
- - Cross-references use relative paths
241
-
242
- **Frontmatter:**
243
- Use YAML frontmatter when appropriate:
244
-
245
- ```yaml
246
- ---
247
- title: Document Title
248
- description: Brief description
249
- author: Author name
250
- date: YYYY-MM-DD
251
- ---
252
- ```
253
-
254
- **Metadata:**
255
-
256
- - Always include last-updated date
257
- - Version info for versioned docs
258
- - Author attribution for accountability
259
-
260
- ---
261
-
262
- **Remember: This is your foundation. Follow these rules consistently, and all documentation will be clear, accessible, and maintainable.**
@@ -1,363 +0,0 @@
1
- # ATDD Checklist - Epic {epic_num}, Story {story_num}: {story_title}
2
-
3
- **Date:** {date}
4
- **Author:** {user_name}
5
- **Primary Test Level:** {primary_level}
6
-
7
- ---
8
-
9
- ## Story Summary
10
-
11
- {Brief 2-3 sentence summary of the user story}
12
-
13
- **As a** {user_role}
14
- **I want** {feature_description}
15
- **So that** {business_value}
16
-
17
- ---
18
-
19
- ## Acceptance Criteria
20
-
21
- {List all testable acceptance criteria from the story}
22
-
23
- 1. {Acceptance criterion 1}
24
- 2. {Acceptance criterion 2}
25
- 3. {Acceptance criterion 3}
26
-
27
- ---
28
-
29
- ## Failing Tests Created (RED Phase)
30
-
31
- ### E2E Tests ({e2e_test_count} tests)
32
-
33
- **File:** `{e2e_test_file_path}` ({line_count} lines)
34
-
35
- {List each E2E test with its current status and expected failure reason}
36
-
37
- - ✅ **Test:** {test_name}
38
- - **Status:** RED - {failure_reason}
39
- - **Verifies:** {what_this_test_validates}
40
-
41
- ### API Tests ({api_test_count} tests)
42
-
43
- **File:** `{api_test_file_path}` ({line_count} lines)
44
-
45
- {List each API test with its current status and expected failure reason}
46
-
47
- - ✅ **Test:** {test_name}
48
- - **Status:** RED - {failure_reason}
49
- - **Verifies:** {what_this_test_validates}
50
-
51
- ### Component Tests ({component_test_count} tests)
52
-
53
- **File:** `{component_test_file_path}` ({line_count} lines)
54
-
55
- {List each component test with its current status and expected failure reason}
56
-
57
- - ✅ **Test:** {test_name}
58
- - **Status:** RED - {failure_reason}
59
- - **Verifies:** {what_this_test_validates}
60
-
61
- ---
62
-
63
- ## Data Factories Created
64
-
65
- {List all data factory files created with their exports}
66
-
67
- ### {Entity} Factory
68
-
69
- **File:** `tests/support/factories/{entity}.factory.ts`
70
-
71
- **Exports:**
72
-
73
- - `create{Entity}(overrides?)` - Create single entity with optional overrides
74
- - `create{Entity}s(count)` - Create array of entities
75
-
76
- **Example Usage:**
77
-
78
- ```typescript
79
- const user = createUser({ email: 'specific@example.com' });
80
- const users = createUsers(5); // Generate 5 random users
81
- ```
82
-
83
- ---
84
-
85
- ## Fixtures Created
86
-
87
- {List all test fixture files created with their fixture names and descriptions}
88
-
89
- ### {Feature} Fixtures
90
-
91
- **File:** `tests/support/fixtures/{feature}.fixture.ts`
92
-
93
- **Fixtures:**
94
-
95
- - `{fixtureName}` - {description_of_what_fixture_provides}
96
- - **Setup:** {what_setup_does}
97
- - **Provides:** {what_test_receives}
98
- - **Cleanup:** {what_cleanup_does}
99
-
100
- **Example Usage:**
101
-
102
- ```typescript
103
- import { test } from './fixtures/{feature}.fixture';
104
-
105
- test('should do something', async ({ {fixtureName} }) => {
106
- // {fixtureName} is ready to use with auto-cleanup
107
- });
108
- ```
109
-
110
- ---
111
-
112
- ## Mock Requirements
113
-
114
- {Document external services that need mocking and their requirements}
115
-
116
- ### {Service Name} Mock
117
-
118
- **Endpoint:** `{HTTP_METHOD} {endpoint_url}`
119
-
120
- **Success Response:**
121
-
122
- ```json
123
- {
124
- {success_response_example}
125
- }
126
- ```
127
-
128
- **Failure Response:**
129
-
130
- ```json
131
- {
132
- {failure_response_example}
133
- }
134
- ```
135
-
136
- **Notes:** {any_special_mock_requirements}
137
-
138
- ---
139
-
140
- ## Required data-testid Attributes
141
-
142
- {List all data-testid attributes required in UI implementation for test stability}
143
-
144
- ### {Page or Component Name}
145
-
146
- - `{data-testid-name}` - {description_of_element}
147
- - `{data-testid-name}` - {description_of_element}
148
-
149
- **Implementation Example:**
150
-
151
- ```tsx
152
- <button data-testid="login-button">Log In</button>
153
- <input data-testid="email-input" type="email" />
154
- <div data-testid="error-message">{errorText}</div>
155
- ```
156
-
157
- ---
158
-
159
- ## Implementation Checklist
160
-
161
- {Map each failing test to concrete implementation tasks that will make it pass}
162
-
163
- ### Test: {test_name_1}
164
-
165
- **File:** `{test_file_path}`
166
-
167
- **Tasks to make this test pass:**
168
-
169
- - [ ] {Implementation task 1}
170
- - [ ] {Implementation task 2}
171
- - [ ] {Implementation task 3}
172
- - [ ] Add required data-testid attributes: {list_of_testids}
173
- - [ ] Run test: `{test_execution_command}`
174
- - [ ] ✅ Test passes (green phase)
175
-
176
- **Estimated Effort:** {effort_estimate} hours
177
-
178
- ---
179
-
180
- ### Test: {test_name_2}
181
-
182
- **File:** `{test_file_path}`
183
-
184
- **Tasks to make this test pass:**
185
-
186
- - [ ] {Implementation task 1}
187
- - [ ] {Implementation task 2}
188
- - [ ] {Implementation task 3}
189
- - [ ] Add required data-testid attributes: {list_of_testids}
190
- - [ ] Run test: `{test_execution_command}`
191
- - [ ] ✅ Test passes (green phase)
192
-
193
- **Estimated Effort:** {effort_estimate} hours
194
-
195
- ---
196
-
197
- ## Running Tests
198
-
199
- ```bash
200
- # Run all failing tests for this story
201
- {test_command_all}
202
-
203
- # Run specific test file
204
- {test_command_specific_file}
205
-
206
- # Run tests in headed mode (see browser)
207
- {test_command_headed}
208
-
209
- # Debug specific test
210
- {test_command_debug}
211
-
212
- # Run tests with coverage
213
- {test_command_coverage}
214
- ```
215
-
216
- ---
217
-
218
- ## Red-Green-Refactor Workflow
219
-
220
- ### RED Phase (Complete) ✅
221
-
222
- **TEA Agent Responsibilities:**
223
-
224
- - ✅ All tests written and failing
225
- - ✅ Fixtures and factories created with auto-cleanup
226
- - ✅ Mock requirements documented
227
- - ✅ data-testid requirements listed
228
- - ✅ Implementation checklist created
229
-
230
- **Verification:**
231
-
232
- - All tests run and fail as expected
233
- - Failure messages are clear and actionable
234
- - Tests fail due to missing implementation, not test bugs
235
-
236
- ---
237
-
238
- ### GREEN Phase (DEV Team - Next Steps)
239
-
240
- **DEV Agent Responsibilities:**
241
-
242
- 1. **Pick one failing test** from implementation checklist (start with highest priority)
243
- 2. **Read the test** to understand expected behavior
244
- 3. **Implement minimal code** to make that specific test pass
245
- 4. **Run the test** to verify it now passes (green)
246
- 5. **Check off the task** in implementation checklist
247
- 6. **Move to next test** and repeat
248
-
249
- **Key Principles:**
250
-
251
- - One test at a time (don't try to fix all at once)
252
- - Minimal implementation (don't over-engineer)
253
- - Run tests frequently (immediate feedback)
254
- - Use implementation checklist as roadmap
255
-
256
- **Progress Tracking:**
257
-
258
- - Check off tasks as you complete them
259
- - Share progress in daily standup
260
- - Mark story as IN PROGRESS in `bmm-workflow-status.md`
261
-
262
- ---
263
-
264
- ### REFACTOR Phase (DEV Team - After All Tests Pass)
265
-
266
- **DEV Agent Responsibilities:**
267
-
268
- 1. **Verify all tests pass** (green phase complete)
269
- 2. **Review code for quality** (readability, maintainability, performance)
270
- 3. **Extract duplications** (DRY principle)
271
- 4. **Optimize performance** (if needed)
272
- 5. **Ensure tests still pass** after each refactor
273
- 6. **Update documentation** (if API contracts change)
274
-
275
- **Key Principles:**
276
-
277
- - Tests provide safety net (refactor with confidence)
278
- - Make small refactors (easier to debug if tests fail)
279
- - Run tests after each change
280
- - Don't change test behavior (only implementation)
281
-
282
- **Completion:**
283
-
284
- - All tests pass
285
- - Code quality meets team standards
286
- - No duplications or code smells
287
- - Ready for code review and story approval
288
-
289
- ---
290
-
291
- ## Next Steps
292
-
293
- 1. **Review this checklist** with team in standup or planning
294
- 2. **Run failing tests** to confirm RED phase: `{test_command_all}`
295
- 3. **Begin implementation** using implementation checklist as guide
296
- 4. **Work one test at a time** (red → green for each)
297
- 5. **Share progress** in daily standup
298
- 6. **When all tests pass**, refactor code for quality
299
- 7. **When refactoring complete**, run `bmad sm story-done` to move story to DONE
300
-
301
- ---
302
-
303
- ## Knowledge Base References Applied
304
-
305
- This ATDD workflow consulted the following knowledge fragments:
306
-
307
- - **fixture-architecture.md** - Test fixture patterns with setup/teardown and auto-cleanup using Playwright's `test.extend()`
308
- - **data-factories.md** - Factory patterns using `@faker-js/faker` for random test data generation with overrides support
309
- - **component-tdd.md** - Component test strategies using Playwright Component Testing
310
- - **network-first.md** - Route interception patterns (intercept BEFORE navigation to prevent race conditions)
311
- - **test-quality.md** - Test design principles (Given-When-Then, one assertion per test, determinism, isolation)
312
- - **test-levels-framework.md** - Test level selection framework (E2E vs API vs Component vs Unit)
313
-
314
- See `tea-index.csv` for complete knowledge fragment mapping.
315
-
316
- ---
317
-
318
- ## Test Execution Evidence
319
-
320
- ### Initial Test Run (RED Phase Verification)
321
-
322
- **Command:** `{test_command_all}`
323
-
324
- **Results:**
325
-
326
- ```
327
- {paste_test_run_output_showing_all_tests_failing}
328
- ```
329
-
330
- **Summary:**
331
-
332
- - Total tests: {total_test_count}
333
- - Passing: 0 (expected)
334
- - Failing: {total_test_count} (expected)
335
- - Status: ✅ RED phase verified
336
-
337
- **Expected Failure Messages:**
338
- {list_expected_failure_messages_for_each_test}
339
-
340
- ---
341
-
342
- ## Notes
343
-
344
- {Any additional notes, context, or special considerations for this story}
345
-
346
- - {Note 1}
347
- - {Note 2}
348
- - {Note 3}
349
-
350
- ---
351
-
352
- ## Contact
353
-
354
- **Questions or Issues?**
355
-
356
- - Ask in team standup
357
- - Tag @{tea_agent_username} in Slack/Discord
358
- - Refer to `./bmm/docs/tea-README.md` for workflow documentation
359
- - Consult `./bmm/testarch/knowledge` for testing best practices
360
-
361
- ---
362
-
363
- **Generated by BMad TEA Agent** - {date}