bmad-method 6.0.0-alpha.3 → 6.0.0-alpha.5

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 (540) hide show
  1. package/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
  2. package/.claude/commands/bmad/bmm/agents/architect.md +72 -0
  3. package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
  4. package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
  5. package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
  6. package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
  7. package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
  8. package/.claude/commands/bmad/bmm/agents/tech-writer.md +82 -0
  9. package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
  10. package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
  11. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  12. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  13. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  14. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  15. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  16. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  17. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  18. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  19. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  20. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  21. package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  23. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  24. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  25. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  26. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  27. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  28. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  29. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  30. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  31. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
  32. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  33. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  34. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  35. package/.claude/commands/bmad/cis/agents/README.md +104 -0
  36. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
  37. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
  38. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
  39. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
  40. package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
  41. package/.claude/commands/bmad/cis/workflows/README.md +37 -0
  42. package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
  43. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
  44. package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
  45. package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
  46. package/.claude/commands/bmad/core/workflows/README.md +10 -0
  47. package/.claude/settings.local.json +7 -42
  48. package/CHANGELOG.md +544 -0
  49. package/README.md +266 -101
  50. package/bmad/_cfg/agent-manifest.csv +13 -3
  51. package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  52. package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
  53. package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  54. package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  55. package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  56. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  57. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  58. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
  59. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
  60. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
  61. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
  62. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
  63. package/bmad/_cfg/files-manifest.csv +267 -22
  64. package/bmad/_cfg/ides/claude-code.yaml +6 -0
  65. package/bmad/_cfg/manifest.yaml +5 -5
  66. package/bmad/_cfg/task-manifest.csv +5 -0
  67. package/bmad/_cfg/tool-manifest.csv +1 -0
  68. package/bmad/_cfg/workflow-manifest.csv +37 -2
  69. package/bmad/bmb/README.md +135 -73
  70. package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
  71. package/bmad/bmb/config.yaml +2 -2
  72. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  73. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
  74. package/bmad/bmb/workflows/create-agent/README.md +126 -243
  75. package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
  76. package/bmad/bmb/workflows/create-module/README.md +163 -154
  77. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
  78. package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
  79. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  80. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
  81. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
  82. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
  83. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
  84. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
  85. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
  86. package/bmad/bmm/README.md +128 -0
  87. package/bmad/bmm/README.md.bak +169 -0
  88. package/bmad/bmm/agents/analyst.md +67 -0
  89. package/bmad/bmm/agents/analyst.md.bak +67 -0
  90. package/bmad/bmm/agents/architect.md +72 -0
  91. package/bmad/bmm/agents/architect.md.bak +73 -0
  92. package/bmad/bmm/agents/dev.md +69 -0
  93. package/bmad/bmm/agents/dev.md.bak +69 -0
  94. package/bmad/bmm/agents/paige.md.bak +82 -0
  95. package/bmad/bmm/agents/pm.md +76 -0
  96. package/bmad/bmm/agents/pm.md.bak +76 -0
  97. package/bmad/bmm/agents/sm.md +85 -0
  98. package/bmad/bmm/agents/sm.md.bak +85 -0
  99. package/bmad/bmm/agents/tea.md +72 -0
  100. package/bmad/bmm/agents/tea.md.bak +72 -0
  101. package/bmad/bmm/agents/tech-writer.md +82 -0
  102. package/bmad/bmm/agents/ux-designer.md +71 -0
  103. package/bmad/bmm/agents/ux-designer.md.bak +71 -0
  104. package/bmad/bmm/config.yaml +17 -0
  105. package/bmad/bmm/docs/README.md +235 -0
  106. package/bmad/bmm/docs/agents-guide.md +1057 -0
  107. package/bmad/bmm/docs/brownfield-guide.md +759 -0
  108. package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  109. package/bmad/bmm/docs/faq.md +589 -0
  110. package/bmad/bmm/docs/glossary.md +321 -0
  111. package/bmad/bmm/docs/party-mode.md +224 -0
  112. package/bmad/bmm/docs/quick-spec-flow.md +652 -0
  113. package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +72 -47
  114. package/bmad/bmm/docs/scale-adaptive-system.md +599 -0
  115. package/bmad/bmm/docs/troubleshooting.md +680 -0
  116. package/{src/modules/bmm/workflows/3-solutioning/architecture/README.md → bmad/bmm/docs/workflow-architecture-reference.md} +130 -77
  117. package/{src/modules/bmm/workflows/document-project/README.md → bmad/bmm/docs/workflow-document-project-reference.md} +45 -2
  118. package/bmad/bmm/docs/workflows-analysis.md +670 -0
  119. package/bmad/bmm/docs/workflows-implementation.md +1758 -0
  120. package/bmad/bmm/docs/workflows-planning.md +1086 -0
  121. package/bmad/bmm/docs/workflows-solutioning.md +726 -0
  122. package/bmad/bmm/tasks/daily-standup.xml +85 -0
  123. package/bmad/bmm/teams/team-fullstack.yaml +11 -0
  124. package/bmad/bmm/teams/team-gamedev.yaml +14 -0
  125. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  126. package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  127. package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  128. package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  129. package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  130. package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  131. package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  132. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  133. package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
  134. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  135. package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  136. package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  137. package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  138. package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  139. package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  140. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  141. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  142. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  143. package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  144. package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  145. package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  146. package/bmad/bmm/testarch/tea-index.csv +22 -0
  147. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  148. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  149. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  150. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  151. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  152. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  153. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  154. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  155. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  156. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  157. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  158. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  159. package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  160. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  161. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  162. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  163. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  164. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  165. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  166. package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  167. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  168. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  169. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  170. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
  171. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  172. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
  173. package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
  174. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
  175. package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
  176. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
  177. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
  178. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  179. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
  180. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  181. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
  182. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  183. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  184. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  185. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  186. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
  187. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  188. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  189. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
  190. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  191. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
  192. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  193. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
  194. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  195. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  196. package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  197. package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  198. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
  199. package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  200. package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
  201. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  202. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
  203. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  204. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  205. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  206. package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  207. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  208. package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  209. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
  210. package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  211. package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  212. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  213. package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  214. package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  215. package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  216. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  217. package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  218. package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  219. package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  220. package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  221. package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  222. package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  223. package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  224. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  225. package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  226. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  227. package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  228. package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  229. package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  230. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  231. package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  232. package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  233. package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  234. package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  235. package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  236. package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  237. package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  238. package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  239. package/bmad/bmm/workflows/document-project/checklist.md +245 -0
  240. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  241. package/bmad/bmm/workflows/document-project/instructions.md +222 -0
  242. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  243. package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  244. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  245. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  246. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  247. package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  248. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  249. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  250. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  251. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  252. package/bmad/bmm/workflows/techdoc/documentation-standards.md +239 -0
  253. package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
  254. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  255. package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  256. package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  257. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  258. package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  259. package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  260. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  261. package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  262. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  263. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  264. package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  265. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  266. package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  267. package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  268. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  269. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  270. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  271. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  272. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  273. package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  274. package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  275. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  276. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  277. package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  278. package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  279. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  280. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  281. package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  282. package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  283. package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  284. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  285. package/bmad/bmm/workflows/workflow-status/init/instructions.md +771 -0
  286. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  287. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
  288. package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
  289. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  290. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  291. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
  292. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
  293. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  294. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
  295. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml} +16 -18
  296. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  297. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  298. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  299. package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  300. package/bmad/cis/README.md +153 -0
  301. package/bmad/cis/agents/README.md +104 -0
  302. package/bmad/cis/agents/brainstorming-coach.md +62 -0
  303. package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
  304. package/bmad/cis/agents/creative-problem-solver.md +62 -0
  305. package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
  306. package/bmad/cis/agents/design-thinking-coach.md +62 -0
  307. package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
  308. package/bmad/cis/agents/innovation-strategist.md +62 -0
  309. package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
  310. package/bmad/cis/agents/storyteller.md +59 -0
  311. package/bmad/cis/agents/storyteller.md.bak +59 -0
  312. package/bmad/{bmd → cis}/config.yaml +3 -3
  313. package/bmad/cis/teams/creative-squad.yaml +6 -0
  314. package/bmad/cis/workflows/README.md +139 -0
  315. package/bmad/cis/workflows/design-thinking/README.md +56 -0
  316. package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
  317. package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
  318. package/bmad/cis/workflows/design-thinking/template.md +111 -0
  319. package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
  320. package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
  321. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  322. package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
  323. package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
  324. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
  325. package/bmad/cis/workflows/problem-solving/README.md +56 -0
  326. package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
  327. package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
  328. package/bmad/cis/workflows/problem-solving/template.md +165 -0
  329. package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
  330. package/bmad/cis/workflows/storytelling/README.md +58 -0
  331. package/bmad/cis/workflows/storytelling/instructions.md +291 -0
  332. package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
  333. package/bmad/cis/workflows/storytelling/template.md +113 -0
  334. package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
  335. package/bmad/core/agents/bmad-master.md.bak +71 -0
  336. package/bmad/core/config.yaml +2 -2
  337. package/bmad/core/tasks/workflow.xml +1 -19
  338. package/bmad/core/tools/shard-doc.xml +8 -43
  339. package/docs/document-sharding-guide.md +447 -0
  340. package/docs/index.md +37 -41
  341. package/package.json +1 -1
  342. package/src/core/tasks/workflow.xml +1 -11
  343. package/src/core/tools/shard-doc.xml +8 -43
  344. package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
  345. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  346. package/src/modules/bmm/README.md +79 -95
  347. package/src/modules/bmm/agents/architect.agent.yaml +0 -4
  348. package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
  349. package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
  350. package/src/modules/bmm/agents/pm.agent.yaml +11 -1
  351. package/src/modules/bmm/agents/sm.agent.yaml +1 -1
  352. package/src/modules/bmm/agents/tech-writer.agent.yaml +69 -0
  353. package/src/modules/bmm/docs/README.md +235 -0
  354. package/src/modules/bmm/docs/agents-guide.md +1057 -0
  355. package/src/modules/bmm/docs/brownfield-guide.md +759 -0
  356. package/src/modules/bmm/docs/enterprise-agentic-development.md +680 -0
  357. package/src/modules/bmm/docs/faq.md +589 -0
  358. package/src/modules/bmm/docs/glossary.md +321 -0
  359. package/src/modules/bmm/docs/party-mode.md +224 -0
  360. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  361. package/src/modules/bmm/docs/quick-start.md +366 -0
  362. package/src/modules/bmm/docs/scale-adaptive-system.md +599 -0
  363. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  364. package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
  365. package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
  366. package/src/modules/bmm/docs/workflows-analysis.md +670 -0
  367. package/src/modules/bmm/docs/workflows-implementation.md +1758 -0
  368. package/src/modules/bmm/docs/workflows-planning.md +1086 -0
  369. package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
  370. package/src/modules/bmm/tasks/daily-standup.xml +1 -1
  371. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  372. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  373. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  374. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
  375. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
  376. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
  377. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  378. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  379. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
  380. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
  381. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
  382. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
  383. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
  384. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
  385. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
  386. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
  387. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  388. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
  389. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
  390. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
  391. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +296 -63
  392. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
  393. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
  394. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +55 -0
  395. package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  396. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +268 -291
  397. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
  398. package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  399. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +26 -8
  400. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
  401. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +73 -4
  402. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
  403. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
  404. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +971 -109
  405. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
  406. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +54 -20
  407. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +23 -2
  408. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
  409. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +40 -32
  410. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
  411. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -0
  412. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +32 -6
  413. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
  414. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
  415. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
  416. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
  417. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
  418. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +32 -6
  419. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
  420. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
  421. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
  422. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
  423. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
  424. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
  425. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
  426. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
  427. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  428. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  429. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-4.yaml → method-brownfield.yaml} +35 -26
  430. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-3.yaml → method-greenfield.yaml} +32 -17
  431. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-0.yaml → quick-flow-brownfield.yaml} +23 -19
  432. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-0.yaml → quick-flow-greenfield.yaml} +18 -16
  433. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  434. package/tools/cli/commands/install.js +1 -1
  435. package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
  436. package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
  437. package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
  438. package/.claude/hooks/bmad-tts-injector.sh +0 -415
  439. package/.claude/hooks/bmad-voice-manager.sh +0 -511
  440. package/.claude/hooks/check-output-style.sh +0 -112
  441. package/.claude/hooks/download-extra-voices.sh +0 -244
  442. package/.claude/hooks/github-star-reminder.sh +0 -154
  443. package/.claude/hooks/language-manager.sh +0 -392
  444. package/.claude/hooks/learn-manager.sh +0 -475
  445. package/.claude/hooks/personality-manager.sh +0 -438
  446. package/.claude/hooks/piper-download-voices.sh +0 -165
  447. package/.claude/hooks/piper-installer.sh +0 -178
  448. package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
  449. package/.claude/hooks/piper-voice-manager.sh +0 -293
  450. package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
  451. package/.claude/hooks/play-tts-piper.sh +0 -338
  452. package/.claude/hooks/play-tts.sh +0 -100
  453. package/.claude/hooks/provider-commands.sh +0 -540
  454. package/.claude/hooks/provider-manager.sh +0 -298
  455. package/.claude/hooks/replay-target-audio.sh +0 -95
  456. package/.claude/hooks/sentiment-manager.sh +0 -201
  457. package/.claude/hooks/speed-manager.sh +0 -291
  458. package/.claude/hooks/voice-manager.sh +0 -594
  459. package/.claude/hooks/voices-config.sh +0 -70
  460. package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
  461. package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
  462. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
  463. package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
  464. package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
  465. package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
  466. package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
  467. package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
  468. package/bmad/bmd/README.md +0 -193
  469. package/bmad/bmd/README.md.bak +0 -193
  470. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  471. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
  472. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  473. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
  474. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  475. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
  476. package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  477. package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
  478. package/bmad/bmd/agents/cli-chief.md +0 -108
  479. package/bmad/bmd/agents/cli-chief.md.bak +0 -108
  480. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  481. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
  482. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  483. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
  484. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  485. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
  486. package/bmad/bmd/agents/doc-keeper.md +0 -115
  487. package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
  488. package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  489. package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
  490. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  491. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
  492. package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
  493. package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
  494. package/bmad/bmd/agents/release-chief.md +0 -109
  495. package/bmad/bmd/agents/release-chief.md.bak +0 -109
  496. package/bmad/docs/codex-instructions.md +0 -21
  497. package/docs/bmad-brownfield-guide.md +0 -1260
  498. package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
  499. package/src/modules/bmm/tasks/retrospective.xml +0 -104
  500. package/src/modules/bmm/testarch/README.md +0 -311
  501. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
  502. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
  503. package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
  504. package/src/modules/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  505. package/src/modules/bmm/workflows/1-analysis/research/README.md +0 -454
  506. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
  507. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
  508. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
  509. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
  510. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
  511. package/src/modules/bmm/workflows/2-plan-workflows/README.md +0 -258
  512. package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
  513. package/src/modules/bmm/workflows/3-solutioning/README.md +0 -1
  514. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  515. package/src/modules/bmm/workflows/4-implementation/README.md +0 -221
  516. package/src/modules/bmm/workflows/4-implementation/code-review/README.md +0 -69
  517. package/src/modules/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  518. package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -146
  519. package/src/modules/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  520. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  521. package/src/modules/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  522. package/src/modules/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  523. package/src/modules/bmm/workflows/4-implementation/story-context/README.md +0 -234
  524. package/src/modules/bmm/workflows/README.md +0 -215
  525. package/src/modules/bmm/workflows/document-project/templates/README.md +0 -38
  526. package/src/modules/bmm/workflows/testarch/README.md +0 -26
  527. package/src/modules/bmm/workflows/testarch/atdd/README.md +0 -672
  528. package/src/modules/bmm/workflows/testarch/automate/README.md +0 -869
  529. package/src/modules/bmm/workflows/testarch/ci/README.md +0 -493
  530. package/src/modules/bmm/workflows/testarch/framework/README.md +0 -340
  531. package/src/modules/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  532. package/src/modules/bmm/workflows/testarch/test-design/README.md +0 -493
  533. package/src/modules/bmm/workflows/testarch/test-review/README.md +0 -775
  534. package/src/modules/bmm/workflows/testarch/trace/README.md +0 -802
  535. package/src/modules/bmm/workflows/workflow-status/README.md +0 -260
  536. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  537. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  538. /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
  539. /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
  540. /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
