agentvibes 3.0.0 → 3.2.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 (350) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +9 -9
  2. package/.bmad/_cfg/agent-voice-map.csv +11 -11
  3. package/.bmad/_cfg/agents/bmm-quick-flow-solo-dev.customize.yaml +42 -0
  4. package/.bmad/_cfg/files-manifest.csv +286 -242
  5. package/.bmad/_cfg/ides/claude-code.yaml +1 -1
  6. package/.bmad/_cfg/manifest.yaml +5 -3
  7. package/.bmad/_cfg/task-manifest.csv +1 -0
  8. package/.bmad/_cfg/workflow-manifest.csv +37 -38
  9. package/.bmad/bmm/agents/analyst.md +40 -41
  10. package/.bmad/bmm/agents/{frame-expert.md → analyst.md.bak} +23 -16
  11. package/.bmad/bmm/agents/architect.md +34 -42
  12. package/.bmad/bmm/agents/dev.md +38 -34
  13. package/.bmad/bmm/agents/pm.md +34 -46
  14. package/.bmad/bmm/agents/quick-flow-solo-dev.md +64 -0
  15. package/.bmad/bmm/agents/sm.md +47 -53
  16. package/.bmad/bmm/agents/tea.md +41 -42
  17. package/.bmad/bmm/agents/tech-writer.md +37 -39
  18. package/.bmad/bmm/agents/ux-designer.md +42 -41
  19. package/.bmad/bmm/config.yaml +7 -5
  20. package/.bmad/bmm/data/README.md +29 -0
  21. package/.bmad/bmm/data/project-context-template.md +40 -0
  22. package/.bmad/bmm/docs/README.md +48 -10
  23. package/.bmad/bmm/docs/agents-guide.md +80 -53
  24. package/.bmad/bmm/docs/bmad-quick-flow.md +528 -0
  25. package/.bmad/bmm/docs/brownfield-guide.md +25 -39
  26. package/.bmad/bmm/docs/enterprise-agentic-development.md +3 -3
  27. package/.bmad/bmm/docs/faq.md +6 -39
  28. package/.bmad/bmm/docs/glossary.md +12 -25
  29. package/.bmad/bmm/docs/images/README.md +37 -0
  30. package/.bmad/bmm/docs/images/workflow-method-greenfield.excalidraw +5034 -0
  31. package/.bmad/bmm/docs/images/workflow-method-greenfield.svg +4 -0
  32. package/.bmad/bmm/docs/quick-flow-solo-dev.md +337 -0
  33. package/.bmad/bmm/docs/quick-spec-flow.md +5 -5
  34. package/.bmad/bmm/docs/quick-start.md +15 -25
  35. package/.bmad/bmm/docs/scale-adaptive-system.md +11 -5
  36. package/.bmad/bmm/docs/test-architecture.md +90 -24
  37. package/.bmad/bmm/docs/troubleshooting.md +680 -0
  38. package/.bmad/bmm/docs/workflow-document-project-reference.md +1 -1
  39. package/.bmad/bmm/docs/workflows-analysis.md +36 -140
  40. package/.bmad/bmm/docs/workflows-implementation.md +182 -157
  41. package/.bmad/bmm/docs/workflows-planning.md +51 -212
  42. package/.bmad/bmm/docs/workflows-solutioning.md +26 -71
  43. package/.bmad/bmm/tasks/daily-standup.xml +85 -0
  44. package/.bmad/bmm/teams/default-party.csv +15 -14
  45. package/.bmad/bmm/teams/team-fullstack.yaml +0 -1
  46. package/.bmad/bmm/testarch/knowledge/api-request.md +303 -0
  47. package/.bmad/bmm/testarch/knowledge/auth-session.md +356 -0
  48. package/.bmad/bmm/testarch/knowledge/burn-in.md +273 -0
  49. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  50. package/.bmad/bmm/testarch/knowledge/file-utils.md +260 -0
  51. package/.bmad/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  52. package/.bmad/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  53. package/.bmad/bmm/testarch/knowledge/log.md +294 -0
  54. package/.bmad/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  55. package/.bmad/bmm/testarch/knowledge/network-recorder.md +265 -0
  56. package/.bmad/bmm/testarch/knowledge/overview.md +284 -0
  57. package/.bmad/bmm/testarch/knowledge/recurse.md +296 -0
  58. package/.bmad/bmm/testarch/tea-index.csv +11 -0
  59. package/.bmad/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  60. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  61. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  62. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  63. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  64. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  65. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  66. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  67. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  68. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  69. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  70. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  71. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  72. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  73. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +442 -0
  74. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +181 -0
  75. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +236 -0
  76. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +199 -0
  77. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +248 -0
  78. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +258 -0
  79. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +176 -0
  80. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +474 -0
  81. package/.bmad/bmm/workflows/1-analysis/research/research.template.md +15 -0
  82. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  83. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +238 -0
  84. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +247 -0
  85. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +201 -0
  86. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +238 -0
  87. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +485 -0
  88. package/.bmad/bmm/workflows/1-analysis/research/workflow.md +204 -0
  89. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  90. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  91. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  92. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  93. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  94. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  95. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  96. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  97. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  98. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  99. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  100. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  101. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  102. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  103. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  104. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  105. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +59 -0
  106. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +12 -200
  107. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +243 -0
  108. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +165 -0
  109. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +420 -0
  110. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +289 -0
  111. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +290 -0
  112. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +270 -0
  113. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +261 -0
  114. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +257 -0
  115. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +298 -0
  116. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +269 -0
  117. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +293 -0
  118. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +223 -0
  119. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  120. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  121. package/.bmad/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  122. package/.bmad/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  123. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  124. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  125. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  126. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  127. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  128. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  129. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  130. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  131. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.md +49 -0
  133. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  134. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  135. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  136. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  137. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  138. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  139. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  143. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  144. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  145. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  146. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  147. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +2 -1
  148. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.xml +224 -0
  149. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  150. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  151. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.xml +354 -0
  152. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  153. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  154. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  156. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  157. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  158. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +11 -10
  159. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  160. package/.bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  161. package/.bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +34 -0
  162. package/.bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  163. package/.bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +25 -0
  164. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  165. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +202 -0
  166. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +32 -0
  167. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-dataflow/instructions.md +7 -8
  168. package/.bmad/bmm/workflows/diagrams/create-dataflow/workflow.yaml +26 -0
  169. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-diagram/instructions.md +9 -10
  170. package/.bmad/bmm/workflows/diagrams/create-diagram/workflow.yaml +26 -0
  171. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-flowchart/instructions.md +4 -5
  172. package/.bmad/bmm/workflows/diagrams/create-flowchart/workflow.yaml +26 -0
  173. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-wireframe/instructions.md +3 -3
  174. package/.bmad/bmm/workflows/diagrams/create-wireframe/workflow.yaml +26 -0
  175. package/.bmad/bmm/workflows/document-project/instructions.md +1 -1
  176. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  177. package/.bmad/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  178. package/.bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  179. package/.bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  180. package/.bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  181. package/.bmad/bmm/workflows/generate-project-context/workflow.md +48 -0
  182. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  183. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +23 -3
  184. package/.bmad/bmm/workflows/testarch/automate/instructions.md +23 -2
  185. package/.bmad/bmm/workflows/testarch/ci/checklist.md +1 -1
  186. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  187. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  188. package/.bmad/bmm/workflows/testarch/ci/instructions.md +20 -3
  189. package/.bmad/bmm/workflows/testarch/framework/instructions.md +27 -1
  190. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +8 -2
  191. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +29 -9
  192. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +66 -54
  193. package/.bmad/bmm/workflows/workflow-status/instructions.md +11 -4
  194. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +22 -38
  195. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +6 -22
  196. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +6 -22
  197. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +6 -23
  198. package/.bmad/core/agents/bmad-master.md +12 -17
  199. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  200. package/.bmad/core/config.yaml +11 -0
  201. package/.bmad/core/resources/excalidraw/README.md +160 -0
  202. package/.bmad/core/resources/excalidraw/library-loader.md +50 -0
  203. package/.bmad/core/tasks/advanced-elicitation-methods.csv +51 -21
  204. package/.bmad/core/tasks/advanced-elicitation.xml +18 -8
  205. package/.bmad/core/tasks/workflow.xml +36 -71
  206. package/.bmad/core/workflows/brainstorming/brain-methods.csv +62 -36
  207. package/.bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  208. package/.bmad/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  209. package/.bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  210. package/.bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  211. package/.bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  212. package/.bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  213. package/.bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  214. package/.bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  215. package/.bmad/core/workflows/brainstorming/template.md +13 -104
  216. package/.bmad/core/workflows/brainstorming/workflow.md +51 -0
  217. package/.bmad/core/workflows/party-mode/instructions.md.bak +205 -0
  218. package/.bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +140 -0
  219. package/.bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +205 -0
  220. package/.bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +158 -0
  221. package/.bmad/core/workflows/party-mode/workflow.md +225 -0
  222. package/.claude/commands/bmad/bmm/agents/{frame-expert.md → quick-flow-solo-dev.md} +3 -3
  223. package/.claude/commands/bmad/bmm/workflows/check-implementation-readiness.md +5 -0
  224. package/.claude/commands/bmad/bmm/workflows/code-review.md +1 -1
  225. package/.claude/commands/bmad/bmm/workflows/create-architecture.md +5 -0
  226. package/.claude/commands/bmad/bmm/workflows/create-epics-stories.md +5 -0
  227. package/.claude/commands/bmad/bmm/workflows/{create-dataflow.md → create-excalidraw-dataflow.md} +2 -2
  228. package/.claude/commands/bmad/bmm/workflows/{create-diagram.md → create-excalidraw-diagram.md} +2 -2
  229. package/.claude/commands/bmad/bmm/workflows/{create-flowchart.md → create-excalidraw-flowchart.md} +2 -2
  230. package/.claude/commands/bmad/bmm/workflows/{create-wireframe.md → create-excalidraw-wireframe.md} +2 -2
  231. package/.claude/commands/bmad/bmm/workflows/create-prd.md +5 -0
  232. package/.claude/commands/bmad/bmm/workflows/create-product-brief.md +5 -0
  233. package/.claude/commands/bmad/bmm/workflows/create-story.md +1 -1
  234. package/.claude/commands/bmad/bmm/workflows/create-tech-spec.md +13 -0
  235. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +2 -10
  236. package/.claude/commands/bmad/bmm/workflows/generate-project-context.md +5 -0
  237. package/.claude/commands/bmad/bmm/workflows/{domain-research.md → quick-dev.md} +3 -3
  238. package/.claude/commands/bmad/bmm/workflows/research.md +2 -10
  239. package/.claude/commands/bmad/bmm/workflows/{story-context.md → sprint-status.md} +3 -3
  240. package/.claude/commands/bmad/bmm/workflows/testarch-atdd.md +13 -0
  241. package/.claude/commands/bmad/bmm/workflows/testarch-automate.md +13 -0
  242. package/.claude/commands/bmad/bmm/workflows/testarch-ci.md +13 -0
  243. package/.claude/commands/bmad/bmm/workflows/testarch-framework.md +13 -0
  244. package/.claude/commands/bmad/bmm/workflows/testarch-nfr.md +13 -0
  245. package/.claude/commands/bmad/bmm/workflows/{prd.md → testarch-test-design.md} +3 -3
  246. package/.claude/commands/bmad/bmm/workflows/testarch-test-review.md +13 -0
  247. package/.claude/commands/bmad/bmm/workflows/testarch-trace.md +13 -0
  248. package/.claude/commands/bmad/core/workflows/brainstorming-session.md +5 -0
  249. package/.claude/config/tts-speech-rate.txt +1 -0
  250. package/.claude/github-star-reminder.txt +1 -1
  251. package/.claude/hooks/audio-processor.sh +12 -3
  252. package/.claude/hooks/piper-installer.sh +17 -0
  253. package/.claude/hooks/play-tts-piper.sh +4 -0
  254. package/.claude/hooks/termux-installer.sh +224 -0
  255. package/.clawdbot/README.md +105 -0
  256. package/.clawdbot/skill/SKILL.md +432 -0
  257. package/README.md +167 -11
  258. package/RELEASE_NOTES.md +255 -249
  259. package/package.json +4 -2
  260. package/src/installer.js +75 -21
  261. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  262. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  263. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  264. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  265. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  266. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  267. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  268. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  269. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  270. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  271. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  272. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  273. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  274. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  275. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  276. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  277. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  278. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  279. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  280. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  281. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  282. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  283. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  284. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  285. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  286. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  287. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  288. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  289. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  290. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  291. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  292. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  293. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  294. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  295. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  296. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  297. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  298. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  299. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  300. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  301. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  302. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  303. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  304. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  305. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  306. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  307. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  308. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  309. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  310. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  311. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  312. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  313. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  314. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  315. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  316. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  317. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  318. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  319. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  320. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  321. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  322. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  323. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  324. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  325. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  326. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  327. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  328. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  329. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  330. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  331. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  332. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  333. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  336. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  337. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  338. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  339. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  340. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  341. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  342. /package/.bmad/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
  343. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-library.json +0 -0
  344. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-templates.yaml +0 -0
  345. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-dataflow/checklist.md +0 -0
  346. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-diagram/checklist.md +0 -0
  347. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-flowchart/checklist.md +0 -0
  348. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-wireframe/checklist.md +0 -0
  349. /package/.bmad/{bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/excalidraw-helpers.md +0 -0
  350. /package/.bmad/{bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/validate-json-instructions.md +0 -0
@@ -8,7 +8,7 @@
8
8
  <workflow>
9
9
 
10
10
  <step n="0" goal="Contextual Analysis">
11
- <action>Review user's request and extract: diagram type, components/entities, relationships, notation preferences, save location</action>
11
+ <action>Review user's request and extract: diagram type, components/entities, relationships, notation preferences</action>
12
12
  <check if="ALL requirements clear"><action>Skip to Step 5</action></check>
13
13
  <check if="SOME requirements clear"><action>Only ask about missing info in Steps 1-2</action></check>
14
14
  </step>
@@ -24,15 +24,14 @@
24
24
  6. Network Diagram
25
25
  7. Other
26
26
  </action>
27
- <action>WAIT for selection, store in {{diagram_type}}</action>
27
+ <action>WAIT for selection</action>
28
28
  </step>
29
29
 
30
30
  <step n="2" goal="Gather Requirements" elicit="true">
31
- <action>Ask component count (Small/Medium/Large/Very Large)</action>
32
- <action>Ask relationship types (Simple/Hierarchical/Many-to-many/Mixed)</action>
33
- <action>Ask notation standard (Standard/Simplified/Strict UML-ERD/Company specific)</action>
34
- <action>Ask save location (Default/Custom/Architecture folder/Specific folder)</action>
35
- <action>Store all responses in variables</action>
31
+ <action>Ask: "Describe the components/entities and their relationships"</action>
32
+ <action>Ask: "What notation standard? (Standard/Simplified/Strict UML-ERD)"</action>
33
+ <action>WAIT for user input</action>
34
+ <action>Summarize what will be included and confirm with user</action>
36
35
  </step>
37
36
 
38
37
  <step n="3" goal="Check for Existing Theme" elicit="true">
@@ -117,12 +116,12 @@
117
116
 
118
117
  <step n="8" goal="Optimize and Save">
119
118
  <action>Strip unused elements and elements with isDeleted: true</action>
120
- <action>Save to {{save_location}}</action>
119
+ <action>Save to {{default_output_file}}</action>
121
120
  </step>
122
121
 
123
122
  <step n="9" goal="Validate JSON Syntax">
124
123
  <critical>NEVER delete the file if validation fails - always fix syntax errors</critical>
125
- <action>Run: node -e "JSON.parse(require('fs').readFileSync('{{save_location}}', 'utf8')); console.log('✓ Valid JSON')"</action>
124
+ <action>Run: node -e "JSON.parse(require('fs').readFileSync('{{default_output_file}}', 'utf8')); console.log('✓ Valid JSON')"</action>
126
125
  <check if="validation fails (exit code 1)">
127
126
  <action>Read the error message carefully - it shows the syntax error and position</action>
128
127
  <action>Open the file and navigate to the error location</action>
@@ -131,7 +130,7 @@
131
130
  <action>Re-run validation with the same command</action>
132
131
  <action>Repeat until validation passes</action>
133
132
  </check>
134
- <action>Once validation passes, confirm: "Diagram created at {{save_location}}. Open to view?"</action>
133
+ <action>Once validation passes, confirm: "Diagram created at {{default_output_file}}. Open to view?"</action>
135
134
  </step>
136
135
 
137
136
  <step n="10" goal="Validate Content">
@@ -0,0 +1,26 @@
1
+ name: create-excalidraw-diagram
2
+ description: "Create system architecture diagrams, ERDs, UML diagrams, or general technical diagrams in Excalidraw format"
3
+ author: "BMad"
4
+
5
+ # Config values
6
+ config_source: "{project-root}/.bmad/bmm/config.yaml"
7
+ output_folder: "{config_source}:output_folder"
8
+
9
+ # Workflow components
10
+ installed_path: "{project-root}/.bmad/bmm/workflows/diagrams/create-diagram"
11
+ shared_path: "{project-root}/.bmad/bmm/workflows/diagrams/_shared"
12
+ instructions: "{installed_path}/instructions.md"
13
+ validation: "{installed_path}/checklist.md"
14
+
15
+ # Core Excalidraw resources (universal knowledge)
16
+ helpers: "{project-root}/.bmad/core/resources/excalidraw/excalidraw-helpers.md"
17
+ json_validation: "{project-root}/.bmad/core/resources/excalidraw/validate-json-instructions.md"
18
+
19
+ # Domain-specific resources (technical diagrams)
20
+ templates: "{shared_path}/excalidraw-templates.yaml"
21
+ library: "{shared_path}/excalidraw-library.json"
22
+
23
+ # Output file (respects user's configured output_folder)
24
+ default_output_file: "{output_folder}/diagrams/diagram-{timestamp}.excalidraw"
25
+
26
+ standalone: true
@@ -38,7 +38,6 @@
38
38
  5. Other - Describe your specific flowchart needs
39
39
  </action>
40
40
  <action>WAIT for user selection (1-5)</action>
41
- <action>Store selection in {{flowchart_type}}</action>
42
41
 
43
42
  <action>Ask Question 2: "How many main steps are in this flow?"</action>
44
43
  <action>Present numbered options:
@@ -72,7 +71,7 @@
72
71
  <action>Ask for specific path</action>
73
72
  <action>WAIT for user input</action>
74
73
  </check>
75
- <action>Store final path in {{save_location}}</action>
74
+ <action>Store final path in {{default_output_file}}</action>
76
75
  </step>
77
76
 
78
77
  <step n="2" goal="Check for Existing Theme" elicit="true">
@@ -217,12 +216,12 @@
217
216
 
218
217
  <step n="7" goal="Optimize and Save">
219
218
  <action>Strip unused elements and elements with isDeleted: true</action>
220
- <action>Save to {{save_location}}</action>
219
+ <action>Save to {{default_output_file}}</action>
221
220
  </step>
222
221
 
223
222
  <step n="8" goal="Validate JSON Syntax">
224
223
  <critical>NEVER delete the file if validation fails - always fix syntax errors</critical>
225
- <action>Run: node -e "JSON.parse(require('fs').readFileSync('{{save_location}}', 'utf8')); console.log('✓ Valid JSON')"</action>
224
+ <action>Run: node -e "JSON.parse(require('fs').readFileSync('{{default_output_file}}', 'utf8')); console.log('✓ Valid JSON')"</action>
226
225
  <check if="validation fails (exit code 1)">
227
226
  <action>Read the error message carefully - it shows the syntax error and position</action>
228
227
  <action>Open the file and navigate to the error location</action>
@@ -231,7 +230,7 @@
231
230
  <action>Re-run validation with the same command</action>
232
231
  <action>Repeat until validation passes</action>
233
232
  </check>
234
- <action>Once validation passes, confirm with user: "Flowchart created at {{save_location}}. Open to view?"</action>
233
+ <action>Once validation passes, confirm with user: "Flowchart created at {{default_output_file}}. Open to view?"</action>
235
234
  </step>
236
235
 
237
236
  <step n="9" goal="Validate Content">
@@ -0,0 +1,26 @@
1
+ name: create-excalidraw-flowchart
2
+ description: "Create a flowchart visualization in Excalidraw format for processes, pipelines, or logic flows"
3
+ author: "BMad"
4
+
5
+ # Config values
6
+ config_source: "{project-root}/.bmad/bmm/config.yaml"
7
+ output_folder: "{config_source}:output_folder"
8
+
9
+ # Workflow components
10
+ installed_path: "{project-root}/.bmad/bmm/workflows/diagrams/create-flowchart"
11
+ shared_path: "{project-root}/.bmad/bmm/workflows/diagrams/_shared"
12
+ instructions: "{installed_path}/instructions.md"
13
+ validation: "{installed_path}/checklist.md"
14
+
15
+ # Core Excalidraw resources (universal knowledge)
16
+ helpers: "{project-root}/.bmad/core/resources/excalidraw/excalidraw-helpers.md"
17
+ json_validation: "{project-root}/.bmad/core/resources/excalidraw/validate-json-instructions.md"
18
+
19
+ # Domain-specific resources (technical diagrams)
20
+ templates: "{shared_path}/excalidraw-templates.yaml"
21
+ library: "{shared_path}/excalidraw-library.json"
22
+
23
+ # Output file (respects user's configured output_folder)
24
+ default_output_file: "{output_folder}/diagrams/flowchart-{timestamp}.excalidraw"
25
+
26
+ standalone: true
@@ -21,7 +21,7 @@
21
21
  4. Tablet App
22
22
  5. Multi-platform
23
23
  </action>
24
- <action>WAIT for selection, store in {{wireframe_type}}</action>
24
+ <action>WAIT for selection</action>
25
25
  </step>
26
26
 
27
27
  <step n="2" goal="Gather Requirements" elicit="true">
@@ -108,12 +108,12 @@
108
108
 
109
109
  <step n="8" goal="Optimize and Save">
110
110
  <action>Strip unused elements and elements with isDeleted: true</action>
111
- <action>Save to {{save_location}}</action>
111
+ <action>Save to {{default_output_file}}</action>
112
112
  </step>
113
113
 
114
114
  <step n="9" goal="Validate JSON Syntax">
115
115
  <critical>NEVER delete the file if validation fails - always fix syntax errors</critical>
116
- <action>Run: node -e "JSON.parse(require('fs').readFileSync('{{save_location}}', 'utf8')); console.log('✓ Valid JSON')"</action>
116
+ <action>Run: node -e "JSON.parse(require('fs').readFileSync('{{default_output_file}}', 'utf8')); console.log('✓ Valid JSON')"</action>
117
117
  <check if="validation fails (exit code 1)">
118
118
  <action>Read the error message carefully - it shows the syntax error and position</action>
119
119
  <action>Open the file and navigate to the error location</action>
@@ -0,0 +1,26 @@
1
+ name: create-excalidraw-wireframe
2
+ description: "Create website or app wireframes in Excalidraw format"
3
+ author: "BMad"
4
+
5
+ # Config values
6
+ config_source: "{project-root}/.bmad/bmm/config.yaml"
7
+ output_folder: "{config_source}:output_folder"
8
+
9
+ # Workflow components
10
+ installed_path: "{project-root}/.bmad/bmm/workflows/diagrams/create-wireframe"
11
+ shared_path: "{project-root}/.bmad/bmm/workflows/diagrams/_shared"
12
+ instructions: "{installed_path}/instructions.md"
13
+ validation: "{installed_path}/checklist.md"
14
+
15
+ # Core Excalidraw resources (universal knowledge)
16
+ helpers: "{project-root}/.bmad/core/resources/excalidraw/excalidraw-helpers.md"
17
+ json_validation: "{project-root}/.bmad/core/resources/excalidraw/validate-json-instructions.md"
18
+
19
+ # Domain-specific resources (technical diagrams)
20
+ templates: "{shared_path}/excalidraw-templates.yaml"
21
+ library: "{shared_path}/excalidraw-library.json"
22
+
23
+ # Output file (respects user's configured output_folder)
24
+ default_output_file: "{output_folder}/diagrams/wireframe-{timestamp}.excalidraw"
25
+
26
+ standalone: true
@@ -196,7 +196,7 @@ Your choice [1/2/3]:
196
196
 
197
197
  - Mode: {{workflow_mode}}
198
198
  - Scan Level: {{scan_level}}
199
- - Output: {output_folder}/bmm-index.md and related files
199
+ - Output: {output_folder}/index.md and related files
200
200
 
201
201
  {{#if status_file_found}}
202
202
  **Status Updated:**
@@ -20,7 +20,7 @@
20
20
 
21
21
  {{#if has_api_routes}}
22
22
 
23
- ### API Routes ({{api_route_count}} endpoints found)
23
+ ## API Routes ({{api_route_count}} endpoints found)
24
24
 
25
25
  {{#each api_route_groups}}
26
26
  {{group_index}}. {{group_name}} - {{endpoint_count}} endpoints in `{{path}}`
@@ -29,7 +29,7 @@
29
29
 
30
30
  {{#if has_feature_modules}}
31
31
 
32
- ### Feature Modules ({{feature_count}} features)
32
+ ## Feature Modules ({{feature_count}} features)
33
33
 
34
34
  {{#each feature_modules}}
35
35
  {{module_index}}. {{module_name}} - {{file_count}} files in `{{path}}`
@@ -0,0 +1,20 @@
1
+ ---
2
+ project_name: '{{project_name}}'
3
+ user_name: '{{user_name}}'
4
+ date: '{{date}}'
5
+ sections_completed: []
6
+ ---
7
+
8
+ # Project Context for AI Agents
9
+
10
+ _This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
11
+
12
+ ---
13
+
14
+ ## Technology Stack & Versions
15
+
16
+ _Documented after discovery phase_
17
+
18
+ ## Critical Implementation Rules
19
+
20
+ _Documented after discovery phase_
@@ -0,0 +1,193 @@
1
+ # Step 1: Context Discovery & Initialization
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+ - ✅ ALWAYS treat this as collaborative discovery between technical peers
7
+ - 📋 YOU ARE A FACILITATOR, not a content generator
8
+ - 💬 FOCUS on discovering existing project context and technology stack
9
+ - 🎯 IDENTIFY critical implementation rules that AI agents need
10
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
11
+
12
+ ## EXECUTION PROTOCOLS:
13
+
14
+ - 🎯 Show your analysis before taking any action
15
+ - 📖 Read existing project files to understand current context
16
+ - 💾 Initialize document and update frontmatter
17
+ - 🚫 FORBIDDEN to load next step until discovery is complete
18
+
19
+ ## CONTEXT BOUNDARIES:
20
+
21
+ - Variables from workflow.md are available in memory
22
+ - Focus on existing project files and architecture decisions
23
+ - Look for patterns, conventions, and unique requirements
24
+ - Prioritize rules that prevent implementation mistakes
25
+
26
+ ## YOUR TASK:
27
+
28
+ Discover the project's technology stack, existing patterns, and critical implementation rules that AI agents must follow when writing code.
29
+
30
+ ## DISCOVERY SEQUENCE:
31
+
32
+ ### 1. Check for Existing Project Context
33
+
34
+ First, check if project context already exists:
35
+
36
+ - Look for file at `{output_folder}/project_context.md`
37
+ - If exists: Read complete file to understand existing rules
38
+ - Present to user: "Found existing project context with {number_of_sections} sections. Would you like to update this or create a new one?"
39
+
40
+ ### 2. Discover Project Technology Stack
41
+
42
+ Load and analyze project files to identify technologies:
43
+
44
+ **Architecture Document:**
45
+
46
+ - Look for `{output_folder}/architecture.md`
47
+ - Extract technology choices with specific versions
48
+ - Note architectural decisions that affect implementation
49
+
50
+ **Package Files:**
51
+
52
+ - Check for `package.json`, `requirements.txt`, `Cargo.toml`, etc.
53
+ - Extract exact versions of all dependencies
54
+ - Note development vs production dependencies
55
+
56
+ **Configuration Files:**
57
+
58
+ - Look for TypeScript config (`tsconfig.json`)
59
+ - Build tool configs (webpack, vite, next.config.js, etc.)
60
+ - Linting and formatting configs (.eslintrc, .prettierrc, etc.)
61
+ - Testing configurations (jest.config.js, vitest.config.ts, etc.)
62
+
63
+ ### 3. Identify Existing Code Patterns
64
+
65
+ Search through existing codebase for patterns:
66
+
67
+ **Naming Conventions:**
68
+
69
+ - File naming patterns (PascalCase, kebab-case, etc.)
70
+ - Component/function naming conventions
71
+ - Variable naming patterns
72
+ - Test file naming patterns
73
+
74
+ **Code Organization:**
75
+
76
+ - How components are structured
77
+ - Where utilities and helpers are placed
78
+ - How services are organized
79
+ - Test organization patterns
80
+
81
+ **Documentation Patterns:**
82
+
83
+ - Comment styles and conventions
84
+ - Documentation requirements
85
+ - README and API doc patterns
86
+
87
+ ### 4. Extract Critical Implementation Rules
88
+
89
+ Look for rules that AI agents might miss:
90
+
91
+ **Language-Specific Rules:**
92
+
93
+ - TypeScript strict mode requirements
94
+ - Import/export conventions
95
+ - Async/await vs Promise usage patterns
96
+ - Error handling patterns specific to the language
97
+
98
+ **Framework-Specific Rules:**
99
+
100
+ - React hooks usage patterns
101
+ - API route conventions
102
+ - Middleware usage patterns
103
+ - State management patterns
104
+
105
+ **Testing Rules:**
106
+
107
+ - Test structure requirements
108
+ - Mock usage conventions
109
+ - Integration vs unit test boundaries
110
+ - Coverage requirements
111
+
112
+ **Development Workflow Rules:**
113
+
114
+ - Branch naming conventions
115
+ - Commit message patterns
116
+ - PR review requirements
117
+ - Deployment procedures
118
+
119
+ ### 5. Initialize Project Context Document
120
+
121
+ Based on discovery, create or update the context document:
122
+
123
+ #### A. Fresh Document Setup (if no existing context)
124
+
125
+ Copy template from `{installed_path}/project-context-template.md` to `{output_folder}/project_context.md`
126
+ Initialize frontmatter with:
127
+
128
+ ```yaml
129
+ ---
130
+ project_name: '{{project_name}}'
131
+ user_name: '{{user_name}}'
132
+ date: '{{date}}'
133
+ sections_completed: ['technology_stack']
134
+ existing_patterns_found: { { number_of_patterns_discovered } }
135
+ ---
136
+ ```
137
+
138
+ #### B. Existing Document Update
139
+
140
+ Load existing context and prepare for updates
141
+ Set frontmatter `sections_completed` to track what will be updated
142
+
143
+ ### 6. Present Discovery Summary
144
+
145
+ Report findings to user:
146
+
147
+ "Welcome {{user_name}}! I've analyzed your project for {{project_name}} to discover the context that AI agents need.
148
+
149
+ **Technology Stack Discovered:**
150
+ {{list_of_technologies_with_versions}}
151
+
152
+ **Existing Patterns Found:**
153
+
154
+ - {{number_of_patterns}} implementation patterns
155
+ - {{number_of_conventions}} coding conventions
156
+ - {{number_of_rules}} critical rules
157
+
158
+ **Key Areas for Context Rules:**
159
+
160
+ - {{area_1}} (e.g., TypeScript configuration)
161
+ - {{area_2}} (e.g., Testing patterns)
162
+ - {{area_3}} (e.g., Code organization)
163
+
164
+ {if_existing_context}
165
+ **Existing Context:** Found {{sections}} sections already defined. We can update or add to these.
166
+ {/if_existing_context}
167
+
168
+ Ready to create/update your project context. This will help AI agents implement code consistently with your project's standards.
169
+
170
+ [C] Continue to context generation"
171
+
172
+ ## SUCCESS METRICS:
173
+
174
+ ✅ Existing project context properly detected and handled
175
+ ✅ Technology stack accurately identified with versions
176
+ ✅ Critical implementation patterns discovered
177
+ ✅ Project context document properly initialized
178
+ ✅ Discovery findings clearly presented to user
179
+ ✅ User ready to proceed with context generation
180
+
181
+ ## FAILURE MODES:
182
+
183
+ ❌ Not checking for existing project context before creating new one
184
+ ❌ Missing critical technology versions or configurations
185
+ ❌ Overlooking important coding patterns or conventions
186
+ ❌ Not initializing frontmatter properly
187
+ ❌ Not presenting clear discovery summary to user
188
+
189
+ ## NEXT STEP:
190
+
191
+ After user selects [C] to continue, load `./step-02-generate.md` to collaboratively generate the specific project context rules.
192
+
193
+ Remember: Do NOT proceed to step-02 until user explicitly selects [C] from the menu and discovery is confirmed!