agentvibes 2.12.4 → 2.12.6

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 (429) hide show
  1. package/.claude/hooks/bmad-voice-manager.sh +21 -5
  2. package/.claude/hooks/play-tts.sh +12 -0
  3. package/.claude/hooks/tts-queue.sh +34 -6
  4. package/README.md +17 -10
  5. package/RELEASE_NOTES.md +320 -697
  6. package/mcp-server/install-deps.js +19 -0
  7. package/mcp-server/server.py +58 -36
  8. package/package.json +1 -1
  9. package/scripts/fix-audio-tunnel.sh +22 -6
  10. package/src/commands/bmad-voices.js +14 -1
  11. package/src/installer.js +157 -72
  12. package/test/unit/play-tts.bats +1 -1
  13. package/.bmad/_cfg/agent-manifest.csv +0 -11
  14. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  15. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  16. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  17. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  18. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  19. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  20. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  21. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  22. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  25. package/.bmad/_cfg/files-manifest.csv +0 -243
  26. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  27. package/.bmad/_cfg/manifest.yaml +0 -9
  28. package/.bmad/_cfg/task-manifest.csv +0 -5
  29. package/.bmad/_cfg/tool-manifest.csv +0 -2
  30. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  31. package/.bmad/bmm/README.md +0 -128
  32. package/.bmad/bmm/agents/analyst.md +0 -79
  33. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  34. package/.bmad/bmm/agents/architect.md +0 -80
  35. package/.bmad/bmm/agents/dev.md +0 -70
  36. package/.bmad/bmm/agents/frame-expert.md +0 -72
  37. package/.bmad/bmm/agents/pm.md +0 -84
  38. package/.bmad/bmm/agents/sm.md +0 -93
  39. package/.bmad/bmm/agents/tea.md +0 -80
  40. package/.bmad/bmm/agents/tech-writer.md +0 -84
  41. package/.bmad/bmm/agents/ux-designer.md +0 -79
  42. package/.bmad/bmm/config.yaml +0 -17
  43. package/.bmad/bmm/docs/README.md +0 -236
  44. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  45. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  46. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  47. package/.bmad/bmm/docs/faq.md +0 -588
  48. package/.bmad/bmm/docs/glossary.md +0 -320
  49. package/.bmad/bmm/docs/party-mode.md +0 -224
  50. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  51. package/.bmad/bmm/docs/quick-start.md +0 -376
  52. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  53. package/.bmad/bmm/docs/test-architecture.md +0 -396
  54. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  55. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  56. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  57. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  58. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  59. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  60. package/.bmad/bmm/teams/default-party.csv +0 -20
  61. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  62. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  63. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  64. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  65. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  66. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  67. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  68. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  69. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  70. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  71. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  72. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  73. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  74. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  75. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  76. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  77. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  78. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  79. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  80. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  81. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  82. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  83. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  84. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  85. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  86. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  87. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  88. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  89. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  90. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  91. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  92. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  93. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  94. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  95. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  96. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  97. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  98. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  99. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  100. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  101. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  102. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  103. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  104. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  105. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  106. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  107. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  108. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  109. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  110. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  111. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  112. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  113. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  114. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  115. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  116. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  117. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  118. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  119. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  120. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  121. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  122. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  123. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  124. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  125. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  126. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  127. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  128. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  129. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  130. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  131. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  133. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  134. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  135. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  136. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  137. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  138. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  139. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  140. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  141. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  142. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  143. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  144. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  145. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  146. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  147. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  148. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  149. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  150. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  151. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  152. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  153. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  154. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  155. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  156. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  157. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  158. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  159. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  160. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  161. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  162. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  163. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  164. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  165. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  166. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  167. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  168. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  169. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  170. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  171. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  172. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  173. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  174. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  175. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  176. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  177. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  178. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  179. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  180. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  181. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  182. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  183. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  184. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  185. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  186. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  187. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  188. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  189. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  190. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  191. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  192. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  193. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  194. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  195. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  196. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  197. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  198. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  199. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  200. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  201. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  202. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  203. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  204. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  205. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  206. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  207. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  208. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  209. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  210. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  211. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  212. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  213. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  214. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  215. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  216. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  217. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  218. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  219. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  220. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  221. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  222. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  223. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  224. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  225. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  226. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  227. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  228. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  229. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  230. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  231. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  232. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  233. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  234. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  235. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  236. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  237. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  238. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  239. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  240. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  241. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  242. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  243. package/.bmad/core/agents/bmad-master.md +0 -72
  244. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  245. package/.bmad/core/config.yaml +0 -11
  246. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  247. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  248. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  249. package/.bmad/core/tasks/index-docs.xml +0 -65
  250. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  251. package/.bmad/core/tasks/workflow.xml +0 -270
  252. package/.bmad/core/tools/shard-doc.xml +0 -109
  253. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  254. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  255. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  256. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  257. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  258. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  259. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  260. package/.bmad/docs/claude-code-instructions.md +0 -25
  261. package/.claude/commands/BMad/analyst.md +0 -88
  262. package/.claude/commands/BMad/architect.md +0 -89
  263. package/.claude/commands/BMad/bmad-master.md +0 -114
  264. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  265. package/.claude/commands/BMad/dev.md +0 -85
  266. package/.claude/commands/BMad/pm.md +0 -88
  267. package/.claude/commands/BMad/po.md +0 -83
  268. package/.claude/commands/BMad/qa.md +0 -91
  269. package/.claude/commands/BMad/sm.md +0 -69
  270. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  271. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  272. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  273. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  274. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  275. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  276. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  277. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  278. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  279. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  280. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  281. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  282. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  283. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  284. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  285. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  286. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  287. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  288. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  289. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  290. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  291. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  292. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  293. package/.claude/commands/BMad/ux-expert.md +0 -73
  294. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  295. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  296. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  297. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  298. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  299. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  300. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  301. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  303. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  304. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  305. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  306. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  307. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  308. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  309. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  310. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  330. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  331. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  332. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  333. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  334. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  335. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  336. package/.claude/github-star-reminder.txt +0 -1
  337. package/.claude/hooks/bmad-party-manager.sh +0 -225
  338. package/.claude/hooks/stop.sh +0 -221
  339. package/.claude/piper-voices-dir.txt +0 -1
  340. package/.mcp.json +0 -88
  341. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  342. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  343. package/docs/2025-11-15_15-14-33.snagx +0 -0
  344. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  345. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  346. package/docs/macos-piper-issue.md +0 -172
  347. package/docs/stargazer-cms-prd.md +0 -1918
  348. package/docs/whatsapp-plugin-github-issue.md +0 -393
  349. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  350. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  351. package/github-profile-draft.md +0 -57
  352. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  353. package/mcp-server/agentvibes.db +0 -0
  354. package/scripts/audio-tunnel.config +0 -17
  355. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  356. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  357. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  358. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  359. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  360. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  361. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  362. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  363. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  364. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  365. package/v4-backup/.bmad-core/agents/po.md +0 -79
  366. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  367. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  368. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  369. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  370. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  371. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  372. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  373. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  374. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  375. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  376. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  377. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  378. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  379. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  380. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  381. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  382. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  383. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  384. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  385. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  386. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  387. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  388. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  389. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  390. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  391. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  392. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  393. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  394. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  395. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  396. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  397. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  398. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  399. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  400. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  401. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  402. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  403. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  404. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  405. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  406. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  407. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  408. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  409. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  410. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  411. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  412. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  413. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  414. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  415. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  416. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  417. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  418. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  419. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  420. package/v4-backup/.bmad-core/user-guide.md +0 -577
  421. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  422. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  423. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  424. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  425. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  426. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  427. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  428. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  429. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,980 +0,0 @@
