agentvibes 2.10.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/.claude/commands/agent-vibes/agent-vibes.md +1 -1
  2. package/.claude/commands/agent-vibes/bmad.md +3 -3
  3. package/.claude/commands/agent-vibes/set-pretext.md +2 -2
  4. package/.claude/commands/agent-vibes-bmad-voices.md +5 -5
  5. package/.claude/hooks/bmad-speak.sh +1 -1
  6. package/.claude/hooks/migrate-to-agentvibes.sh +161 -0
  7. package/.claude/hooks/play-tts-elevenlabs.sh +1 -1
  8. package/.claude/output-styles/agent-vibes.md +3 -3
  9. package/README.md +9 -6
  10. package/RELEASE_NOTES.md +341 -0
  11. package/docs/architecture/provider-system.md +3 -3
  12. package/docs/bmad-v6-support.md +1 -1
  13. package/docs/technical-deep-dive.md +1 -1
  14. package/docs/voice-mapping-format.md +1 -1
  15. package/package.json +1 -1
  16. package/src/installer.js +88 -16
  17. package/test-migration.sh +539 -0
  18. package/.agentvibes/bmad/bmad-voices-enabled.flag +0 -0
  19. package/.agentvibes/bmad/bmad-voices.md +0 -68
  20. package/.bmad/_cfg/agent-manifest.csv +0 -11
  21. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  22. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  25. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  26. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  27. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  28. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  29. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  30. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  31. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  32. package/.bmad/_cfg/files-manifest.csv +0 -243
  33. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  34. package/.bmad/_cfg/manifest.yaml +0 -9
  35. package/.bmad/_cfg/task-manifest.csv +0 -5
  36. package/.bmad/_cfg/tool-manifest.csv +0 -2
  37. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  38. package/.bmad/bmm/README.md +0 -128
  39. package/.bmad/bmm/agents/analyst.md +0 -79
  40. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  41. package/.bmad/bmm/agents/architect.md +0 -80
  42. package/.bmad/bmm/agents/dev.md +0 -70
  43. package/.bmad/bmm/agents/frame-expert.md +0 -72
  44. package/.bmad/bmm/agents/pm.md +0 -84
  45. package/.bmad/bmm/agents/sm.md +0 -93
  46. package/.bmad/bmm/agents/tea.md +0 -80
  47. package/.bmad/bmm/agents/tech-writer.md +0 -84
  48. package/.bmad/bmm/agents/ux-designer.md +0 -79
  49. package/.bmad/bmm/config.yaml +0 -17
  50. package/.bmad/bmm/docs/README.md +0 -236
  51. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  52. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  53. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  54. package/.bmad/bmm/docs/faq.md +0 -588
  55. package/.bmad/bmm/docs/glossary.md +0 -320
  56. package/.bmad/bmm/docs/party-mode.md +0 -224
  57. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  58. package/.bmad/bmm/docs/quick-start.md +0 -376
  59. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  60. package/.bmad/bmm/docs/test-architecture.md +0 -396
  61. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  62. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  63. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  64. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  65. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  66. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  67. package/.bmad/bmm/teams/default-party.csv +0 -20
  68. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  69. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  70. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  71. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  72. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  73. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  74. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  75. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  76. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  77. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  78. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  79. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  80. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  81. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  82. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  83. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  84. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  85. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  86. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  87. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  88. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  89. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  90. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  91. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  92. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  93. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  94. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  95. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  96. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  97. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  98. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  99. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  100. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  101. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  102. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  103. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  104. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  105. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  106. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  107. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  108. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  109. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  110. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  111. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  112. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  113. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  114. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  115. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  116. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  117. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  118. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  119. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  120. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  121. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  122. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  123. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  124. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  125. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  126. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  127. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  128. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  129. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  130. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  131. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  132. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  133. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  134. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  135. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  136. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  137. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  138. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  139. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  143. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  144. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  145. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  146. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  147. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  148. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  149. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  150. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  151. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  152. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  153. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  154. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  156. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  157. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  158. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  159. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  160. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  161. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  162. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  163. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  164. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  165. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  166. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  167. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  168. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  169. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  170. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  171. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  172. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  173. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  174. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  175. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  176. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  177. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  178. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  179. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  180. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  181. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  182. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  183. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  184. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  185. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  186. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  187. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  188. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  189. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  190. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  191. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  192. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  193. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  194. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  195. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  196. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  197. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  198. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  199. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  200. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  201. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  202. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  203. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  204. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  205. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  206. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  207. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  208. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  209. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  210. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  211. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  212. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  213. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  214. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  215. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  216. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  217. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  218. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  219. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  220. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  221. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  222. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  223. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  224. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  225. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  226. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  227. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  228. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  229. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  230. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  231. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  232. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  233. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  234. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  235. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  236. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  237. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  238. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  239. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  240. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  241. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  242. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  243. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  244. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  245. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  246. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  247. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  248. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  249. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  250. package/.bmad/core/agents/bmad-master.md +0 -72
  251. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  252. package/.bmad/core/config.yaml +0 -11
  253. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  254. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  255. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  256. package/.bmad/core/tasks/index-docs.xml +0 -65
  257. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  258. package/.bmad/core/tasks/workflow.xml +0 -270
  259. package/.bmad/core/tools/shard-doc.xml +0 -109
  260. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  261. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  262. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  263. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  264. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  265. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  266. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  267. package/.bmad/docs/claude-code-instructions.md +0 -25
  268. package/.claude/commands/BMad/analyst.md +0 -88
  269. package/.claude/commands/BMad/architect.md +0 -89
  270. package/.claude/commands/BMad/bmad-master.md +0 -114
  271. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  272. package/.claude/commands/BMad/dev.md +0 -85
  273. package/.claude/commands/BMad/pm.md +0 -88
  274. package/.claude/commands/BMad/po.md +0 -83
  275. package/.claude/commands/BMad/qa.md +0 -91
  276. package/.claude/commands/BMad/sm.md +0 -69
  277. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  278. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  279. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  280. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  281. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  282. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  283. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  284. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  285. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  286. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  287. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  288. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  289. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  290. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  291. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  292. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  293. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  294. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  295. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  296. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  297. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  298. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  299. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  300. package/.claude/commands/BMad/ux-expert.md +0 -73
  301. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  303. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  304. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  305. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  306. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  307. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  308. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  309. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  310. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  330. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  331. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  332. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  333. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  336. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  337. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  338. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  339. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  340. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  341. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  342. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  343. package/.claude/github-star-reminder.txt +0 -1
  344. package/.claude/hooks/bmad-party-manager.sh +0 -225
  345. package/.claude/hooks/stop.sh +0 -221
  346. package/.claude/piper-voices-dir.txt +0 -1
  347. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  348. package/.mcp.json +0 -88
  349. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  350. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  351. package/docs/2025-11-15_15-14-33.snagx +0 -0
  352. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  353. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  354. package/docs/macos-piper-issue.md +0 -172
  355. package/docs/stargazer-cms-prd.md +0 -1918
  356. package/docs/whatsapp-plugin-github-issue.md +0 -393
  357. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  358. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  359. package/github-profile-draft.md +0 -57
  360. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  361. package/mcp-server/agentvibes.db +0 -0
  362. package/scripts/audio-tunnel.config +0 -17
  363. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  364. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  365. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  366. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  367. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  368. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  369. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  370. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  371. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  372. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  373. package/v4-backup/.bmad-core/agents/po.md +0 -79
  374. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  375. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  376. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  377. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  378. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  379. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  380. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  381. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  382. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  383. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  384. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  385. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  386. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  387. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  388. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  389. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  390. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  391. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  392. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  393. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  394. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  395. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  396. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  397. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  398. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  399. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  400. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  401. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  402. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  403. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  404. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  405. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  406. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  407. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  408. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  409. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  410. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  411. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  412. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  413. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  414. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  415. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  416. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  417. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  418. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  419. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  420. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  421. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  422. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  423. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  424. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  425. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  426. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  427. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  428. package/v4-backup/.bmad-core/user-guide.md +0 -577
  429. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  430. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  431. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  432. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  433. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  434. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  435. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  436. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  437. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,118 +0,0 @@