@@ -1,62 +1,237 @@
1
- # {{project_name}} Product Requirements Document (PRD)
1
+ # {{project_name}} - Product Requirements Document
2
2
 
3
3
  **Author:** {{user_name}}
4
4
  **Date:** {{date}}
5
- **Project Level:** {{project_level}}
6
- **Target Scale:** {{target_scale}}
5
+ **Version:** 1.0
7
6
 
8
7
  ---
9
8
 
10
- ## Goals and Background Context
9
+ ## Executive Summary
11
10
 
12
- ### Goals
11
+ {{vision_alignment}}
13
12
 
14
- {{goals}}
13
+ ### What Makes This Special
15
14
 
16
- ### Background Context
15
+ {{product_magic_essence}}
17
16
 
18
- {{background_context}}
17
+ ---
18
+
19
+ ## Project Classification
20
+
21
+ **Technical Type:** {{project_type}}
22
+ **Domain:** {{domain_type}}
23
+ **Complexity:** {{complexity_level}}
24
+
25
+ {{project_classification}}
26
+
27
+ {{#if domain_context_summary}}
28
+
29
+ ### Domain Context
30
+
31
+ {{domain_context_summary}}
32
+ {{/if}}
33
+
34
+ ---
35
+
36
+ ## Success Criteria
37
+
38
+ {{success_criteria}}
39
+
40
+ {{#if business_metrics}}
41
+
42
+ ### Business Metrics
43
+
44
+ {{business_metrics}}
45
+ {{/if}}
46
+
47
+ ---
48
+
49
+ ## Product Scope
50
+
51
+ ### MVP - Minimum Viable Product
52
+
53
+ {{mvp_scope}}
54
+
55
+ ### Growth Features (Post-MVP)
56
+
57
+ {{growth_features}}
58
+
59
+ ### Vision (Future)
60
+
61
+ {{vision_features}}
62
+
63
+ ---
64
+
65
+ {{#if domain_considerations}}
66
+
67
+ ## Domain-Specific Requirements
68
+
69
+ {{domain_considerations}}
70
+
71
+ This section shapes all functional and non-functional requirements below.
72
+ {{/if}}
19
73
 
20
74
  ---
21
75
 
22
- ## Requirements
76
+ {{#if innovation_patterns}}
23
77
 
24
- ### Functional Requirements
78
+ ## Innovation & Novel Patterns
25
79
 
26
- {{functional_requirements}}
80
+ {{innovation_patterns}}
27
81
 
28
- ### Non-Functional Requirements
82
+ ### Validation Approach
29
83
 
30
- {{non_functional_requirements}}
84
+ {{validation_approach}}
85
+ {{/if}}
31
86
 
32
87
  ---
33
88
 
34
- ## User Journeys
89
+ {{#if project_type_requirements}}
90
+
91
+ ## {{project_type}} Specific Requirements
92
+
93
+ {{project_type_requirements}}
94
+
95
+ {{#if endpoint_specification}}
96
+
97
+ ### API Specification
98
+
99
+ {{endpoint_specification}}
100
+ {{/if}}
101
+
102
+ {{#if authentication_model}}
103
+
104
+ ### Authentication & Authorization
105
+
106
+ {{authentication_model}}
107
+ {{/if}}
108
+
109
+ {{#if platform_requirements}}
110
+
111
+ ### Platform Support
112
+
113
+ {{platform_requirements}}
114
+ {{/if}}
35
115
 
36
- {{user_journeys}}
116
+ {{#if device_features}}
117
+
118
+ ### Device Capabilities
119
+
120
+ {{device_features}}
121
+ {{/if}}
122
+
123
+ {{#if tenant_model}}
124
+
125
+ ### Multi-Tenancy Architecture
126
+
127
+ {{tenant_model}}
128
+ {{/if}}
129
+
130
+ {{#if permission_matrix}}
131
+
132
+ ### Permissions & Roles
133
+
134
+ {{permission_matrix}}
135
+ {{/if}}
136
+ {{/if}}
37
137
 
38
138
  ---
39
139
 
40
- ## UX Design Principles
140
+ {{#if ux_principles}}
141
+
142
+ ## User Experience Principles
41
143
 
42
144
  {{ux_principles}}
43
145
 
146
+ ### Key Interactions
147
+
148
+ {{key_interactions}}
149
+ {{/if}}
150
+
151
+ ---
152
+
153
+ ## Functional Requirements
154
+
155
+ {{functional_requirements_complete}}
156
+
157
+ ---
158
+
159
+ ## Non-Functional Requirements
160
+
161
+ {{#if performance_requirements}}
162
+
163
+ ### Performance
164
+
165
+ {{performance_requirements}}
166
+ {{/if}}
167
+
168
+ {{#if security_requirements}}
169
+
170
+ ### Security
171
+
172
+ {{security_requirements}}
173
+ {{/if}}
174
+
175
+ {{#if scalability_requirements}}
176
+
177
+ ### Scalability
178
+
179
+ {{scalability_requirements}}
180
+ {{/if}}
181
+
182
+ {{#if accessibility_requirements}}
183
+
184
+ ### Accessibility
185
+
186
+ {{accessibility_requirements}}
187
+ {{/if}}
188
+
189
+ {{#if integration_requirements}}
190
+
191
+ ### Integration
192
+
193
+ {{integration_requirements}}
194
+ {{/if}}
195
+
196
+ {{#if no_nfrs}}
197
+ _No specific non-functional requirements identified for this project type._
198
+ {{/if}}
199
+
44
200
  ---
45
201
 
46
- ## User Interface Design Goals
202
+ ## Implementation Planning
203
+
204
+ ### Epic Breakdown Required
47
205
 
48
- {{ui_design_goals}}
206
+ Requirements must be decomposed into epics and bite-sized stories (200k context limit).
207
+
208
+ **Next Step:** Run `workflow epics-stories` to create the implementation breakdown.
49
209
 
50
210
  ---
51
211
 
52
- ## Epic List
212
+ ## References
213
+
214
+ {{#if product_brief_path}}
215
+
216
+ - Product Brief: {{product_brief_path}}
217
+ {{/if}}
218
+ {{#if domain_brief_path}}
219
+ - Domain Brief: {{domain_brief_path}}
220
+ {{/if}}
221
+ {{#if research_documents}}
222
+ - Research: {{research_documents}}
223
+ {{/if}}
224
+
225
+ ---
53
226
 
54
- {{epic_list}}
227
+ ## Next Steps
55
228
 
56
- > **Note:** Detailed epic breakdown with full story specifications is available in [epics.md](./epics.md)
229
+ 1. **Epic & Story Breakdown** - Run: `workflow epics-stories`
230
+ 2. **UX Design** (if UI) - Run: `workflow ux-design`
231
+ 3. **Architecture** - Run: `workflow create-architecture`
57
232
 
58
233
  ---
59
234
 
60
- ## Out of Scope
235
+ _This PRD captures the essence of {{project_name}} - {{product_magic_summary}}_
61
236
 
62
- {{out_of_scope}}
237
+ _Created through collaborative discovery between {{user_name}} and AI facilitator._
@@ -0,0 +1,11 @@
1
+ project_type,detection_signals,key_questions,required_sections,skip_sections,web_search_triggers,innovation_signals
2
+ api_backend,"API,REST,GraphQL,backend,service,endpoints","Endpoints needed?;Authentication method?;Data formats?;Rate limits?;Versioning?;SDK needed?","endpoint_specs;auth_model;data_schemas;error_codes;rate_limits;api_docs","ux_ui;visual_design;user_journeys","framework best practices;OpenAPI standards","API composition;New protocol"
3
+ mobile_app,"iOS,Android,app,mobile,iPhone,iPad","Native or cross-platform?;Offline needed?;Push notifications?;Device features?;Store compliance?","platform_reqs;device_permissions;offline_mode;push_strategy;store_compliance","desktop_features;cli_commands","app store guidelines;platform requirements","Gesture innovation;AR/VR features"
4
+ saas_b2b,"SaaS,B2B,platform,dashboard,teams,enterprise","Multi-tenant?;Permission model?;Subscription tiers?;Integrations?;Compliance?","tenant_model;rbac_matrix;subscription_tiers;integration_list;compliance_reqs","cli_interface;mobile_first","compliance requirements;integration guides","Workflow automation;AI agents"
5
+ developer_tool,"SDK,library,package,npm,pip,framework","Language support?;Package managers?;IDE integration?;Documentation?;Examples?","language_matrix;installation_methods;api_surface;code_examples;migration_guide","visual_design;store_compliance","package manager best practices;API design patterns","New paradigm;DSL creation"
6
+ cli_tool,"CLI,command,terminal,bash,script","Interactive or scriptable?;Output formats?;Config method?;Shell completion?","command_structure;output_formats;config_schema;scripting_support","visual_design;ux_principles;touch_interactions","CLI design patterns;shell integration","Natural language CLI;AI commands"
7
+ web_app,"website,webapp,browser,SPA,PWA","SPA or MPA?;Browser support?;SEO needed?;Real-time?;Accessibility?","browser_matrix;responsive_design;performance_targets;seo_strategy;accessibility_level","native_features;cli_commands","web standards;WCAG guidelines","New interaction;WebAssembly use"
8
+ game,"game,player,gameplay,level,character","REDIRECT TO GAME WORKFLOWS","game-brief;GDD","most_sections","game design patterns","Novel mechanics;Genre mixing"
9
+ desktop_app,"desktop,Windows,Mac,Linux,native","Cross-platform?;Auto-update?;System integration?;Offline?","platform_support;system_integration;update_strategy;offline_capabilities","web_seo;mobile_features","desktop guidelines;platform requirements","Desktop AI;System automation"
10
+ iot_embedded,"IoT,embedded,device,sensor,hardware","Hardware specs?;Connectivity?;Power constraints?;Security?;OTA updates?","hardware_reqs;connectivity_protocol;power_profile;security_model;update_mechanism","visual_ui;browser_support","IoT standards;protocol specs","Edge AI;New sensors"
11
+ blockchain_web3,"blockchain,crypto,DeFi,NFT,smart contract","Chain selection?;Wallet integration?;Gas optimization?;Security audit?","chain_specs;wallet_support;smart_contracts;security_audit;gas_optimization","traditional_auth;centralized_db","blockchain standards;security patterns","Novel tokenomics;DAO structure"
@@ -1,6 +1,6 @@
1
1
  # Product Requirements Document (PRD) Workflow
2
2
  name: prd
3
- description: "Unified PRD workflow for project levels 2-4. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Level 0-1 use tech-spec workflow."
3
+ description: "Unified PRD workflow for BMad Method and Enterprise Method tracks. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Quick Flow track uses tech-spec workflow."
4
4
  author: "BMad"
5
5
 
6
6
  # Critical variables from config
@@ -19,28 +19,46 @@ instructions: "{installed_path}/instructions.md"
19
19
 
20
20
  # Templates
21
21
  prd_template: "{installed_path}/prd-template.md"
22
- epics_template: "{installed_path}/epics-template.md"
23
22
 
24
23
  # Output files
25
- status_file: "{output_folder}/bmm-workflow-status.md"
24
+ status_file: "{output_folder}/bmm-workflow-status.yaml"
26
25
  default_output_file: "{output_folder}/PRD.md"
27
- epics_output_file: "{output_folder}/epics.md"
28
- technical_decisions_file: "{output_folder}/technical-decisions.md"
29
- technical_decisions_template: "{project-root}/bmad/bmm/_module-installer/assets/technical-decisions.md"
30
26
 
31
27
  # Recommended input documents
32
28
  recommended_inputs:
33
29
  - product_brief: "{output_folder}/product-brief.md"
34
30
  - market_research: "{output_folder}/market-research.md"
35
31
 
32
+ # Smart input file references - handles both whole docs and sharded docs
33
+ # Priority: Whole document first, then sharded version
34
+ input_file_patterns:
35
+ product_brief:
36
+ whole: "{output_folder}/*brief*.md"
37
+ sharded: "{output_folder}/*brief*/index.md"
38
+
39
+ research:
40
+ whole: "{output_folder}/*research*.md"
41
+ sharded: "{output_folder}/*research*/index.md"
42
+
43
+ document_project:
44
+ sharded: "{output_folder}/docs/index.md"
45
+
36
46
  standalone: true
37
47
 
38
48
  web_bundle:
39
49
  name: "prd"
40
- description: "Unified PRD workflow for project levels 2-4. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Level 0-1 use tech-spec workflow."
50
+ description: "Unified PRD workflow for BMad Method and Enterprise Method tracks. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Quick Flow track uses tech-spec workflow."
41
51
  author: "BMad"
42
52
  instructions: "bmad/bmm/workflows/2-plan-workflows/prd/instructions.md"
53
+ validation: "bmad/bmm/workflows/2-plan-workflows/prd/checklist.md"
43
54
  web_bundle_files:
44
55
  - "bmad/bmm/workflows/2-plan-workflows/prd/instructions.md"
45
56
  - "bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md"
46
- - "bmad/bmm/workflows/2-plan-workflows/prd/epics-template.md"
57
+ - "bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv"
58
+ - "bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv"
59
+ - "bmad/bmm/workflows/2-plan-workflows/prd/checklist.md"
60
+ - "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
61
+ - "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md"
62
+ - "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md"
63
+ child_workflows:
64
+ - create-epics-and-stories: "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
@@ -1,11 +1,13 @@
1
1
  # Tech-Spec Workflow Validation Checklist
2
2
 
3
- **Purpose**: Validate tech-spec workflow outputs are definitive, complete, and implementation-ready.
3
+ **Purpose**: Validate tech-spec workflow outputs are context-rich, definitive, complete, and implementation-ready.
4
4
 
5
5
  **Scope**: Levels 0-1 software projects
6
6
 
7
7
  **Expected Outputs**: tech-spec.md + story files (1 for Level 0, 2-3 for Level 1)
8
8
 
9
+ **New Standard**: Tech-spec should be comprehensive enough to replace story-context for Level 0-1 projects
10
+
9
11
  ---
10
12
 
11
13
  ## 1. Output Files Exist
@@ -14,38 +16,107 @@
14
16
  - [ ] Story file(s) created in dev_story_location
15
17
  - Level 0: 1 story file (story-{slug}.md)
16
18
  - Level 1: epics.md + 2-3 story files (story-{epic-slug}-N.md)
17
- - [ ] bmm-workflow-status.md updated to Phase 4
18
- - [ ] No unfilled {{template_variables}}
19
+ - [ ] bmm-workflow-status.yaml updated (if not standalone mode)
20
+ - [ ] No unfilled {{template_variables}} in any files
19
21
 
20
22
  ---
21
23
 
22
- ## 2. Tech-Spec Definitiveness (CRITICAL)
24
+ ## 2. Context Gathering (NEW - CRITICAL)
25
+
26
+ ### Document Discovery
27
+
28
+ - [ ] **Existing documents loaded**: Product brief, research docs found and incorporated (if they exist)
29
+ - [ ] **Document-project output**: Checked for {output_folder}/docs/index.md (brownfield codebase map)
30
+ - [ ] **Sharded documents**: If sharded versions found, ALL sections loaded and synthesized
31
+ - [ ] **Context summary**: loaded_documents_summary lists all sources used
32
+
33
+ ### Project Stack Detection
34
+
35
+ - [ ] **Setup files identified**: package.json, requirements.txt, or equivalent found and parsed
36
+ - [ ] **Framework detected**: Exact framework name and version captured (e.g., "Express 4.18.2")
37
+ - [ ] **Dependencies extracted**: All production dependencies with specific versions
38
+ - [ ] **Dev tools identified**: TypeScript, Jest, ESLint, pytest, etc. with versions
39
+ - [ ] **Scripts documented**: Available npm/pip/etc scripts identified
40
+ - [ ] **Stack summary**: project_stack_summary is complete and accurate
41
+
42
+ ### Brownfield Analysis (if applicable)
43
+
44
+ - [ ] **Directory structure**: Main code directories identified and documented
45
+ - [ ] **Code patterns**: Dominant patterns identified (class-based, functional, MVC, etc.)
46
+ - [ ] **Naming conventions**: Existing conventions documented (camelCase, snake_case, etc.)
47
+ - [ ] **Key modules**: Important existing modules/services identified
48
+ - [ ] **Testing patterns**: Test framework and patterns documented
49
+ - [ ] **Structure summary**: existing_structure_summary is comprehensive
50
+
51
+ ---
52
+
53
+ ## 3. Tech-Spec Definitiveness (CRITICAL)
23
54
 
24
55
  ### No Ambiguity Allowed
25
56
 
26
57
  - [ ] **Zero "or" statements**: NO "use X or Y", "either A or B", "options include"
27
58
  - [ ] **Specific versions**: All frameworks, libraries, tools have EXACT versions
28
- - ✅ GOOD: "Python 3.11", "React 18.2.0", "winston v3.8.2"
59
+ - ✅ GOOD: "Python 3.11", "React 18.2.0", "winston v3.8.2 (from package.json)"
29
60
  - ❌ BAD: "Python 2 or 3", "React 18+", "a logger like pino or winston"
30
61
  - [ ] **Definitive decisions**: Every technical choice is final, not a proposal
62
+ - [ ] **Stack-aligned**: Decisions reference detected project stack
31
63
 
32
64
  ### Implementation Clarity
33
65
 
34
- - [ ] Source tree shows EXACT file paths (not "somewhere in src/")
35
- - [ ] Each file marked as create/modify/delete
36
- - [ ] Technical approach describes SPECIFIC implementation
37
- - [ ] Implementation stack has complete toolchain with versions
66
+ - [ ] **Source tree changes**: EXACT file paths with CREATE/MODIFY/DELETE actions
67
+ - GOOD: "src/services/UserService.ts - MODIFY - Add validateEmail() method"
68
+ - BAD: "Update some files in the services folder"
69
+ - [ ] **Technical approach**: Describes SPECIFIC implementation using detected stack
70
+ - [ ] **Existing patterns**: Documents brownfield patterns to follow (if applicable)
71
+ - [ ] **Integration points**: Specific modules, APIs, services identified
72
+
73
+ ---
74
+
75
+ ## 4. Context-Rich Content (NEW)
76
+
77
+ ### Context Section
78
+
79
+ - [ ] **Available Documents**: Lists all loaded documents
80
+ - [ ] **Project Stack**: Complete framework and dependency information
81
+ - [ ] **Existing Codebase Structure**: Brownfield analysis or greenfield notation
82
+
83
+ ### The Change Section
84
+
85
+ - [ ] **Problem Statement**: Clear, specific problem definition
86
+ - [ ] **Proposed Solution**: Concrete solution approach
87
+ - [ ] **Scope In/Out**: Clear boundaries defined
88
+
89
+ ### Development Context Section
90
+
91
+ - [ ] **Relevant Existing Code**: References to specific files and line numbers (brownfield)
92
+ - [ ] **Framework Dependencies**: Complete list with exact versions from project
93
+ - [ ] **Internal Dependencies**: Internal modules listed
94
+ - [ ] **Configuration Changes**: Specific config file updates identified
95
+
96
+ ### Developer Resources Section
97
+
98
+ - [ ] **File Paths Reference**: Complete list of all files involved
99
+ - [ ] **Key Code Locations**: Functions, classes, modules with file:line references
100
+ - [ ] **Testing Locations**: Specific test directories and patterns
101
+ - [ ] **Documentation Updates**: Docs that need updating identified
38
102
 
39
103
  ---
40
104
 
41
- ## 3. Story Quality
105
+ ## 5. Story Quality
42
106
 
43
107
  ### Story Format
44
108
 
45
109
  - [ ] All stories use "As a [role], I want [capability], so that [benefit]" format
46
110
  - [ ] Each story has numbered acceptance criteria
47
111
  - [ ] Tasks reference AC numbers: (AC: #1), (AC: #2)
48
- - [ ] Dev Notes section links back to tech-spec.md
112
+ - [ ] Dev Notes section links to tech-spec.md
113
+
114
+ ### Story Context Integration (NEW)
115
+
116
+ - [ ] **Tech-Spec Reference**: Story explicitly references tech-spec.md as primary context
117
+ - [ ] **Dev Agent Record**: Includes all required sections (Context Reference, Agent Model, etc.)
118
+ - [ ] **Test Results section**: Placeholder ready for dev execution
119
+ - [ ] **Review Notes section**: Placeholder ready for code review
49
120
 
50
121
  ### Story Sequencing (If Level 1)
51
122
 
@@ -56,38 +127,66 @@
56
127
 
57
128
  ### Coverage
58
129
 
59
- - [ ] Story acceptance criteria derived from tech-spec testing section
130
+ - [ ] Story acceptance criteria derived from tech-spec
60
131
  - [ ] Story tasks map to tech-spec implementation guide
61
132
  - [ ] Files in stories match tech-spec source tree
133
+ - [ ] Key code references align with tech-spec Developer Resources
62
134
 
63
135
  ---
64
136
 
65
- ## 4. Workflow Status Integration
137
+ ## 6. Epic Quality (Level 1 Only)
66
138
 
67
- - [ ] bmm-workflow-status.md shows current_phase = "4-Implementation"
68
- - [ ] Phase 2 ("2-Plan") marked complete
69
- - [ ] First story in TODO section, others in BACKLOG (if Level 1)
70
- - [ ] Next action clear (review story, run story-ready)
139
+ - [ ] **Epic title**: User-focused outcome (not implementation detail)
140
+ - [ ] **Epic slug**: Clean kebab-case slug (2-3 words)
141
+ - [ ] **Epic goal**: Clear purpose and value statement
142
+ - [ ] **Epic scope**: Boundaries clearly defined
143
+ - [ ] **Success criteria**: Measurable outcomes
144
+ - [ ] **Story map**: Visual representation of epic → stories
145
+ - [ ] **Implementation sequence**: Logical story ordering with dependencies
146
+ - [ ] **Tech-spec reference**: Links back to tech-spec.md
71
147
 
72
148
  ---
73
149
 
74
- ## 5. Readiness for Implementation
150
+ ## 7. Workflow Status Integration
75
151
 
76
- - [ ] Developer can start coding from tech-spec alone
77
- - [ ] All technical questions answered definitively
78
- - [ ] Testing approach clear and verifiable
79
- - [ ] Deployment strategy documented
152
+ - [ ] bmm-workflow-status.yaml updated (if exists)
153
+ - [ ] Current phase reflects tech-spec completion
154
+ - [ ] Progress percentage updated appropriately
155
+ - [ ] Next workflow clearly identified
80
156
 
81
157
  ---
82
158
 
83
- ## 6. Critical Failures (Auto-Fail)
159
+ ## 8. Implementation Readiness (NEW - ENHANCED)
160
+
161
+ ### Can Developer Start Immediately?
162
+
163
+ - [ ] **All context available**: Brownfield analysis + stack details + existing patterns
164
+ - [ ] **No research needed**: Developer doesn't need to hunt for framework versions or patterns
165
+ - [ ] **Specific file paths**: Developer knows exactly which files to create/modify
166
+ - [ ] **Code references**: Can find similar code to reference (brownfield)
167
+ - [ ] **Testing clear**: Knows what to test and how
168
+ - [ ] **Deployment documented**: Knows how to deploy and rollback
169
+
170
+ ### Tech-Spec Replaces Story-Context?
171
+
172
+ - [ ] **Comprehensive enough**: Contains all info typically in story-context XML
173
+ - [ ] **Brownfield analysis**: If applicable, includes codebase reconnaissance
174
+ - [ ] **Framework specifics**: Exact versions and usage patterns
175
+ - [ ] **Pattern guidance**: Shows examples of existing patterns to follow
176
+
177
+ ---
178
+
179
+ ## 9. Critical Failures (Auto-Fail)
84
180
 
85
181
  - [ ] ❌ **Non-definitive technical decisions** (any "option A or B" or vague choices)
86
182
  - [ ] ❌ **Missing versions** (framework/library without specific version)
87
- - [ ] ❌ **Stories don't match template** (incompatible with story-context/dev-story workflows)
88
- - [ ] ❌ **Missing tech-spec sections** (required section missing from tech-spec.md)
183
+ - [ ] ❌ **Context not gathered** (didn't check for document-project, setup files, etc.)
184
+ - [ ] ❌ **Stack mismatch** (decisions don't align with detected project stack)
185
+ - [ ] ❌ **Stories don't match template** (missing Dev Agent Record sections)
186
+ - [ ] ❌ **Missing tech-spec sections** (required section missing from enhanced template)
89
187
  - [ ] ❌ **Stories have forward dependencies** (would break sequential implementation)
90
- - [ ] ❌ **Vague source tree** (file changes not specific)
188
+ - [ ] ❌ **Vague source tree** (file changes not specific with actions)
189
+ - [ ] ❌ **No brownfield analysis** (when document-project output exists but wasn't used)
91
190
 
92
191
  ---
93
192
 
@@ -95,13 +194,21 @@
95
194
 
96
195
  **Document any findings:**
97
196
 
98
- - Definitiveness score: [All definitive / Some ambiguity / Significant ambiguity]
99
- - Strengths:
100
- - Issues to address:
101
- - Recommended actions:
197
+ - **Context Gathering Score**: [Comprehensive / Partial / Insufficient]
198
+ - **Definitiveness Score**: [All definitive / Some ambiguity / Significant ambiguity]
199
+ - **Brownfield Integration**: [N/A - Greenfield / Excellent / Partial / Missing]
200
+ - **Stack Alignment**: [Perfect / Good / Partial / None]
201
+
202
+ ## **Strengths:**
203
+
204
+ ## **Issues to address:**
205
+
206
+ ## **Recommended actions:**
102
207
 
103
208
  **Ready for implementation?** [Yes / No - explain]
104
209
 
210
+ **Can skip story-context?** [Yes - tech-spec is comprehensive / No - additional context needed / N/A]
211
+
105
212
  ---
106
213
 
107
- _Adapt based on Level 0 vs Level 1. Focus on definitiveness above all else._
214
+ _The tech-spec should be a RICH CONTEXT DOCUMENT that gives developers everything they need without requiring separate context generation._
@@ -1,11 +1,80 @@
1
1
  # {{project_name}} - Epic Breakdown
2
2
 
3
- ## Epic Overview
3
+ **Date:** {{date}}
4
+ **Project Level:** {{project_level}}
4
5
 
5
- {{epic_overview}}
6
+ ---
7
+
8
+ <!-- Repeat for each epic (N = 1, 2, 3...) -->
9
+
10
+ ## Epic {{N}}: {{epic_title_N}}
11
+
12
+ **Slug:** {{epic_slug_N}}
13
+
14
+ ### Goal
15
+
16
+ {{epic_goal_N}}
17
+
18
+ ### Scope
19
+
20
+ {{epic_scope_N}}
21
+
22
+ ### Success Criteria
23
+
24
+ {{epic_success_criteria_N}}
25
+
26
+ ### Dependencies
27
+
28
+ {{epic_dependencies_N}}
29
+
30
+ ---
31
+
32
+ ## Story Map - Epic {{N}}
33
+
34
+ {{story_map_N}}
35
+
36
+ ---
37
+
38
+ ## Stories - Epic {{N}}
39
+
40
+ <!-- Repeat for each story (M = 1, 2, 3...) within epic N -->
41
+
42
+ ### Story {{N}}.{{M}}: {{story_title_N_M}}
43
+
44
+ As a {{user_type}},
45
+ I want {{capability}},
46
+ So that {{value_benefit}}.
47
+
48
+ **Acceptance Criteria:**
49
+
50
+ **Given** {{precondition}}
51
+ **When** {{action}}
52
+ **Then** {{expected_outcome}}
53
+
54
+ **And** {{additional_criteria}}
55
+
56
+ **Prerequisites:** {{dependencies_on_previous_stories}}
57
+
58
+ **Technical Notes:** {{implementation_guidance}}
59
+
60
+ **Estimated Effort:** {{story_points}} points ({{time_estimate}})
61
+
62
+ <!-- End story repeat -->
63
+
64
+ ---
65
+
66
+ ## Implementation Timeline - Epic {{N}}
67
+
68
+ **Total Story Points:** {{total_points_N}}
69
+
70
+ **Estimated Timeline:** {{estimated_timeline_N}}
71
+
72
+ ---
73
+
74
+ <!-- End epic repeat -->
6
75
 
7
76
  ---
8
77
 
9
- ## Epic Details
78
+ ## Tech-Spec Reference
10
79
 
11
- {{epic_details}}
80
+ See [tech-spec.md](../tech-spec.md) for complete technical implementation details.