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,651 +0,0 @@
1
- # <!-- Powered by BMAD™ Core -->
2
- template:
3
- id: architecture-template-v2
4
- name: Architecture Document
5
- version: 2.0
6
- output:
7
- format: markdown
8
- filename: docs/architecture.md
9
- title: "{{project_name}} Architecture Document"
10
-
11
- workflow:
12
- mode: interactive
13
- elicitation: advanced-elicitation
14
-
15
- sections:
16
- - id: introduction
17
- title: Introduction
18
- instruction: |
19
- If available, review any provided relevant documents to gather all relevant context before beginning. If at a minimum you cannot locate docs/prd.md ask the user what docs will provide the basis for the architecture.
20
- sections:
21
- - id: intro-content
22
- content: |
23
- This document outlines the overall project architecture for {{project_name}}, including backend systems, shared services, and non-UI specific concerns. Its primary goal is to serve as the guiding architectural blueprint for AI-driven development, ensuring consistency and adherence to chosen patterns and technologies.
24
-
25
- **Relationship to Frontend Architecture:**
26
- If the project includes a significant user interface, a separate Frontend Architecture Document will detail the frontend-specific design and MUST be used in conjunction with this document. Core technology stack choices documented herein (see "Tech Stack") are definitive for the entire project, including any frontend components.
27
- - id: starter-template
28
- title: Starter Template or Existing Project
29
- instruction: |
30
- Before proceeding further with architecture design, check if the project is based on a starter template or existing codebase:
31
-
32
- 1. Review the PRD and brainstorming brief for any mentions of:
33
- - Starter templates (e.g., Create React App, Next.js, Vue CLI, Angular CLI, etc.)
34
- - Existing projects or codebases being used as a foundation
35
- - Boilerplate projects or scaffolding tools
36
- - Previous projects to be cloned or adapted
37
-
38
- 2. If a starter template or existing project is mentioned:
39
- - Ask the user to provide access via one of these methods:
40
- - Link to the starter template documentation
41
- - Upload/attach the project files (for small projects)
42
- - Share a link to the project repository (GitHub, GitLab, etc.)
43
- - Analyze the starter/existing project to understand:
44
- - Pre-configured technology stack and versions
45
- - Project structure and organization patterns
46
- - Built-in scripts and tooling
47
- - Existing architectural patterns and conventions
48
- - Any limitations or constraints imposed by the starter
49
- - Use this analysis to inform and align your architecture decisions
50
-
51
- 3. If no starter template is mentioned but this is a greenfield project:
52
- - Suggest appropriate starter templates based on the tech stack preferences
53
- - Explain the benefits (faster setup, best practices, community support)
54
- - Let the user decide whether to use one
55
-
56
- 4. If the user confirms no starter template will be used:
57
- - Proceed with architecture design from scratch
58
- - Note that manual setup will be required for all tooling and configuration
59
-
60
- Document the decision here before proceeding with the architecture design. If none, just say N/A
61
- elicit: true
62
- - id: changelog
63
- title: Change Log
64
- type: table
65
- columns: [Date, Version, Description, Author]
66
- instruction: Track document versions and changes
67
-
68
- - id: high-level-architecture
69
- title: High Level Architecture
70
- instruction: |
71
- This section contains multiple subsections that establish the foundation of the architecture. Present all subsections together at once.
72
- elicit: true
73
- sections:
74
- - id: technical-summary
75
- title: Technical Summary
76
- instruction: |
77
- Provide a brief paragraph (3-5 sentences) overview of:
78
- - The system's overall architecture style
79
- - Key components and their relationships
80
- - Primary technology choices
81
- - Core architectural patterns being used
82
- - Reference back to the PRD goals and how this architecture supports them
83
- - id: high-level-overview
84
- title: High Level Overview
85
- instruction: |
86
- Based on the PRD's Technical Assumptions section, describe:
87
-
88
- 1. The main architectural style (e.g., Monolith, Microservices, Serverless, Event-Driven)
89
- 2. Repository structure decision from PRD (Monorepo/Polyrepo)
90
- 3. Service architecture decision from PRD
91
- 4. Primary user interaction flow or data flow at a conceptual level
92
- 5. Key architectural decisions and their rationale
93
- - id: project-diagram
94
- title: High Level Project Diagram
95
- type: mermaid
96
- mermaid_type: graph
97
- instruction: |
98
- Create a Mermaid diagram that visualizes the high-level architecture. Consider:
99
- - System boundaries
100
- - Major components/services
101
- - Data flow directions
102
- - External integrations
103
- - User entry points
104
-
105
- - id: architectural-patterns
106
- title: Architectural and Design Patterns
107
- instruction: |
108
- List the key high-level patterns that will guide the architecture. For each pattern:
109
-
110
- 1. Present 2-3 viable options if multiple exist
111
- 2. Provide your recommendation with clear rationale
112
- 3. Get user confirmation before finalizing
113
- 4. These patterns should align with the PRD's technical assumptions and project goals
114
-
115
- Common patterns to consider:
116
- - Architectural style patterns (Serverless, Event-Driven, Microservices, CQRS, Hexagonal)
117
- - Code organization patterns (Dependency Injection, Repository, Module, Factory)
118
- - Data patterns (Event Sourcing, Saga, Database per Service)
119
- - Communication patterns (REST, GraphQL, Message Queue, Pub/Sub)
120
- template: "- **{{pattern_name}}:** {{pattern_description}} - _Rationale:_ {{rationale}}"
121
- examples:
122
- - "**Serverless Architecture:** Using AWS Lambda for compute - _Rationale:_ Aligns with PRD requirement for cost optimization and automatic scaling"
123
- - "**Repository Pattern:** Abstract data access logic - _Rationale:_ Enables testing and future database migration flexibility"
124
- - "**Event-Driven Communication:** Using SNS/SQS for service decoupling - _Rationale:_ Supports async processing and system resilience"
125
-
126
- - id: tech-stack
127
- title: Tech Stack
128
- instruction: |
129
- This is the DEFINITIVE technology selection section. Work with the user to make specific choices:
130
-
131
- 1. Review PRD technical assumptions and any preferences from .bmad-core/data/technical-preferences.yaml or an attached technical-preferences
132
- 2. For each category, present 2-3 viable options with pros/cons
133
- 3. Make a clear recommendation based on project needs
134
- 4. Get explicit user approval for each selection
135
- 5. Document exact versions (avoid "latest" - pin specific versions)
136
- 6. This table is the single source of truth - all other docs must reference these choices
137
-
138
- Key decisions to finalize - before displaying the table, ensure you are aware of or ask the user about - let the user know if they are not sure on any that you can also provide suggestions with rationale:
139
-
140
- - Starter templates (if any)
141
- - Languages and runtimes with exact versions
142
- - Frameworks and libraries / packages
143
- - Cloud provider and key services choices
144
- - Database and storage solutions - if unclear suggest sql or nosql or other types depending on the project and depending on cloud provider offer a suggestion
145
- - Development tools
146
-
147
- Upon render of the table, ensure the user is aware of the importance of this sections choices, should also look for gaps or disagreements with anything, ask for any clarifications if something is unclear why its in the list, and also right away elicit feedback - this statement and the options should be rendered and then prompt right all before allowing user input.
148
- elicit: true
149
- sections:
150
- - id: cloud-infrastructure
151
- title: Cloud Infrastructure
152
- template: |
153
- - **Provider:** {{cloud_provider}}
154
- - **Key Services:** {{core_services_list}}
155
- - **Deployment Regions:** {{regions}}
156
- - id: technology-stack-table
157
- title: Technology Stack Table
158
- type: table
159
- columns: [Category, Technology, Version, Purpose, Rationale]
160
- instruction: Populate the technology stack table with all relevant technologies
161
- examples:
162
- - "| **Language** | TypeScript | 5.3.3 | Primary development language | Strong typing, excellent tooling, team expertise |"
163
- - "| **Runtime** | Node.js | 20.11.0 | JavaScript runtime | LTS version, stable performance, wide ecosystem |"
164
- - "| **Framework** | NestJS | 10.3.2 | Backend framework | Enterprise-ready, good DI, matches team patterns |"
165
-
166
- - id: data-models
167
- title: Data Models
168
- instruction: |
169
- Define the core data models/entities:
170
-
171
- 1. Review PRD requirements and identify key business entities
172
- 2. For each model, explain its purpose and relationships
173
- 3. Include key attributes and data types
174
- 4. Show relationships between models
175
- 5. Discuss design decisions with user
176
-
177
- Create a clear conceptual model before moving to database schema.
178
- elicit: true
179
- repeatable: true
180
- sections:
181
- - id: model
182
- title: "{{model_name}}"
183
- template: |
184
- **Purpose:** {{model_purpose}}
185
-
186
- **Key Attributes:**
187
- - {{attribute_1}}: {{type_1}} - {{description_1}}
188
- - {{attribute_2}}: {{type_2}} - {{description_2}}
189
-
190
- **Relationships:**
191
- - {{relationship_1}}
192
- - {{relationship_2}}
193
-
194
- - id: components
195
- title: Components
196
- instruction: |
197
- Based on the architectural patterns, tech stack, and data models from above:
198
-
199
- 1. Identify major logical components/services and their responsibilities
200
- 2. Consider the repository structure (monorepo/polyrepo) from PRD
201
- 3. Define clear boundaries and interfaces between components
202
- 4. For each component, specify:
203
- - Primary responsibility
204
- - Key interfaces/APIs exposed
205
- - Dependencies on other components
206
- - Technology specifics based on tech stack choices
207
-
208
- 5. Create component diagrams where helpful
209
- elicit: true
210
- sections:
211
- - id: component-list
212
- repeatable: true
213
- title: "{{component_name}}"
214
- template: |
215
- **Responsibility:** {{component_description}}
216
-
217
- **Key Interfaces:**
218
- - {{interface_1}}
219
- - {{interface_2}}
220
-
221
- **Dependencies:** {{dependencies}}
222
-
223
- **Technology Stack:** {{component_tech_details}}
224
- - id: component-diagrams
225
- title: Component Diagrams
226
- type: mermaid
227
- instruction: |
228
- Create Mermaid diagrams to visualize component relationships. Options:
229
- - C4 Container diagram for high-level view
230
- - Component diagram for detailed internal structure
231
- - Sequence diagrams for complex interactions
232
- Choose the most appropriate for clarity
233
-
234
- - id: external-apis
235
- title: External APIs
236
- condition: Project requires external API integrations
237
- instruction: |
238
- For each external service integration:
239
-
240
- 1. Identify APIs needed based on PRD requirements and component design
241
- 2. If documentation URLs are unknown, ask user for specifics
242
- 3. Document authentication methods and security considerations
243
- 4. List specific endpoints that will be used
244
- 5. Note any rate limits or usage constraints
245
-
246
- If no external APIs are needed, state this explicitly and skip to next section.
247
- elicit: true
248
- repeatable: true
249
- sections:
250
- - id: api
251
- title: "{{api_name}} API"
252
- template: |
253
- - **Purpose:** {{api_purpose}}
254
- - **Documentation:** {{api_docs_url}}
255
- - **Base URL(s):** {{api_base_url}}
256
- - **Authentication:** {{auth_method}}
257
- - **Rate Limits:** {{rate_limits}}
258
-
259
- **Key Endpoints Used:**
260
- - `{{method}} {{endpoint_path}}` - {{endpoint_purpose}}
261
-
262
- **Integration Notes:** {{integration_considerations}}
263
-
264
- - id: core-workflows
265
- title: Core Workflows
266
- type: mermaid
267
- mermaid_type: sequence
268
- instruction: |
269
- Illustrate key system workflows using sequence diagrams:
270
-
271
- 1. Identify critical user journeys from PRD
272
- 2. Show component interactions including external APIs
273
- 3. Include error handling paths
274
- 4. Document async operations
275
- 5. Create both high-level and detailed diagrams as needed
276
-
277
- Focus on workflows that clarify architecture decisions or complex interactions.
278
- elicit: true
279
-
280
- - id: rest-api-spec
281
- title: REST API Spec
282
- condition: Project includes REST API
283
- type: code
284
- language: yaml
285
- instruction: |
286
- If the project includes a REST API:
287
-
288
- 1. Create an OpenAPI 3.0 specification
289
- 2. Include all endpoints from epics/stories
290
- 3. Define request/response schemas based on data models
291
- 4. Document authentication requirements
292
- 5. Include example requests/responses
293
-
294
- Use YAML format for better readability. If no REST API, skip this section.
295
- elicit: true
296
- template: |
297
- openapi: 3.0.0
298
- info:
299
- title: {{api_title}}
300
- version: {{api_version}}
301
- description: {{api_description}}
302
- servers:
303
- - url: {{server_url}}
304
- description: {{server_description}}
305
-
306
- - id: database-schema
307
- title: Database Schema
308
- instruction: |
309
- Transform the conceptual data models into concrete database schemas:
310
-
311
- 1. Use the database type(s) selected in Tech Stack
312
- 2. Create schema definitions using appropriate notation
313
- 3. Include indexes, constraints, and relationships
314
- 4. Consider performance and scalability
315
- 5. For NoSQL, show document structures
316
-
317
- Present schema in format appropriate to database type (SQL DDL, JSON schema, etc.)
318
- elicit: true
319
-
320
- - id: source-tree
321
- title: Source Tree
322
- type: code
323
- language: plaintext
324
- instruction: |
325
- Create a project folder structure that reflects:
326
-
327
- 1. The chosen repository structure (monorepo/polyrepo)
328
- 2. The service architecture (monolith/microservices/serverless)
329
- 3. The selected tech stack and languages
330
- 4. Component organization from above
331
- 5. Best practices for the chosen frameworks
332
- 6. Clear separation of concerns
333
-
334
- Adapt the structure based on project needs. For monorepos, show service separation. For serverless, show function organization. Include language-specific conventions.
335
- elicit: true
336
- examples:
337
- - |
338
- project-root/
339
- ├── packages/
340
- │ ├── api/ # Backend API service
341
- │ ├── web/ # Frontend application
342
- │ ├── shared/ # Shared utilities/types
343
- │ └── infrastructure/ # IaC definitions
344
- ├── scripts/ # Monorepo management scripts
345
- └── package.json # Root package.json with workspaces
346
-
347
- - id: infrastructure-deployment
348
- title: Infrastructure and Deployment
349
- instruction: |
350
- Define the deployment architecture and practices:
351
-
352
- 1. Use IaC tool selected in Tech Stack
353
- 2. Choose deployment strategy appropriate for the architecture
354
- 3. Define environments and promotion flow
355
- 4. Establish rollback procedures
356
- 5. Consider security, monitoring, and cost optimization
357
-
358
- Get user input on deployment preferences and CI/CD tool choices.
359
- elicit: true
360
- sections:
361
- - id: infrastructure-as-code
362
- title: Infrastructure as Code
363
- template: |
364
- - **Tool:** {{iac_tool}} {{version}}
365
- - **Location:** `{{iac_directory}}`
366
- - **Approach:** {{iac_approach}}
367
- - id: deployment-strategy
368
- title: Deployment Strategy
369
- template: |
370
- - **Strategy:** {{deployment_strategy}}
371
- - **CI/CD Platform:** {{cicd_platform}}
372
- - **Pipeline Configuration:** `{{pipeline_config_location}}`
373
- - id: environments
374
- title: Environments
375
- repeatable: true
376
- template: "- **{{env_name}}:** {{env_purpose}} - {{env_details}}"
377
- - id: promotion-flow
378
- title: Environment Promotion Flow
379
- type: code
380
- language: text
381
- template: "{{promotion_flow_diagram}}"
382
- - id: rollback-strategy
383
- title: Rollback Strategy
384
- template: |
385
- - **Primary Method:** {{rollback_method}}
386
- - **Trigger Conditions:** {{rollback_triggers}}
387
- - **Recovery Time Objective:** {{rto}}
388
-
389
- - id: error-handling-strategy
390
- title: Error Handling Strategy
391
- instruction: |
392
- Define comprehensive error handling approach:
393
-
394
- 1. Choose appropriate patterns for the language/framework from Tech Stack
395
- 2. Define logging standards and tools
396
- 3. Establish error categories and handling rules
397
- 4. Consider observability and debugging needs
398
- 5. Ensure security (no sensitive data in logs)
399
-
400
- This section guides both AI and human developers in consistent error handling.
401
- elicit: true
402
- sections:
403
- - id: general-approach
404
- title: General Approach
405
- template: |
406
- - **Error Model:** {{error_model}}
407
- - **Exception Hierarchy:** {{exception_structure}}
408
- - **Error Propagation:** {{propagation_rules}}
409
- - id: logging-standards
410
- title: Logging Standards
411
- template: |
412
- - **Library:** {{logging_library}} {{version}}
413
- - **Format:** {{log_format}}
414
- - **Levels:** {{log_levels_definition}}
415
- - **Required Context:**
416
- - Correlation ID: {{correlation_id_format}}
417
- - Service Context: {{service_context}}
418
- - User Context: {{user_context_rules}}
419
- - id: error-patterns
420
- title: Error Handling Patterns
421
- sections:
422
- - id: external-api-errors
423
- title: External API Errors
424
- template: |
425
- - **Retry Policy:** {{retry_strategy}}
426
- - **Circuit Breaker:** {{circuit_breaker_config}}
427
- - **Timeout Configuration:** {{timeout_settings}}
428
- - **Error Translation:** {{error_mapping_rules}}
429
- - id: business-logic-errors
430
- title: Business Logic Errors
431
- template: |
432
- - **Custom Exceptions:** {{business_exception_types}}
433
- - **User-Facing Errors:** {{user_error_format}}
434
- - **Error Codes:** {{error_code_system}}
435
- - id: data-consistency
436
- title: Data Consistency
437
- template: |
438
- - **Transaction Strategy:** {{transaction_approach}}
439
- - **Compensation Logic:** {{compensation_patterns}}
440
- - **Idempotency:** {{idempotency_approach}}
441
-
442
- - id: coding-standards
443
- title: Coding Standards
444
- instruction: |
445
- These standards are MANDATORY for AI agents. Work with user to define ONLY the critical rules needed to prevent bad code. Explain that:
446
-
447
- 1. This section directly controls AI developer behavior
448
- 2. Keep it minimal - assume AI knows general best practices
449
- 3. Focus on project-specific conventions and gotchas
450
- 4. Overly detailed standards bloat context and slow development
451
- 5. Standards will be extracted to separate file for dev agent use
452
-
453
- For each standard, get explicit user confirmation it's necessary.
454
- elicit: true
455
- sections:
456
- - id: core-standards
457
- title: Core Standards
458
- template: |
459
- - **Languages & Runtimes:** {{languages_and_versions}}
460
- - **Style & Linting:** {{linter_config}}
461
- - **Test Organization:** {{test_file_convention}}
462
- - id: naming-conventions
463
- title: Naming Conventions
464
- type: table
465
- columns: [Element, Convention, Example]
466
- instruction: Only include if deviating from language defaults
467
- - id: critical-rules
468
- title: Critical Rules
469
- instruction: |
470
- List ONLY rules that AI might violate or project-specific requirements. Examples:
471
- - "Never use console.log in production code - use logger"
472
- - "All API responses must use ApiResponse wrapper type"
473
- - "Database queries must use repository pattern, never direct ORM"
474
-
475
- Avoid obvious rules like "use SOLID principles" or "write clean code"
476
- repeatable: true
477
- template: "- **{{rule_name}}:** {{rule_description}}"
478
- - id: language-specifics
479
- title: Language-Specific Guidelines
480
- condition: Critical language-specific rules needed
481
- instruction: Add ONLY if critical for preventing AI mistakes. Most teams don't need this section.
482
- sections:
483
- - id: language-rules
484
- title: "{{language_name}} Specifics"
485
- repeatable: true
486
- template: "- **{{rule_topic}}:** {{rule_detail}}"
487
-
488
- - id: test-strategy
489
- title: Test Strategy and Standards
490
- instruction: |
491
- Work with user to define comprehensive test strategy:
492
-
493
- 1. Use test frameworks from Tech Stack
494
- 2. Decide on TDD vs test-after approach
495
- 3. Define test organization and naming
496
- 4. Establish coverage goals
497
- 5. Determine integration test infrastructure
498
- 6. Plan for test data and external dependencies
499
-
500
- Note: Basic info goes in Coding Standards for dev agent. This detailed section is for QA agent and team reference.
501
- elicit: true
502
- sections:
503
- - id: testing-philosophy
504
- title: Testing Philosophy
505
- template: |
506
- - **Approach:** {{test_approach}}
507
- - **Coverage Goals:** {{coverage_targets}}
508
- - **Test Pyramid:** {{test_distribution}}
509
- - id: test-types
510
- title: Test Types and Organization
511
- sections:
512
- - id: unit-tests
513
- title: Unit Tests
514
- template: |
515
- - **Framework:** {{unit_test_framework}} {{version}}
516
- - **File Convention:** {{unit_test_naming}}
517
- - **Location:** {{unit_test_location}}
518
- - **Mocking Library:** {{mocking_library}}
519
- - **Coverage Requirement:** {{unit_coverage}}
520
-
521
- **AI Agent Requirements:**
522
- - Generate tests for all public methods
523
- - Cover edge cases and error conditions
524
- - Follow AAA pattern (Arrange, Act, Assert)
525
- - Mock all external dependencies
526
- - id: integration-tests
527
- title: Integration Tests
528
- template: |
529
- - **Scope:** {{integration_scope}}
530
- - **Location:** {{integration_test_location}}
531
- - **Test Infrastructure:**
532
- - **{{dependency_name}}:** {{test_approach}} ({{test_tool}})
533
- examples:
534
- - "**Database:** In-memory H2 for unit tests, Testcontainers PostgreSQL for integration"
535
- - "**Message Queue:** Embedded Kafka for tests"
536
- - "**External APIs:** WireMock for stubbing"
537
- - id: e2e-tests
538
- title: End-to-End Tests
539
- template: |
540
- - **Framework:** {{e2e_framework}} {{version}}
541
- - **Scope:** {{e2e_scope}}
542
- - **Environment:** {{e2e_environment}}
543
- - **Test Data:** {{e2e_data_strategy}}
544
- - id: test-data-management
545
- title: Test Data Management
546
- template: |
547
- - **Strategy:** {{test_data_approach}}
548
- - **Fixtures:** {{fixture_location}}
549
- - **Factories:** {{factory_pattern}}
550
- - **Cleanup:** {{cleanup_strategy}}
551
- - id: continuous-testing
552
- title: Continuous Testing
553
- template: |
554
- - **CI Integration:** {{ci_test_stages}}
555
- - **Performance Tests:** {{perf_test_approach}}
556
- - **Security Tests:** {{security_test_approach}}
557
-
558
- - id: security
559
- title: Security
560
- instruction: |
561
- Define MANDATORY security requirements for AI and human developers:
562
-
563
- 1. Focus on implementation-specific rules
564
- 2. Reference security tools from Tech Stack
565
- 3. Define clear patterns for common scenarios
566
- 4. These rules directly impact code generation
567
- 5. Work with user to ensure completeness without redundancy
568
- elicit: true
569
- sections:
570
- - id: input-validation
571
- title: Input Validation
572
- template: |
573
- - **Validation Library:** {{validation_library}}
574
- - **Validation Location:** {{where_to_validate}}
575
- - **Required Rules:**
576
- - All external inputs MUST be validated
577
- - Validation at API boundary before processing
578
- - Whitelist approach preferred over blacklist
579
- - id: auth-authorization
580
- title: Authentication & Authorization
581
- template: |
582
- - **Auth Method:** {{auth_implementation}}
583
- - **Session Management:** {{session_approach}}
584
- - **Required Patterns:**
585
- - {{auth_pattern_1}}
586
- - {{auth_pattern_2}}
587
- - id: secrets-management
588
- title: Secrets Management
589
- template: |
590
- - **Development:** {{dev_secrets_approach}}
591
- - **Production:** {{prod_secrets_service}}
592
- - **Code Requirements:**
593
- - NEVER hardcode secrets
594
- - Access via configuration service only
595
- - No secrets in logs or error messages
596
- - id: api-security
597
- title: API Security
598
- template: |
599
- - **Rate Limiting:** {{rate_limit_implementation}}
600
- - **CORS Policy:** {{cors_configuration}}
601
- - **Security Headers:** {{required_headers}}
602
- - **HTTPS Enforcement:** {{https_approach}}
603
- - id: data-protection
604
- title: Data Protection
605
- template: |
606
- - **Encryption at Rest:** {{encryption_at_rest}}
607
- - **Encryption in Transit:** {{encryption_in_transit}}
608
- - **PII Handling:** {{pii_rules}}
609
- - **Logging Restrictions:** {{what_not_to_log}}
610
- - id: dependency-security
611
- title: Dependency Security
612
- template: |
613
- - **Scanning Tool:** {{dependency_scanner}}
614
- - **Update Policy:** {{update_frequency}}
615
- - **Approval Process:** {{new_dep_process}}
616
- - id: security-testing
617
- title: Security Testing
618
- template: |
619
- - **SAST Tool:** {{static_analysis}}
620
- - **DAST Tool:** {{dynamic_analysis}}
621
- - **Penetration Testing:** {{pentest_schedule}}
622
-
623
- - id: checklist-results
624
- title: Checklist Results Report
625
- instruction: Before running the checklist, offer to output the full architecture document. Once user confirms, execute the architect-checklist and populate results here.
626
-
627
- - id: next-steps
628
- title: Next Steps
629
- instruction: |
630
- After completing the architecture:
631
-
632
- 1. If project has UI components:
633
- - Use "Frontend Architecture Mode"
634
- - Provide this document as input
635
-
636
- 2. For all projects:
637
- - Review with Product Owner
638
- - Begin story implementation with Dev agent
639
- - Set up infrastructure with DevOps agent
640
-
641
- 3. Include specific prompts for next agents if needed
642
- sections:
643
- - id: architect-prompt
644
- title: Architect Prompt
645
- condition: Project has UI components
646
- instruction: |
647
- Create a brief prompt to hand off to Architect for Frontend Architecture creation. Include:
648
- - Reference to this architecture document
649
- - Key UI requirements from PRD
650
- - Any frontend-specific decisions made here
651
- - Request for detailed frontend architecture