1
- # /create-next-story Task
2
-
3
- When this command is used, execute the following task:
4
-
5
- <!-- Powered by BMAD™ Core -->
6
-
7
- # Create Next Story Task
8
-
9
- ## Purpose
10
-
11
- To identify the next logical story based on project progress and epic definitions, and then to prepare a comprehensive, self-contained, and actionable story file using the `Story Template`. This task ensures the story is enriched with all necessary technical context, requirements, and acceptance criteria, making it ready for efficient implementation by a Developer Agent with minimal need for additional research or finding its own context.
12
-
13
- ## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
14
-
15
- ### 0. Load Core Configuration and Check Workflow
16
-
17
- - Load `.bmad-core/core-config.yaml` from the project root
18
- - If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story creation. You can either: 1) Copy it from GITHUB bmad-core/core-config.yaml and configure it for your project OR 2) Run the BMad installer against your project to upgrade and add the file automatically. Please add and configure core-config.yaml before proceeding."
19
- - Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`, `workflow.*`
20
-
21
- ### 1. Identify Next Story for Preparation
22
-
23
- #### 1.1 Locate Epic Files and Review Existing Stories
24
-
25
- - Based on `prdSharded` from config, locate epic files (sharded location/pattern or monolithic PRD sections)
26
- - If `devStoryLocation` has story files, load the highest `{epicNum}.{storyNum}.story.md` file
27
- - **If highest story exists:**
28
- - Verify status is 'Done'. If not, alert user: "ALERT: Found incomplete story! File: {lastEpicNum}.{lastStoryNum}.story.md Status: [current status] You should fix this story first, but would you like to accept risk & override to create the next story in draft?"
29
- - If proceeding, select next sequential story in the current epic
30
- - If epic is complete, prompt user: "Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed. Would you like to: 1) Begin Epic {epicNum + 1} with story 1 2) Select a specific story to work on 3) Cancel story creation"
31
- - **CRITICAL**: NEVER automatically skip to another epic. User MUST explicitly instruct which story to create.
32
- - **If no story files exist:** The next story is ALWAYS 1.1 (first story of first epic)
33
- - Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}"
34
-
35
- ### 2. Gather Story Requirements and Previous Story Context
36
-
37
- - Extract story requirements from the identified epic file
38
- - If previous story exists, review Dev Agent Record sections for:
39
- - Completion Notes and Debug Log References
40
- - Implementation deviations and technical decisions
41
- - Challenges encountered and lessons learned
42
- - Extract relevant insights that inform the current story's preparation
43
-
44
- ### 3. Gather Architecture Context
45
-
46
- #### 3.1 Determine Architecture Reading Strategy
47
-
48
- - **If `architectureVersion: >= v4` and `architectureSharded: true`**: Read `{architectureShardedLocation}/index.md` then follow structured reading order below
49
- - **Else**: Use monolithic `architectureFile` for similar sections
50
-
51
- #### 3.2 Read Architecture Documents Based on Story Type
52
-
53
- **For ALL Stories:** tech-stack.md, unified-project-structure.md, coding-standards.md, testing-strategy.md
54
-
55
- **For Backend/API Stories, additionally:** data-models.md, database-schema.md, backend-architecture.md, rest-api-spec.md, external-apis.md
56
-
57
- **For Frontend/UI Stories, additionally:** frontend-architecture.md, components.md, core-workflows.md, data-models.md
58
-
59
- **For Full-Stack Stories:** Read both Backend and Frontend sections above
60
-
61
- #### 3.3 Extract Story-Specific Technical Details
62
-
63
- Extract ONLY information directly relevant to implementing the current story. Do NOT invent new libraries, patterns, or standards not in the source documents.
64
-
65
- Extract:
66
-
67
- - Specific data models, schemas, or structures the story will use
68
- - API endpoints the story must implement or consume
69
- - Component specifications for UI elements in the story
70
- - File paths and naming conventions for new code
71
- - Testing requirements specific to the story's features
72
- - Security or performance considerations affecting the story
73
-
74
- ALWAYS cite source documents: `[Source: architecture/{filename}.md#{section}]`
75
-
76
- ### 4. Verify Project Structure Alignment
77
-
78
- - Cross-reference story requirements with Project Structure Guide from `docs/architecture/unified-project-structure.md`
79
- - Ensure file paths, component locations, or module names align with defined structures
80
- - Document any structural conflicts in "Project Structure Notes" section within the story draft
81
-
82
- ### 5. Populate Story Template with Full Context
83
-
84
- - Create new story file: `{devStoryLocation}/{epicNum}.{storyNum}.story.md` using Story Template
85
- - Fill in basic story information: Title, Status (Draft), Story statement, Acceptance Criteria from Epic
86
- - **`Dev Notes` section (CRITICAL):**
87
- - CRITICAL: This section MUST contain ONLY information extracted from architecture documents. NEVER invent or assume technical details.
88
- - Include ALL relevant technical details from Steps 2-3, organized by category:
89
- - **Previous Story Insights**: Key learnings from previous story
90
- - **Data Models**: Specific schemas, validation rules, relationships [with source references]
91
- - **API Specifications**: Endpoint details, request/response formats, auth requirements [with source references]
92
- - **Component Specifications**: UI component details, props, state management [with source references]
93
- - **File Locations**: Exact paths where new code should be created based on project structure
94
- - **Testing Requirements**: Specific test cases or strategies from testing-strategy.md
95
- - **Technical Constraints**: Version requirements, performance considerations, security rules
96
- - Every technical detail MUST include its source reference: `[Source: architecture/{filename}.md#{section}]`
97
- - If information for a category is not found in the architecture docs, explicitly state: "No specific guidance found in architecture docs"
98
- - **`Tasks / Subtasks` section:**
99
- - Generate detailed, sequential list of technical tasks based ONLY on: Epic Requirements, Story AC, Reviewed Architecture Information
100
- - Each task must reference relevant architecture documentation
101
- - Include unit testing as explicit subtasks based on the Testing Strategy
102
- - Link tasks to ACs where applicable (e.g., `Task 1 (AC: 1, 3)`)
103
- - Add notes on project structure alignment or discrepancies found in Step 4
104
-
105
- ### 6. Story Draft Completion and Review
106
-
107
- - Review all sections for completeness and accuracy
108
- - Verify all source references are included for technical details
109
- - Ensure tasks align with both epic requirements and architecture constraints
110
- - Update status to "Draft" and save the story file
111
- - Execute `.bmad-core/tasks/execute-checklist` `.bmad-core/checklists/story-draft-checklist`
112
- - Provide summary to user including:
113
- - Story created: `{devStoryLocation}/{epicNum}.{storyNum}.story.md`
114
- - Status: Draft
115
- - Key technical components included from architecture docs
116
- - Any deviations or conflicts noted between epic and architecture
117
- - Checklist Results
118
- - Next steps: For Complex stories, suggest the user carefully review the story draft and also optionally have the PO run the task `.bmad-core/tasks/validate-next-story`
@@ -1,349 +0,0 @@
1
- # /document-project Task
2
-
3
- When this command is used, execute the following task:
4
-
5
- <!-- Powered by BMAD™ Core -->
6
-
7
- # Document an Existing Project
8
-
9
- ## Purpose
10
-
11
- Generate comprehensive documentation for existing projects optimized for AI development agents. This task creates structured reference materials that enable AI agents to understand project context, conventions, and patterns for effective contribution to any codebase.
12
-
13
- ## Task Instructions
14
-
15
- ### 1. Initial Project Analysis
16
-
17
- **CRITICAL:** First, check if a PRD or requirements document exists in context. If yes, use it to focus your documentation efforts on relevant areas only.
18
-
19
- **IF PRD EXISTS**:
20
-
21
- - Review the PRD to understand what enhancement/feature is planned
22
- - Identify which modules, services, or areas will be affected
23
- - Focus documentation ONLY on these relevant areas
24
- - Skip unrelated parts of the codebase to keep docs lean
25
-
26
- **IF NO PRD EXISTS**:
27
- Ask the user:
28
-
29
- "I notice you haven't provided a PRD or requirements document. To create more focused and useful documentation, I recommend one of these options:
30
-
31
- 1. **Create a PRD first** - Would you like me to help create a brownfield PRD before documenting? This helps focus documentation on relevant areas.
32
-
33
- 2. **Provide existing requirements** - Do you have a requirements document, epic, or feature description you can share?
34
-
35
- 3. **Describe the focus** - Can you briefly describe what enhancement or feature you're planning? For example:
36
- - 'Adding payment processing to the user service'
37
- - 'Refactoring the authentication module'
38
- - 'Integrating with a new third-party API'
39
-
40
- 4. **Document everything** - Or should I proceed with comprehensive documentation of the entire codebase? (Note: This may create excessive documentation for large projects)
41
-
42
- Please let me know your preference, or I can proceed with full documentation if you prefer."
43
-
44
- Based on their response:
45
-
46
- - If they choose option 1-3: Use that context to focus documentation
47
- - If they choose option 4 or decline: Proceed with comprehensive analysis below
48
-
49
- Begin by conducting analysis of the existing project. Use available tools to:
50
-
51
- 1. **Project Structure Discovery**: Examine the root directory structure, identify main folders, and understand the overall organization
52
- 2. **Technology Stack Identification**: Look for package.json, requirements.txt, Cargo.toml, pom.xml, etc. to identify languages, frameworks, and dependencies
53
- 3. **Build System Analysis**: Find build scripts, CI/CD configurations, and development commands
54
- 4. **Existing Documentation Review**: Check for README files, docs folders, and any existing documentation
55
- 5. **Code Pattern Analysis**: Sample key files to understand coding patterns, naming conventions, and architectural approaches
56
-
57
- Ask the user these elicitation questions to better understand their needs:
58
-
59
- - What is the primary purpose of this project?
60
- - Are there any specific areas of the codebase that are particularly complex or important for agents to understand?
61
- - What types of tasks do you expect AI agents to perform on this project? (e.g., bug fixes, feature additions, refactoring, testing)
62
- - Are there any existing documentation standards or formats you prefer?
63
- - What level of technical detail should the documentation target? (junior developers, senior developers, mixed team)
64
- - Is there a specific feature or enhancement you're planning? (This helps focus documentation)
65
-
66
- ### 2. Deep Codebase Analysis
67
-
68
- CRITICAL: Before generating documentation, conduct extensive analysis of the existing codebase:
69
-
70
- 1. **Explore Key Areas**:
71
- - Entry points (main files, index files, app initializers)
72
- - Configuration files and environment setup
73
- - Package dependencies and versions
74
- - Build and deployment configurations
75
- - Test suites and coverage
76
-
77
- 2. **Ask Clarifying Questions**:
78
- - "I see you're using [technology X]. Are there any custom patterns or conventions I should document?"
79
- - "What are the most critical/complex parts of this system that developers struggle with?"
80
- - "Are there any undocumented 'tribal knowledge' areas I should capture?"
81
- - "What technical debt or known issues should I document?"
82
- - "Which parts of the codebase change most frequently?"
83
-
84
- 3. **Map the Reality**:
85
- - Identify ACTUAL patterns used (not theoretical best practices)
86
- - Find where key business logic lives
87
- - Locate integration points and external dependencies
88
- - Document workarounds and technical debt
89
- - Note areas that differ from standard patterns
90
-
91
- **IF PRD PROVIDED**: Also analyze what would need to change for the enhancement
92
-
93
- ### 3. Core Documentation Generation
94
-
95
- [[LLM: Generate a comprehensive BROWNFIELD architecture document that reflects the ACTUAL state of the codebase.
96
-
97
- **CRITICAL**: This is NOT an aspirational architecture document. Document what EXISTS, including:
98
-
99
- - Technical debt and workarounds
100
- - Inconsistent patterns between different parts
101
- - Legacy code that can't be changed
102
- - Integration constraints
103
- - Performance bottlenecks
104
-
105
- **Document Structure**:
106
-
107
- # [Project Name] Brownfield Architecture Document
108
-
109
- ## Introduction
110
-
111
- This document captures the CURRENT STATE of the [Project Name] codebase, including technical debt, workarounds, and real-world patterns. It serves as a reference for AI agents working on enhancements.
112
-
113
- ### Document Scope
114
-
115
- [If PRD provided: "Focused on areas relevant to: {enhancement description}"]
116
- [If no PRD: "Comprehensive documentation of entire system"]
117
-
118
- ### Change Log
119
-
120
- | Date | Version | Description | Author |
121
- | ------ | ------- | --------------------------- | --------- |
122
- | [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
123
-
124
- ## Quick Reference - Key Files and Entry Points
125
-
126
- ### Critical Files for Understanding the System
127
-
128
- - **Main Entry**: `src/index.js` (or actual entry point)
129
- - **Configuration**: `config/app.config.js`, `.env.example`
130
- - **Core Business Logic**: `src/services/`, `src/domain/`
131
- - **API Definitions**: `src/routes/` or link to OpenAPI spec
132
- - **Database Models**: `src/models/` or link to schema files
133
- - **Key Algorithms**: [List specific files with complex logic]
134
-
135
- ### If PRD Provided - Enhancement Impact Areas
136
-
137
- [Highlight which files/modules will be affected by the planned enhancement]
138
-
139
- ## High Level Architecture
140
-
141
- ### Technical Summary
142
-
143
- ### Actual Tech Stack (from package.json/requirements.txt)
144
-
145
- | Category | Technology | Version | Notes |
146
- | --------- | ---------- | ------- | -------------------------- |
147
- | Runtime | Node.js | 16.x | [Any constraints] |
148
- | Framework | Express | 4.18.2 | [Custom middleware?] |
149
- | Database | PostgreSQL | 13 | [Connection pooling setup] |
150
-
151
- etc...
152
-
153
- ### Repository Structure Reality Check
154
-
155
- - Type: [Monorepo/Polyrepo/Hybrid]
156
- - Package Manager: [npm/yarn/pnpm]
157
- - Notable: [Any unusual structure decisions]
158
-
159
- ## Source Tree and Module Organization
160
-
161
- ### Project Structure (Actual)
162
-
163
- ```text
164
- project-root/
165
- ├── src/
166
- │ ├── controllers/ # HTTP request handlers
167
- │ ├── services/ # Business logic (NOTE: inconsistent patterns between user and payment services)
168
- │ ├── models/ # Database models (Sequelize)
169
- │ ├── utils/ # Mixed bag - needs refactoring
170
- │ └── legacy/ # DO NOT MODIFY - old payment system still in use
171
- ├── tests/ # Jest tests (60% coverage)
172
- ├── scripts/ # Build and deployment scripts
173
- └── config/ # Environment configs
174
- ```
175
-
176
- ### Key Modules and Their Purpose
177
-
178
- - **User Management**: `src/services/userService.js` - Handles all user operations
179
- - **Authentication**: `src/middleware/auth.js` - JWT-based, custom implementation
180
- - **Payment Processing**: `src/legacy/payment.js` - CRITICAL: Do not refactor, tightly coupled
181
- - **[List other key modules with their actual files]**
182
-
183
- ## Data Models and APIs
184
-
185
- ### Data Models
186
-
187
- Instead of duplicating, reference actual model files:
188
-
189
- - **User Model**: See `src/models/User.js`
190
- - **Order Model**: See `src/models/Order.js`
191
- - **Related Types**: TypeScript definitions in `src/types/`
192
-
193
- ### API Specifications
194
-
195
- - **OpenAPI Spec**: `docs/api/openapi.yaml` (if exists)
196
- - **Postman Collection**: `docs/api/postman-collection.json`
197
- - **Manual Endpoints**: [List any undocumented endpoints discovered]
198
-
199
- ## Technical Debt and Known Issues
200
-
201
- ### Critical Technical Debt
202
-
203
- 1. **Payment Service**: Legacy code in `src/legacy/payment.js` - tightly coupled, no tests
204
- 2. **User Service**: Different pattern than other services, uses callbacks instead of promises
205
- 3. **Database Migrations**: Manually tracked, no proper migration tool
206
- 4. **[Other significant debt]**
207
-
208
- ### Workarounds and Gotchas
209
-
210
- - **Environment Variables**: Must set `NODE_ENV=production` even for staging (historical reason)
211
- - **Database Connections**: Connection pool hardcoded to 10, changing breaks payment service
212
- - **[Other workarounds developers need to know]**
213
-
214
- ## Integration Points and External Dependencies
215
-
216
- ### External Services
217
-
218
- | Service | Purpose | Integration Type | Key Files |
219
- | -------- | -------- | ---------------- | ------------------------------ |
220
- | Stripe | Payments | REST API | `src/integrations/stripe/` |
221
- | SendGrid | Emails | SDK | `src/services/emailService.js` |
222
-
223
- etc...
224
-
225
- ### Internal Integration Points
226
-
227
- - **Frontend Communication**: REST API on port 3000, expects specific headers
228
- - **Background Jobs**: Redis queue, see `src/workers/`
229
- - **[Other integrations]**
230
-
231
- ## Development and Deployment
232
-
233
- ### Local Development Setup
234
-
235
- 1. Actual steps that work (not ideal steps)
236
- 2. Known issues with setup
237
- 3. Required environment variables (see `.env.example`)
238
-
239
- ### Build and Deployment Process
240
-
241
- - **Build Command**: `npm run build` (webpack config in `webpack.config.js`)
242
- - **Deployment**: Manual deployment via `scripts/deploy.sh`
243
- - **Environments**: Dev, Staging, Prod (see `config/environments/`)
244
-
245
- ## Testing Reality
246
-
247
- ### Current Test Coverage
248
-
249
- - Unit Tests: 60% coverage (Jest)
250
- - Integration Tests: Minimal, in `tests/integration/`
251
- - E2E Tests: None
252
- - Manual Testing: Primary QA method
253
-
254
- ### Running Tests
255
-
256
- ```bash
257
- npm test # Runs unit tests
258
- npm run test:integration # Runs integration tests (requires local DB)
259
- ```
260
-
261
- ## If Enhancement PRD Provided - Impact Analysis
262
-
263
- ### Files That Will Need Modification
264
-
265
- Based on the enhancement requirements, these files will be affected:
266
-
267
- - `src/services/userService.js` - Add new user fields
268
- - `src/models/User.js` - Update schema
269
- - `src/routes/userRoutes.js` - New endpoints
270
- - [etc...]
271
-
272
- ### New Files/Modules Needed
273
-
274
- - `src/services/newFeatureService.js` - New business logic
275
- - `src/models/NewFeature.js` - New data model
276
- - [etc...]
277
-
278
- ### Integration Considerations
279
-
280
- - Will need to integrate with existing auth middleware
281
- - Must follow existing response format in `src/utils/responseFormatter.js`
282
- - [Other integration points]
283
-
284
- ## Appendix - Useful Commands and Scripts
285
-
286
- ### Frequently Used Commands
287
-
288
- ```bash
289
- npm run dev # Start development server
290
- npm run build # Production build
291
- npm run migrate # Run database migrations
292
- npm run seed # Seed test data
293
- ```
294
-
295
- ### Debugging and Troubleshooting
296
-
297
- - **Logs**: Check `logs/app.log` for application logs
298
- - **Debug Mode**: Set `DEBUG=app:*` for verbose logging
299
- - **Common Issues**: See `docs/troubleshooting.md`]]
300
-
301
- ### 4. Document Delivery
302
-
303
- 1. **In Web UI (Gemini, ChatGPT, Claude)**:
304
- - Present the entire document in one response (or multiple if too long)
305
- - Tell user to copy and save as `docs/brownfield-architecture.md` or `docs/project-architecture.md`
306
- - Mention it can be sharded later in IDE if needed
307
-
308
- 2. **In IDE Environment**:
309
- - Create the document as `docs/brownfield-architecture.md`
310
- - Inform user this single document contains all architectural information
311
- - Can be sharded later using PO agent if desired
312
-
313
- The document should be comprehensive enough that future agents can understand:
314
-
315
- - The actual state of the system (not idealized)
316
- - Where to find key files and logic
317
- - What technical debt exists
318
- - What constraints must be respected
319
- - If PRD provided: What needs to change for the enhancement]]
320
-
321
- ### 5. Quality Assurance
322
-
323
- CRITICAL: Before finalizing the document:
324
-
325
- 1. **Accuracy Check**: Verify all technical details match the actual codebase
326
- 2. **Completeness Review**: Ensure all major system components are documented
327
- 3. **Focus Validation**: If user provided scope, verify relevant areas are emphasized
328
- 4. **Clarity Assessment**: Check that explanations are clear for AI agents
329
- 5. **Navigation**: Ensure document has clear section structure for easy reference
330
-
331
- Apply the advanced elicitation task after major sections to refine based on user feedback.
332
-
333
- ## Success Criteria
334
-
335
- - Single comprehensive brownfield architecture document created
336
- - Document reflects REALITY including technical debt and workarounds
337
- - Key files and modules are referenced with actual paths
338
- - Models/APIs reference source files rather than duplicating content
339
- - If PRD provided: Clear impact analysis showing what needs to change
340
- - Document enables AI agents to navigate and understand the actual codebase
341
- - Technical constraints and "gotchas" are clearly documented
342
-
343
- ## Notes
344
-
345
- - This task creates ONE document that captures the TRUE state of the system
346
- - References actual files rather than duplicating content when possible
347
- - Documents technical debt, workarounds, and constraints honestly
348
- - For brownfield projects with PRD: Provides clear enhancement impact analysis
349
- - The goal is PRACTICAL documentation for AI agents doing real work
@@ -1,92 +0,0 @@
1
- # /execute-checklist Task
2
-
3
- When this command is used, execute the following task:
4
-
5
- <!-- Powered by BMAD™ Core -->
6
-
7
- # Checklist Validation Task
8
-
9
- This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
10
-
11
- ## Available Checklists
12
-
13
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the .bmad-core/checklists folder to select the appropriate one to run.
14
-
15
- ## Instructions
16
-
17
- 1. **Initial Assessment**
18
- - If user or the task being run provides a checklist name:
19
- - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
20
- - If multiple matches found, ask user to clarify
21
- - Load the appropriate checklist from .bmad-core/checklists/
22
- - If no checklist specified:
23
- - Ask the user which checklist they want to use
24
- - Present the available options from the files in the checklists folder
25
- - Confirm if they want to work through the checklist:
26
- - Section by section (interactive mode - very time consuming)
27
- - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
28
-
29
- 2. **Document and Artifact Gathering**
30
- - Each checklist will specify its required documents/artifacts at the beginning
31
- - Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
32
-
33
- 3. **Checklist Processing**
34
-
35
- If in interactive mode:
36
- - Work through each section of the checklist one at a time
37
- - For each section:
38
- - Review all items in the section following instructions for that section embedded in the checklist
39
- - Check each item against the relevant documentation or artifacts as appropriate
40
- - Present summary of findings for that section, highlighting warnings, errors and non applicable items (rationale for non-applicability).
41
- - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
42
-
43
- If in YOLO mode:
44
- - Process all sections at once
45
- - Create a comprehensive report of all findings
46
- - Present the complete analysis to the user
47
-
48
- 4. **Validation Approach**
49
-
50
- For each checklist item:
51
- - Read and understand the requirement
52
- - Look for evidence in the documentation that satisfies the requirement
53
- - Consider both explicit mentions and implicit coverage
54
- - Aside from this, follow all checklist llm instructions
55
- - Mark items as:
56
- - ✅ PASS: Requirement clearly met
57
- - ❌ FAIL: Requirement not met or insufficient coverage
58
- - ⚠️ PARTIAL: Some aspects covered but needs improvement
59
- - N/A: Not applicable to this case
60
-
61
- 5. **Section Analysis**
62
-
63
- For each section:
64
- - think step by step to calculate pass rate
65
- - Identify common themes in failed items
66
- - Provide specific recommendations for improvement
67
- - In interactive mode, discuss findings with user
68
- - Document any user decisions or explanations
69
-
70
- 6. **Final Report**
71
-
72
- Prepare a summary that includes:
73
- - Overall checklist completion status
74
- - Pass rates by section
75
- - List of failed items with context
76
- - Specific recommendations for improvement
77
- - Any sections or items marked as N/A with justification
78
-
79
- ## Checklist Execution Methodology
80
-
81
- Each checklist now contains embedded LLM prompts and instructions that will:
82
-
83
- 1. **Guide thorough thinking** - Prompts ensure deep analysis of each section
84
- 2. **Request specific artifacts** - Clear instructions on what documents/access is needed
85
- 3. **Provide contextual guidance** - Section-specific prompts for better validation
86
- 4. **Generate comprehensive reports** - Final summary with detailed findings
87
-
88
- The LLM will:
89
-
90
- - Execute the complete checklist validation
91
- - Present a final report with pass/fail rates and key findings
92
- - Offer to provide detailed analysis of any section, especially those with warnings or failures