1
- # Tech-Spec Workflow - Context-Aware Technical Planning (quick-flow)
2
-
3
- <workflow>
4
-
5
- <critical>The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml</critical>
6
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
7
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
8
- <critical>Generate all documents in {document_output_language}</critical>
9
- <critical>This is quick-flow efforts - tech-spec with context-rich story generation</critical>
10
- <critical>Quick Flow: tech-spec + epic with 1-5 stories (always generates epic structure)</critical>
11
- <critical>LIVING DOCUMENT: Write to tech-spec.md continuously as you discover - never wait until the end</critical>
12
- <critical>CONTEXT IS KING: Gather ALL available context before generating specs</critical>
13
- <critical>DOCUMENT OUTPUT: Technical, precise, definitive. Specific versions only. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
14
- <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
15
- <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever.</critical>
16
- <critical>⚠️ CHECKPOINT PROTOCOL: After EVERY <template-output> tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints.</critical>
17
-
18
- <step n="0" goal="Validate workflow readiness and detect project level" tag="workflow-status">
19
- <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
20
-
21
- <check if="status file not found">
22
- <output>No workflow status file found. Tech-spec workflow can run standalone or as part of BMM workflow path.</output>
23
- <output>**Recommended:** Run `workflow-init` first for project context tracking and workflow sequencing.</output>
24
- <output>**Quick Start:** Continue in standalone mode - perfect for rapid prototyping and quick changes!</output>
25
- <ask>Continue in standalone mode or exit to run workflow-init? (continue/exit)</ask>
26
- <check if="continue">
27
- <action>Set standalone_mode = true</action>
28
-
29
- <output>Great! Let's quickly configure your project...</output>
30
-
31
- <ask>How many user stories do you think this work requires?
32
-
33
- **Single Story** - Simple change (bug fix, small isolated feature, single file change)
34
- → Generates: tech-spec + epic (minimal) + 1 story
35
- → Example: "Fix login validation bug" or "Add email field to user form"
36
-
37
- **Multiple Stories (2-5)** - Coherent feature (multiple related changes, small feature set)
38
- → Generates: tech-spec + epic (detailed) + 2-5 stories
39
- → Example: "Add OAuth integration" or "Build user profile page"
40
-
41
- Enter **1** for single story, or **2-5** for number of stories you estimate</ask>
42
-
43
- <action>Capture user response as story_count (1-5)</action>
44
- <action>Validate: If not 1-5, ask for clarification. If > 5, suggest using full BMad Method instead</action>
45
-
46
- <ask if="not already known greenfield vs brownfield">Is this a **greenfield** (new/empty codebase) or **brownfield** (existing codebase) project?
47
-
48
- **Greenfield** - Starting fresh, no existing code aside from starter templates
49
- **Brownfield** - Adding to or modifying existing functional code or project
50
-
51
- Enter **greenfield** or **brownfield**:</ask>
52
-
53
- <action>Capture user response as field_type (greenfield or brownfield)</action>
54
- <action>Validate: If not greenfield or brownfield, ask again</action>
55
-
56
- <output>Perfect! Running as:
57
-
58
- - **Story Count:** {{story_count}} {{#if story_count == 1}}story (minimal epic){{else}}stories (detailed epic){{/if}}
59
- - **Field Type:** {{field_type}}
60
- - **Mode:** Standalone (no status file tracking)
61
-
62
- Let's build your tech-spec!</output>
63
- </check>
64
- <check if="exit">
65
- <action>Exit workflow</action>
66
- </check>
67
- </check>
68
-
69
- <check if="status file found">
70
- <action>Load the FULL file: {workflow-status}</action>
71
- <action>Parse workflow_status section</action>
72
- <action>Check status of "tech-spec" workflow</action>
73
- <action>Get selected_track from YAML metadata indicating this is quick-flow-greenfield or quick-flow-brownfield</action>
74
- <action>Get field_type from YAML metadata (greenfield or brownfield)</action>
75
- <action>Find first non-completed workflow (next expected workflow)</action>
76
-
77
- <check if="selected_track is NOT quick-flow-greenfield AND NOT quick-flow-brownfield">
78
- <output>**Incorrect Workflow for Level {{selected_track}}**
79
- Tech-spec is for Simple projects. **Correct workflow:** `create-prd` (PM agent). You should Exit at this point, unless you want to force run this workflow.
80
- </output>
81
- </check>
82
-
83
- <check if="tech-spec status is file path (already completed)">
84
- <output>⚠️ Tech-spec already completed: {{tech-spec status}}</output>
85
- <ask>Re-running will overwrite the existing tech-spec. Continue? (y/n)</ask>
86
- <check if="n">
87
- <output>Exiting. Use workflow-status to see your next step.</output>
88
- <action>Exit workflow</action>
89
- </check>
90
- </check>
91
-
92
- <check if="tech-spec is not the next expected workflow">
93
- <output>⚠️ Next expected workflow: {{next_workflow}}. Tech-spec is out of sequence.</output>
94
- <ask>Continue with tech-spec anyway? (y/n)</ask>
95
- <check if="n">
96
- <output>Exiting. Run {{next_workflow}} instead.</output>
97
- <action>Exit workflow</action>
98
- </check>
99
- </check>
100
-
101
- <action>Set standalone_mode = false</action>
102
- </check>
103
- </step>
104
-
105
- <step n="0.5" goal="Discover and load input documents">
106
- <invoke-protocol name="discover_inputs" />
107
- <note>After discovery, these content variables are available: {product_brief_content}, {research_content}, {document_project_content}</note>
108
- </step>
109
-
110
- <step n="1" goal="Comprehensive context discovery - gather everything available">
111
-
112
- <action>Welcome {user_name} warmly and explain what we're about to do:
113
-
114
- "I'm going to gather all available context about your project before we dive into the technical spec. The following content has been auto-loaded:
115
-
116
- - Product briefs and research: {product_brief_content}, {research_content}
117
- - Brownfield codebase documentation: {document_project_content} (loaded via INDEX_GUIDED strategy)
118
- - Your project's tech stack and dependencies
119
- - Existing code patterns and structure
120
-
121
- This ensures the tech-spec is grounded in reality and gives developers everything they need."
122
- </action>
123
-
124
- <action>**PHASE 1: Load Existing Documents**
125
-
126
- Search for and load (using dual-strategy: whole first, then sharded):
127
-
128
- 1. **Product Brief:**
129
- - Search pattern: {output*folder}/\_brief*.md
130
- - Sharded: {output*folder}/\_brief*/index.md
131
- - If found: Load completely and extract key context
132
-
133
- 2. **Research Documents:**
134
- - Search pattern: {output*folder}/\_research*.md
135
- - Sharded: {output*folder}/\_research*/index.md
136
- - If found: Load completely and extract insights
137
-
138
- 3. **Document-Project Output (CRITICAL for brownfield):**
139
- - Always check: {output_folder}/index.md
140
- - If found: This is the brownfield codebase map - load ALL shards!
141
- - Extract: File structure, key modules, existing patterns, naming conventions
142
-
143
- Create a summary of what was found and ask user if there are other documents or information to consider before proceeding:
144
-
145
- - List of loaded documents
146
- - Key insights from each
147
- - Brownfield vs greenfield determination
148
- </action>
149
-
150
- <action>**PHASE 2: Intelligently Detect Project Stack**
151
-
152
- Use your comprehensive knowledge as a coding-capable LLM to analyze the project:
153
-
154
- **Discover Setup Files:**
155
-
156
- - Search {project-root} for dependency manifests (package.json, requirements.txt, Gemfile, go.mod, Cargo.toml, composer.json, pom.xml, build.gradle, pyproject.toml, etc.)
157
- - Adapt to ANY project type - you know the ecosystem conventions
158
-
159
- **Extract Critical Information:**
160
-
161
- 1. Framework name and EXACT version (e.g., "React 18.2.0", "Django 4.2.1")
162
- 2. All production dependencies with specific versions
163
- 3. Dev tools and testing frameworks (Jest, pytest, ESLint, etc.)
164
- 4. Available build/test scripts
165
- 5. Project type (web app, API, CLI, library, etc.)
166
-
167
- **Assess Currency:**
168
-
169
- - Identify if major dependencies are outdated (>2 years old)
170
- - Use WebSearch to find current recommended versions if needed
171
- - Note migration complexity in your summary
172
-
173
- **For Greenfield Projects:**
174
- <check if="field_type == greenfield">
175
- <action>Use WebSearch to discover current best practices and official starter templates</action>
176
- <action>Recommend appropriate starters based on detected framework (or user's intended stack)</action>
177
- <action>Present benefits conversationally: setup time saved, modern patterns, testing included</action>
178
- <ask>Would you like to use a starter template? (yes/no/show-me-options)</ask>
179
- <action>Capture preference and include in implementation stack if accepted</action>
180
- </check>
181
-
182
- **Trust Your Intelligence:**
183
- You understand project ecosystems deeply. Adapt your analysis to any stack - don't be constrained by examples. Extract what matters for developers.
184
-
185
- Store comprehensive findings as {{project_stack_summary}}
186
- </action>
187
-
188
- <action>**PHASE 3: Brownfield Codebase Reconnaissance** (if applicable)
189
-
190
- <check if="field_type == brownfield OR document-project output found">
191
-
192
- Analyze the existing project structure:
193
-
194
- 1. **Directory Structure:**
195
- - Identify main code directories (src/, lib/, app/, components/, services/)
196
- - Note organization patterns (feature-based, layer-based, domain-driven)
197
- - Identify test directories and patterns
198
-
199
- 2. **Code Patterns:**
200
- - Look for dominant patterns (class-based, functional, MVC, microservices)
201
- - Identify naming conventions (camelCase, snake_case, PascalCase)
202
- - Note file organization patterns
203
-
204
- 3. **Key Modules/Services:**
205
- - Identify major modules or services already in place
206
- - Note entry points (main.js, app.py, index.ts)
207
- - Document important utilities or shared code
208
-
209
- 4. **Testing Patterns & Standards (CRITICAL):**
210
- - Identify test framework in use (from package.json/requirements.txt)
211
- - Note test file naming patterns (.test.js, test.py, .spec.ts, Test.java)
212
- - Document test organization (tests/, **tests**, spec/, test/)
213
- - Look for test configuration files (jest.config.js, pytest.ini, .rspec)
214
- - Check for coverage requirements (in CI config, test scripts)
215
- - Identify mocking/stubbing libraries (jest.mock, unittest.mock, sinon)
216
- - Note assertion styles (expect, assert, should)
217
-
218
- 5. **Code Style & Conventions (MUST CONFORM):**
219
- - Check for linter config (.eslintrc, .pylintrc, rubocop.yml)
220
- - Check for formatter config (.prettierrc, .black, .editorconfig)
221
- - Identify code style:
222
- - Semicolons: yes/no (JavaScript/TypeScript)
223
- - Quotes: single/double
224
- - Indentation: spaces/tabs, size
225
- - Line length limits
226
- - Import/export patterns (named vs default, organization)
227
- - Error handling patterns (try/catch, Result types, error classes)
228
- - Logging patterns (console, winston, logging module, specific formats)
229
- - Documentation style (JSDoc, docstrings, YARD, JavaDoc)
230
-
231
- Store this as {{existing_structure_summary}}
232
-
233
- **CRITICAL: Confirm Conventions with User**
234
- <ask>I've detected these conventions in your codebase:
235
-
236
- **Code Style:**
237
- {{detected_code_style}}
238
-
239
- **Test Patterns:**
240
- {{detected_test_patterns}}
241
-
242
- **File Organization:**
243
- {{detected_file_organization}}
244
-
245
- Should I follow these existing conventions for the new code?
246
-
247
- Enter **yes** to conform to existing patterns, or **no** if you want to establish new standards:</ask>
248
-
249
- <action>Capture user response as conform_to_conventions (yes/no)</action>
250
-
251
- <check if="conform_to_conventions == no">
252
- <ask>What conventions would you like to use instead? (Or should I suggest modern best practices?)</ask>
253
- <action>Capture new conventions or use WebSearch for current best practices</action>
254
- </check>
255
-
256
- <action>Store confirmed conventions as {{existing_conventions}}</action>
257
-
258
- </check>
259
-
260
- <check if="field_type == greenfield">
261
- <action>Note: Greenfield project - no existing code to analyze</action>
262
- <action>Set {{existing_structure_summary}} = "Greenfield project - new codebase"</action>
263
- </check>
264
-
265
- </action>
266
-
267
- <action>**PHASE 4: Synthesize Context Summary**
268
-
269
- Create {{loaded_documents_summary}} that includes:
270
-
271
- - Documents found and loaded
272
- - Brownfield vs greenfield status
273
- - Tech stack detected (or "To be determined" if greenfield)
274
- - Existing patterns identified (or "None - greenfield" if applicable)
275
-
276
- Present this summary to {user_name} conversationally:
277
-
278
- "Here's what I found about your project:
279
-
280
- **Documents Available:**
281
- [List what was found]
282
-
283
- **Project Type:**
284
- [Brownfield with X framework Y version OR Greenfield - new project]
285
-
286
- **Existing Stack:**
287
- [Framework and dependencies OR "To be determined"]
288
-
289
- **Code Structure:**
290
- [Existing patterns OR "New codebase"]
291
-
292
- This gives me a solid foundation for creating a context-rich tech spec!"
293
- </action>
294
-
295
- <template-output>loaded_documents_summary</template-output>
296
- <template-output>project_stack_summary</template-output>
297
- <template-output>existing_structure_summary</template-output>
298
-
299
- </step>
300
-
301
- <step n="2" goal="Conversational discovery of the change/feature">
302
-
303
- <action>Engage {user_name} in natural, adaptive conversation to deeply understand what needs to be built.
304
-
305
- **Discovery Approach:**
306
- Adapt your questioning style to the complexity:
307
-
308
- - For single-story changes: Focus on the specific problem, location, and approach
309
- - For multi-story features: Explore user value, integration strategy, and scope boundaries
310
-
311
- **Core Discovery Goals (accomplish through natural dialogue):**
312
-
313
- 1. **The Problem/Need**
314
- - What user or technical problem are we solving?
315
- - Why does this matter now?
316
- - What's the impact if we don't do this?
317
-
318
- 2. **The Solution Approach**
319
- - What's the proposed solution?
320
- - How should this work from a user/system perspective?
321
- - What alternatives were considered?
322
-
323
- 3. **Integration & Location**
324
- - <check if="brownfield">Where does this fit in the existing codebase?</check>
325
- - What existing code/patterns should we reference or follow?
326
- - What are the integration points?
327
-
328
- 4. **Scope Clarity**
329
- - What's IN scope for this work?
330
- - What's explicitly OUT of scope (future work, not needed)?
331
- - If multiple stories: What's MVP vs enhancement?
332
-
333
- 5. **Constraints & Dependencies**
334
- - Technical limitations or requirements?
335
- - Dependencies on other systems, APIs, or services?
336
- - Performance, security, or compliance considerations?
337
-
338
- 6. **Success Criteria**
339
- - How will we know this is done correctly?
340
- - What does "working" look like?
341
- - What edge cases matter?
342
-
343
- **Conversation Style:**
344
-
345
- - Be warm and collaborative, not interrogative
346
- - Ask follow-up questions based on their responses
347
- - Help them think through implications
348
- - Reference context from Phase 1 (existing code, stack, patterns)
349
- - Adapt depth to {{story_count}} complexity
350
-
351
- Synthesize discoveries into clear, comprehensive specifications.
352
- </action>
353
-
354
- <template-output>problem_statement</template-output>
355
- <template-output>solution_overview</template-output>
356
- <template-output>change_type</template-output>
357
- <template-output>scope_in</template-output>
358
- <template-output>scope_out</template-output>
359
-
360
- </step>
361
-
362
- <step n="3" goal="Generate context-aware, definitive technical specification">
363
-
364
- <critical>ALL TECHNICAL DECISIONS MUST BE DEFINITIVE - NO AMBIGUITY ALLOWED</critical>
365
- <critical>Use existing stack info to make SPECIFIC decisions</critical>
366
- <critical>Reference brownfield code to guide implementation</critical>
367
-
368
- <action>Initialize tech-spec.md with the rich template</action>
369
-
370
- <action>**Generate Context Section (already captured):**
371
-
372
- These template variables are already populated from Step 1:
373
-
374
- - {{loaded_documents_summary}}
375
- - {{project_stack_summary}}
376
- - {{existing_structure_summary}}
377
-
378
- Just save them to the file.
379
- </action>
380
-
381
- <template-output file="tech-spec.md">loaded_documents_summary</template-output>
382
- <template-output file="tech-spec.md">project_stack_summary</template-output>
383
- <template-output file="tech-spec.md">existing_structure_summary</template-output>
384
-
385
- <action>**Generate The Change Section:**
386
-
387
- Already captured from Step 2:
388
-
389
- - {{problem_statement}}
390
- - {{solution_overview}}
391
- - {{scope_in}}
392
- - {{scope_out}}
393
-
394
- Save to file.
395
- </action>
396
-
397
- <template-output file="tech-spec.md">problem_statement</template-output>
398
- <template-output file="tech-spec.md">solution_overview</template-output>
399
- <template-output file="tech-spec.md">scope_in</template-output>
400
- <template-output file="tech-spec.md">scope_out</template-output>
401
-
402
- <action>**Generate Implementation Details:**
403
-
404
- Now make DEFINITIVE technical decisions using all the context gathered.
405
-
406
- **Source Tree Changes - BE SPECIFIC:**
407
-
408
- Bad (NEVER do this):
409
-
410
- - "Update some files in the services folder"
411
- - "Add tests somewhere"
412
-
413
- Good (ALWAYS do this):
414
-
415
- - "src/services/UserService.ts - MODIFY - Add validateEmail() method at line 45"
416
- - "src/routes/api/users.ts - MODIFY - Add POST /users/validate endpoint"
417
- - "tests/services/UserService.test.ts - CREATE - Test suite for email validation"
418
-
419
- Include:
420
-
421
- - Exact file paths
422
- - Action: CREATE, MODIFY, DELETE
423
- - Specific what changes (methods, classes, endpoints, components)
424
-
425
- **Use brownfield context:**
426
-
427
- - If modifying existing files, reference current structure
428
- - Follow existing naming patterns
429
- - Place new code logically based on current organization
430
- </action>
431
-
432
- <template-output file="tech-spec.md">source_tree_changes</template-output>
433
-
434
- <action>**Technical Approach - BE DEFINITIVE:**
435
-
436
- Bad (ambiguous):
437
-
438
- - "Use a logging library like winston or pino"
439
- - "Use Python 2 or 3"
440
- - "Set up some kind of validation"
441
-
442
- Good (definitive):
443
-
444
- - "Use winston v3.8.2 (already in package.json) for logging"
445
- - "Implement using Python 3.11 as specified in pyproject.toml"
446
- - "Use Joi v17.9.0 for request validation following pattern in UserController.ts"
447
-
448
- **Use detected stack:**
449
-
450
- - Reference exact versions from package.json/requirements.txt
451
- - Specify frameworks already in use
452
- - Make decisions based on what's already there
453
-
454
- **For greenfield:**
455
-
456
- - Make definitive choices and justify them
457
- - Specify exact versions
458
- - No "or" statements allowed
459
- </action>
460
-
461
- <template-output file="tech-spec.md">technical_approach</template-output>
462
-
463
- <action>**Existing Patterns to Follow:**
464
-
465
- <check if="brownfield">
466
- Document patterns from the existing codebase:
467
- - Class structure patterns
468
- - Function naming conventions
469
- - Error handling approach
470
- - Testing patterns
471
- - Documentation style
472
-
473
- Example:
474
- "Follow the service pattern established in UserService.ts:
475
-
476
- - Export class with constructor injection
477
- - Use async/await for all asynchronous operations
478
- - Throw ServiceError with error codes
479
- - Include JSDoc comments for all public methods"
480
- </check>
481
-
482
- <check if="greenfield">
483
- "Greenfield project - establishing new patterns:
484
- - [Define the patterns to establish]"
485
- </check>
486
-
487
- </action>
488
-
489
- <template-output file="tech-spec.md">existing_patterns</template-output>
490
-
491
- <action>**Integration Points:**
492
-
493
- Identify how this change connects:
494
-
495
- - Internal modules it depends on
496
- - External APIs or services
497
- - Database interactions
498
- - Event emitters/listeners
499
- - State management
500
-
501
- Be specific about interfaces and contracts.
502
- </action>
503
-
504
- <template-output file="tech-spec.md">integration_points</template-output>
505
-
506
- <action>**Development Context:**
507
-
508
- **Relevant Existing Code:**
509
- <check if="brownfield">
510
- Reference specific files or code sections developers should review:
511
-
512
- - "See UserService.ts lines 120-150 for similar validation pattern"
513
- - "Reference AuthMiddleware.ts for authentication approach"
514
- - "Follow error handling in PaymentService.ts"
515
- </check>
516
-
517
- **Framework/Libraries:**
518
- List with EXACT versions from detected stack:
519
-
520
- - Express 4.18.2 (web framework)
521
- - winston 3.8.2 (logging)
522
- - Joi 17.9.0 (validation)
523
- - TypeScript 5.1.6 (language)
524
-
525
- **Internal Modules:**
526
- List internal dependencies:
527
-
528
- - @/services/UserService
529
- - @/middleware/auth
530
- - @/utils/validation
531
-
532
- **Configuration Changes:**
533
- Any config files to update:
534
-
535
- - Update .env with new SMTP settings
536
- - Add validation schema to config/schemas.ts
537
- - Update package.json scripts if needed
538
- </action>
539
-
540
- <template-output file="tech-spec.md">existing_code_references</template-output>
541
- <template-output file="tech-spec.md">framework_dependencies</template-output>
542
- <template-output file="tech-spec.md">internal_dependencies</template-output>
543
- <template-output file="tech-spec.md">configuration_changes</template-output>
544
-
545
- <check if="field_type == brownfield">
546
- <template-output file="tech-spec.md">existing_conventions</template-output>
547
- </check>
548
-
549
- <check if="field_type == greenfield">
550
- <action>Set {{existing_conventions}} = "Greenfield project - establishing new conventions per modern best practices"</action>
551
- <template-output file="tech-spec.md">existing_conventions</template-output>
552
- </check>
553
-
554
- <action>**Implementation Stack:**
555
-
556
- Comprehensive stack with versions:
557
-
558
- - Runtime: Node.js 20.x
559
- - Framework: Express 4.18.2
560
- - Language: TypeScript 5.1.6
561
- - Testing: Jest 29.5.0
562
- - Linting: ESLint 8.42.0
563
- - Validation: Joi 17.9.0
564
-
565
- All from detected project setup!
566
- </action>
567
-
568
- <template-output file="tech-spec.md">implementation_stack</template-output>
569
-
570
- <action>**Technical Details:**
571
-
572
- Deep technical specifics:
573
-
574
- - Algorithms to implement
575
- - Data structures to use
576
- - Performance considerations
577
- - Security considerations
578
- - Error scenarios and handling
579
- - Edge cases
580
-
581
- Be thorough - developers need details!
582
- </action>
583
-
584
- <template-output file="tech-spec.md">technical_details</template-output>
585
-
586
- <action>**Development Setup:**
587
-
588
- What does a developer need to run this locally?
589
-
590
- Based on detected stack and scripts:
591
-
592
- ```
593
- 1. Clone repo (if not already)
594
- 2. npm install (installs all deps from package.json)
595
- 3. cp .env.example .env (configure environment)
596
- 4. npm run dev (starts development server)
597
- 5. npm test (runs test suite)
598
- ```
599
-
600
- Or for Python:
601
-
602
- ```
603
- 1. python -m venv venv
604
- 2. source venv/bin/activate
605
- 3. pip install -r requirements.txt
606
- 4. python manage.py runserver
607
- ```
608
-
609
- Use the actual scripts from package.json/setup files!
610
- </action>
611
-
612
- <template-output file="tech-spec.md">development_setup</template-output>
613
-
614
- <action>**Implementation Guide:**
615
-
616
- **Setup Steps:**
617
- Pre-implementation checklist:
618
-
619
- - Create feature branch
620
- - Verify dev environment running
621
- - Review existing code references
622
- - Set up test data if needed
623
-
624
- **Implementation Steps:**
625
- Step-by-step breakdown:
626
-
627
- For single-story changes:
628
-
629
- 1. [Step 1 with specific file and action]
630
- 2. [Step 2 with specific file and action]
631
- 3. [Write tests]
632
- 4. [Verify acceptance criteria]
633
-
634
- For multi-story features:
635
- Organize by story/phase:
636
-
637
- 1. Phase 1: [Foundation work]
638
- 2. Phase 2: [Core implementation]
639
- 3. Phase 3: [Testing and validation]
640
-
641
- **Testing Strategy:**
642
-
643
- - Unit tests for [specific functions]
644
- - Integration tests for [specific flows]
645
- - Manual testing checklist
646
- - Performance testing if applicable
647
-
648
- **Acceptance Criteria:**
649
- Specific, measurable, testable criteria:
650
-
651
- 1. Given [scenario], when [action], then [outcome]
652
- 2. [Metric] meets [threshold]
653
- 3. [Feature] works in [environment]
654
- </action>
655
-
656
- <template-output file="tech-spec.md">setup_steps</template-output>
657
- <template-output file="tech-spec.md">implementation_steps</template-output>
658
- <template-output file="tech-spec.md">testing_strategy</template-output>
659
- <template-output file="tech-spec.md">acceptance_criteria</template-output>
660
-
661
- <action>**Developer Resources:**
662
-
663
- **File Paths Reference:**
664
- Complete list of all files involved:
665
-
666
- - /src/services/UserService.ts
667
- - /src/routes/api/users.ts
668
- - /tests/services/UserService.test.ts
669
- - /src/types/user.ts
670
-
671
- **Key Code Locations:**
672
- Important functions, classes, modules:
673
-
674
- - UserService class (src/services/UserService.ts:15)
675
- - validateUser function (src/utils/validation.ts:42)
676
- - User type definition (src/types/user.ts:8)
677
-
678
- **Testing Locations:**
679
- Where tests go:
680
-
681
- - Unit: tests/services/
682
- - Integration: tests/integration/
683
- - E2E: tests/e2e/
684
-
685
- **Documentation to Update:**
686
- Docs that need updating:
687
-
688
- - README.md - Add new endpoint documentation
689
- - API.md - Document /users/validate endpoint
690
- - CHANGELOG.md - Note the new feature
691
- </action>
692
-
693
- <template-output file="tech-spec.md">file_paths_complete</template-output>
694
- <template-output file="tech-spec.md">key_code_locations</template-output>
695
- <template-output file="tech-spec.md">testing_locations</template-output>
696
- <template-output file="tech-spec.md">documentation_updates</template-output>
697
-
698
- <action>**UX/UI Considerations:**
699
-
700
- <check if="change affects user interface OR user experience">
701
- **Determine if this change has UI/UX impact:**
702
- - Does it change what users see?
703
- - Does it change how users interact?
704
- - Does it affect user workflows?
705
-
706
- If YES, document:
707
-
708
- **UI Components Affected:**
709
-
710
- - List specific components (buttons, forms, modals, pages)
711
- - Note which need creation vs modification
712
-
713
- **UX Flow Changes:**
714
-
715
- - Current flow vs new flow
716
- - User journey impact
717
- - Navigation changes
718
-
719
- **Visual/Interaction Patterns:**
720
-
721
- - Follow existing design system? (check for design tokens, component library)
722
- - New patterns needed?
723
- - Responsive design considerations (mobile, tablet, desktop)
724
-
725
- **Accessibility:**
726
-
727
- - Keyboard navigation requirements
728
- - Screen reader compatibility
729
- - ARIA labels needed
730
- - Color contrast standards
731
-
732
- **User Feedback:**
733
-
734
- - Loading states
735
- - Error messages
736
- - Success confirmations
737
- - Progress indicators
738
- </check>
739
-
740
- <check if="no UI/UX impact">
741
- "No UI/UX impact - backend/API/infrastructure change only"
742
- </check>
743
- </action>
744
-
745
- <template-output file="tech-spec.md">ux_ui_considerations</template-output>
746
-
747
- <action>**Testing Approach:**
748
-
749
- Comprehensive testing strategy using {{test_framework_info}}:
750
-
751
- **CONFORM TO EXISTING TEST STANDARDS:**
752
- <check if="conform_to_conventions == yes">
753
-
754
- - Follow existing test file naming: {{detected_test_patterns.file_naming}}
755
- - Use existing test organization: {{detected_test_patterns.organization}}
756
- - Match existing assertion style: {{detected_test_patterns.assertion_style}}
757
- - Meet existing coverage requirements: {{detected_test_patterns.coverage}}
758
- </check>
759
-
760
- **Test Strategy:**
761
-
762
- - Test framework: {{detected_test_framework}} (from project dependencies)
763
- - Unit tests for [specific functions/methods]
764
- - Integration tests for [specific flows/APIs]
765
- - E2E tests if UI changes
766
- - Mock/stub strategies (use existing patterns: {{detected_test_patterns.mocking}})
767
- - Performance benchmarks if applicable
768
- - Accessibility tests if UI changes
769
-
770
- **Coverage:**
771
-
772
- - Unit test coverage: [target %]
773
- - Integration coverage: [critical paths]
774
- - Ensure all acceptance criteria have corresponding tests
775
- </action>
776
-
777
- <template-output file="tech-spec.md">test_framework_info</template-output>
778
- <template-output file="tech-spec.md">testing_approach</template-output>
779
-
780
- <action>**Deployment Strategy:**
781
-
782
- **Deployment Steps:**
783
- How to deploy this change:
784
-
785
- 1. Merge to main branch
786
- 2. Run CI/CD pipeline
787
- 3. Deploy to staging
788
- 4. Verify in staging
789
- 5. Deploy to production
790
- 6. Monitor for issues
791
-
792
- **Rollback Plan:**
793
- How to undo if problems:
794
-
795
- 1. Revert commit [hash]
796
- 2. Redeploy previous version
797
- 3. Verify rollback successful
798
-
799
- **Monitoring:**
800
- What to watch after deployment:
801
-
802
- - Error rates in [logging service]
803
- - Response times for [endpoint]
804
- - User feedback on [feature]
805
- </action>
806
-
807
- <template-output file="tech-spec.md">deployment_steps</template-output>
808
- <template-output file="tech-spec.md">rollback_plan</template-output>
809
- <template-output file="tech-spec.md">monitoring_approach</template-output>
810
-
811
- </step>
812
-
813
- <step n="4" goal="Auto-validate cohesion, completeness, and quality">
814
-
815
- <critical>Always run validation - this is NOT optional!</critical>
816
-
817
- <action>Tech-spec generation complete! Now running automatic validation...</action>
818
-
819
- <action>Load {installed_path}/checklist.md</action>
820
- <action>Review tech-spec.md against ALL checklist criteria:
821
-
822
- **Section 1: Output Files Exist**
823
-
824
- - Verify tech-spec.md created
825
- - Check for unfilled template variables
826
-
827
- **Section 2: Context Gathering**
828
-
829
- - Validate all available documents were loaded
830
- - Confirm stack detection worked
831
- - Verify brownfield analysis (if applicable)
832
-
833
- **Section 3: Tech-Spec Definitiveness**
834
-
835
- - Scan for "or" statements (FAIL if found)
836
- - Verify all versions are specific
837
- - Check stack alignment
838
-
839
- **Section 4: Context-Rich Content**
840
-
841
- - Verify all new template sections populated
842
- - Check existing code references (brownfield)
843
- - Validate framework dependencies listed
844
-
845
- **Section 5-6: Story Quality (deferred to Step 5)**
846
-
847
- **Section 7: Workflow Status (if applicable)**
848
-
849
- **Section 8: Implementation Readiness**
850
-
851
- - Can developer start immediately?
852
- - Is tech-spec comprehensive enough?
853
- </action>
854
-
855
- <action>Generate validation report with specific scores:
856
-
857
- - Context Gathering: [Comprehensive/Partial/Insufficient]
858
- - Definitiveness: [All definitive/Some ambiguity/Major issues]
859
- - Brownfield Integration: [N/A/Excellent/Partial/Missing]
860
- - Stack Alignment: [Perfect/Good/Partial/None]
861
- - Implementation Readiness: [Yes/No]
862
- </action>
863
-
864
- <check if="validation issues found">
865
- <output>⚠️ **Validation Issues Detected:**
866
-
867
- {{list_of_issues}}
868
-
869
- I can fix these automatically. Shall I proceed? (yes/no)</output>
870
-
871
- <ask>Fix validation issues? (yes/no)</ask>
872
-
873
- <check if="yes">
874
- <action>Fix each issue and re-validate</action>
875
- <output>✅ Issues fixed! Re-validation passed.</output>
876
- </check>
877
-
878
- <check if="no">
879
- <output>⚠️ Proceeding with warnings. Issues should be addressed manually.</output>
880
- </check>
881
- </check>
882
-
883
- <check if="validation passes">
884
- <output>✅ **Validation Passed!**
885
-
886
- **Scores:**
887
-
888
- - Context Gathering: {{context_score}}
889
- - Definitiveness: {{definitiveness_score}}
890
- - Brownfield Integration: {{brownfield_score}}
891
- - Stack Alignment: {{stack_score}}
892
- - Implementation Readiness: ✅ Ready
893
-
894
- Tech-spec is high quality and ready for story generation!</output>
895
- </check>
896
-
897
- </step>
898
-
899
- <step n="5" goal="Generate epic and context-rich stories">
900
-
901
- <action>Invoke unified story generation workflow: {instructions_generate_stories}</action>
902
-
903
- <action>This will generate:
904
-
905
- - **epics.md** - Epic structure (minimal for 1 story, detailed for multiple)
906
- - **story-{epic-slug}-N.md** - Story files (where N = 1 to {{story_count}})
907
-
908
- All stories reference tech-spec.md as primary context - comprehensive enough that developers can often skip story-context workflow.
909
- </action>
910
-
911
- </step>
912
-
913
- <step n="6" goal="Finalize and guide next steps">
914
-
915
- <output>**✅ Tech-Spec Complete, {user_name}!**
916
-
917
- **Deliverables Created:**
918
-
919
- - ✅ **tech-spec.md** - Context-rich technical specification
920
- - Includes: brownfield analysis, framework details, existing patterns
921
- - ✅ **epics.md** - Epic structure{{#if story_count == 1}} (minimal for single story){{else}} with {{story_count}} stories{{/if}}
922
- - ✅ **story-{epic-slug}-1.md** - First story{{#if story_count > 1}}
923
- - ✅ **story-{epic-slug}-2.md** - Second story{{/if}}{{#if story_count > 2}}
924
- - ✅ **story-{epic-slug}-3.md** - Third story{{/if}}{{#if story_count > 3}}
925
- - ✅ **Additional stories** through story-{epic-slug}-{{story_count}}.md{{/if}}
926
-
927
- **What Makes This Tech-Spec Special:**
928
-
929
- The tech-spec is comprehensive enough to serve as the primary context document:
930
-
931
- - ✨ Brownfield codebase analysis (if applicable)
932
- - ✨ Exact framework and library versions from your project
933
- - ✨ Existing patterns and code references
934
- - ✨ Specific file paths and integration points
935
- - ✨ Complete developer resources
936
-
937
- **Next Steps:**
938
-
939
- **🎯 Recommended Path - Direct to Development:**
940
-
941
- Since the tech-spec is CONTEXT-RICH, you can often skip story-context generation!
942
-
943
- {{#if story_count == 1}}
944
- **For Your Single Story:**
945
-
946
- 1. Ask DEV agent to run `dev-story`
947
- - Select story-{epic-slug}-1.md
948
- - Tech-spec provides all the context needed!
949
-
950
- 💡 **Optional:** Only run `story-context` (SM agent) if this is unusually complex
951
- {{else}}
952
- **For Your {{story_count}} Stories - Iterative Approach:**
953
-
954
- 1. **Start with Story 1:**
955
- - Ask DEV agent to run `dev-story`
956
- - Select story-{epic-slug}-1.md
957
- - Tech-spec provides context
958
-
959
- 2. **After Story 1 Complete:**
960
- - Repeat for story-{epic-slug}-2.md
961
- - Continue through story {{story_count}}
962
-
963
- 💡 **Alternative:** Use `sprint-planning` (SM agent) to organize all stories as a coordinated sprint
964
-
965
- 💡 **Optional:** Run `story-context` (SM agent) for complex stories needing additional context
966
- {{/if}}
967
-
968
- **Your Tech-Spec:**
969
-
970
- - 📄 Saved to: `{output_folder}/tech-spec.md`
971
- - Epic & Stories: `{output_folder}/epics.md` + `{sprint_artifacts}/`
972
- - Contains: All context, decisions, patterns, and implementation guidance
973
- - Ready for: Direct development!
974
-
975
- The tech-spec is your single source of truth! 🚀
976
- </output>
977
-
978
- </step>
979
-
980
- </workflow>