bmad-method 6.0.0-alpha.11 → 6.0.0-alpha.13

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 (491) hide show
  1. package/.github/workflows/bundle-latest.yaml +79 -27
  2. package/CHANGELOG.md +167 -1
  3. package/README.md +3 -1
  4. package/custom/src/agents/commit-poet/commit-poet.agent.yaml +129 -0
  5. package/custom/src/agents/commit-poet/installation-guide.md +36 -0
  6. package/custom/src/agents/toolsmith/installation-guide.md +36 -0
  7. package/custom/src/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
  8. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
  9. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
  10. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
  11. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
  12. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
  13. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
  14. package/custom/src/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
  15. package/custom/src/agents/toolsmith/toolsmith.agent.yaml +108 -0
  16. package/docs/custom-agent-installation.md +31 -17
  17. package/docs/ide-info/rovo-dev.md +388 -0
  18. package/docs/index.md +6 -81
  19. package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
  20. package/package.json +3 -2
  21. package/src/core/agents/bmad-master.agent.yaml +1 -1
  22. package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  23. package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
  24. package/src/core/tasks/advanced-elicitation.xml +18 -8
  25. package/src/core/tasks/workflow.xml +36 -71
  26. package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
  27. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  28. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  29. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  30. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  31. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  32. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  33. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  34. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  35. package/src/core/workflows/brainstorming/template.md +13 -104
  36. package/src/core/workflows/brainstorming/workflow.md +51 -0
  37. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  38. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
  39. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  40. package/src/core/workflows/party-mode/workflow.md +207 -0
  41. package/src/modules/bmb/README.md +153 -86
  42. package/src/modules/bmb/_module-installer/install-config.yaml +3 -3
  43. package/src/modules/bmb/agents/bmad-builder.agent.yaml +45 -31
  44. package/src/modules/bmb/docs/{agent-menu-patterns.md → agents/agent-menu-patterns.md} +1 -1
  45. package/src/modules/bmb/docs/agents/kb.csv +0 -0
  46. package/src/modules/bmb/docs/{module-agent-architecture.md → agents/module-agent-architecture.md} +1 -1
  47. package/src/modules/bmb/docs/{simple-agent-architecture.md → agents/simple-agent-architecture.md} +1 -1
  48. package/src/modules/bmb/docs/workflows/architecture.md +220 -0
  49. package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
  50. package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
  51. package/src/modules/bmb/docs/workflows/index.md +45 -0
  52. package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
  53. package/src/modules/bmb/docs/workflows/kb.csv +0 -0
  54. package/src/modules/bmb/docs/workflows/step-template.md +283 -0
  55. package/src/modules/bmb/docs/workflows/terms.md +97 -0
  56. package/src/modules/bmb/docs/workflows/workflow-template.md +152 -0
  57. package/src/modules/bmb/reference/agents/module-examples/README.md +1 -1
  58. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +2 -2
  59. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +1 -1
  60. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  61. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  62. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  63. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  64. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  65. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  66. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  67. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  68. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  69. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  70. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  71. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  72. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  73. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  74. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  75. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  76. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  77. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +17 -0
  78. package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
  79. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  80. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  81. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  82. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  83. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  84. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
  85. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
  86. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
  87. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
  88. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
  89. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  90. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  91. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  92. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  93. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  94. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  95. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  96. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  97. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  98. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  99. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  100. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  101. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  102. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  103. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  104. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  105. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  106. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  107. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
  108. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
  109. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
  110. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
  111. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
  112. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
  113. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
  114. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
  115. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
  116. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
  117. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
  118. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
  119. package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
  120. package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
  121. package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
  122. package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
  123. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +168 -0
  124. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +233 -0
  125. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +127 -0
  126. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +145 -0
  127. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +136 -0
  128. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +154 -0
  129. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +159 -0
  130. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +167 -0
  131. package/src/modules/bmb/workflows/create-workflow/steps/step-09-design.md +239 -0
  132. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +215 -0
  133. package/src/modules/bmb/workflows/create-workflow/steps/step-11-build.md +262 -0
  134. package/src/modules/bmb/workflows/create-workflow/steps/step-12-review.md +270 -0
  135. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +36 -0
  136. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +39 -0
  137. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +21 -0
  138. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +53 -0
  139. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +18 -0
  140. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +47 -0
  141. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +56 -0
  142. package/src/modules/bmb/workflows/create-workflow/templates/step-file.md +139 -0
  143. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +54 -0
  144. package/src/modules/bmb/workflows/create-workflow/templates/workflow.md +58 -0
  145. package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
  146. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
  147. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
  148. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
  149. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
  150. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
  151. package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
  152. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +221 -0
  153. package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
  154. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
  155. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
  156. package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
  157. package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
  158. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
  159. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
  160. package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
  161. package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
  162. package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
  163. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
  164. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
  165. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
  166. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
  167. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
  168. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
  169. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
  170. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
  171. package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
  172. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
  173. package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
  174. package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
  175. package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
  176. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
  177. package/src/modules/bmm/_module-installer/install-config.yaml +9 -15
  178. package/src/modules/bmm/agents/analyst.agent.yaml +14 -14
  179. package/src/modules/bmm/agents/architect.agent.yaml +12 -10
  180. package/src/modules/bmm/agents/dev.agent.yaml +20 -16
  181. package/src/modules/bmm/agents/pm.agent.yaml +13 -31
  182. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
  183. package/src/modules/bmm/agents/sm.agent.yaml +13 -31
  184. package/src/modules/bmm/agents/tea.agent.yaml +10 -7
  185. package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
  186. package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
  187. package/src/modules/bmm/data/README.md +29 -0
  188. package/src/modules/bmm/data/project-context-template.md +40 -0
  189. package/src/modules/bmm/docs/README.md +21 -9
  190. package/src/modules/bmm/docs/agents-guide.md +69 -23
  191. package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
  192. package/src/modules/bmm/docs/brownfield-guide.md +9 -10
  193. package/src/modules/bmm/docs/enterprise-agentic-development.md +1 -1
  194. package/src/modules/bmm/docs/glossary.md +5 -5
  195. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +909 -1654
  196. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -2
  197. package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
  198. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  199. package/src/modules/bmm/docs/test-architecture.md +84 -18
  200. package/src/modules/bmm/docs/workflows-analysis.md +36 -140
  201. package/src/modules/bmm/docs/workflows-implementation.md +32 -157
  202. package/src/modules/bmm/docs/workflows-planning.md +51 -212
  203. package/src/modules/bmm/docs/workflows-solutioning.md +24 -69
  204. package/src/modules/bmm/teams/default-party.csv +15 -14
  205. package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
  206. package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
  207. package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
  208. package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
  209. package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
  210. package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  211. package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  212. package/src/modules/bmm/testarch/knowledge/log.md +294 -0
  213. package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  214. package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
  215. package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
  216. package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
  217. package/src/modules/bmm/testarch/tea-index.csv +11 -0
  218. package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  219. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  220. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  221. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  222. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  223. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  224. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  225. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  226. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  227. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  228. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  229. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  230. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  231. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  232. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  233. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  234. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +235 -0
  235. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +198 -0
  236. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +247 -0
  237. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +257 -0
  238. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +175 -0
  239. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  240. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +16 -0
  241. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  242. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +237 -0
  243. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +246 -0
  244. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +200 -0
  245. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +237 -0
  246. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  247. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +198 -0
  248. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  249. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  250. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  251. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  252. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  253. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  254. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  255. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  256. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  257. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  258. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  259. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  260. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  261. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  262. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  263. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  264. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +53 -0
  265. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +5 -200
  266. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +161 -0
  267. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +123 -0
  268. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +275 -0
  269. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +271 -0
  270. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +272 -0
  271. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +249 -0
  272. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +240 -0
  273. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +236 -0
  274. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +280 -0
  275. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +251 -0
  276. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +275 -0
  277. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +210 -0
  278. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  279. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  280. package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  281. package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  282. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  283. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  284. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  285. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  286. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  287. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  288. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  289. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  290. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  291. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +48 -0
  292. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +247 -476
  293. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +8 -18
  294. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +176 -0
  295. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  296. package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  297. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +324 -0
  298. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  299. package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  300. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  301. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  302. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -3
  303. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  304. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  305. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
  306. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  307. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +105 -0
  308. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +29 -0
  309. package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  310. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  311. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  312. package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  313. package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
  314. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
  315. package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
  316. package/src/modules/bmm/workflows/testarch/ci/instructions.md +18 -1
  317. package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
  318. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
  319. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +28 -8
  320. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
  321. package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
  322. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +3 -2
  323. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +3 -2
  324. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +3 -2
  325. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +3 -2
  326. package/src/modules/cis/agents/README.md +1 -1
  327. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
  328. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
  329. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
  330. package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
  331. package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
  332. package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
  333. package/src/modules/cis/teams/default-party.csv +6 -5
  334. package/src/utility/models/agent-activation-ide.xml +4 -4
  335. package/src/utility/models/agent-activation-web.xml +1 -11
  336. package/src/utility/models/fragments/activation-rules.xml +5 -6
  337. package/src/utility/models/fragments/handler-exec.xml +6 -5
  338. package/src/utility/models/fragments/handler-multi.xml +14 -0
  339. package/test/README.md +1 -1
  340. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
  341. package/tools/cli/README.md +1 -0
  342. package/tools/cli/bundlers/web-bundler.js +3 -14
  343. package/tools/cli/commands/agent-install.js +8 -8
  344. package/tools/cli/commands/cleanup.js +141 -0
  345. package/tools/cli/commands/install.js +48 -3
  346. package/tools/cli/installers/lib/core/config-collector.js +24 -0
  347. package/tools/cli/installers/lib/core/installer.js +612 -43
  348. package/tools/cli/installers/lib/ide/antigravity.js +51 -7
  349. package/tools/cli/installers/lib/ide/auggie.js +53 -0
  350. package/tools/cli/installers/lib/ide/claude-code.js +1 -6
  351. package/tools/cli/installers/lib/ide/cline.js +49 -0
  352. package/tools/cli/installers/lib/ide/codex.js +2 -2
  353. package/tools/cli/installers/lib/ide/crush.js +47 -0
  354. package/tools/cli/installers/lib/ide/gemini.js +47 -0
  355. package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
  356. package/tools/cli/installers/lib/ide/iflow.js +47 -0
  357. package/tools/cli/installers/lib/ide/kilo.js +74 -0
  358. package/tools/cli/installers/lib/ide/qwen.js +54 -0
  359. package/tools/cli/installers/lib/ide/roo.js +71 -0
  360. package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
  361. package/tools/cli/installers/lib/ide/trae.js +47 -0
  362. package/tools/cli/lib/agent/compiler.js +156 -22
  363. package/tools/cli/lib/agent/installer.js +13 -3
  364. package/tools/cli/lib/agent-analyzer.js +46 -18
  365. package/tools/cli/lib/ui.js +204 -9
  366. package/tools/cli/lib/yaml-xml-builder.js +123 -24
  367. package/tools/platform-codes.yaml +12 -0
  368. package/tools/schema/agent.js +169 -20
  369. package/src/core/tasks/adv-elicit-methods.csv +0 -39
  370. package/src/core/workflows/brainstorming/README.md +0 -261
  371. package/src/core/workflows/brainstorming/instructions.md +0 -315
  372. package/src/core/workflows/brainstorming/workflow.yaml +0 -38
  373. package/src/core/workflows/party-mode/instructions.md +0 -183
  374. package/src/core/workflows/party-mode/workflow.yaml +0 -28
  375. package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
  376. package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
  377. package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
  378. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
  379. package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
  380. package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
  381. package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
  382. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
  383. package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
  384. package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
  385. package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
  386. package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  387. package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
  388. package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
  389. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
  390. package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  391. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
  392. package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  393. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
  394. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
  395. package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
  396. package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
  397. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
  398. package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
  399. package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
  400. package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
  401. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  402. package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
  403. package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
  404. package/src/modules/bmm/docs/quick-spec-flow.md +0 -652
  405. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  406. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  407. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
  408. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  409. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  410. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
  411. package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  412. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  413. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  414. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
  415. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  416. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  417. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
  418. package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  419. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  420. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  421. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  422. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  423. package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  424. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
  425. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  426. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
  427. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  428. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  429. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
  430. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  431. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  432. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
  433. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  434. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  435. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  436. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  437. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  438. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  439. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  440. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  441. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  442. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  443. package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  444. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  445. package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  446. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
  447. package/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  448. package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  449. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  450. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  451. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  452. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  453. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  454. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  455. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
  456. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  457. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  458. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  459. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
  460. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  461. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
  462. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  463. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
  464. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  465. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  466. /package/src/modules/bmb/docs/{agent-compilation.md → agents/agent-compilation.md} +0 -0
  467. /package/src/modules/bmb/docs/{expert-agent-architecture.md → agents/expert-agent-architecture.md} +0 -0
  468. /package/src/modules/bmb/docs/{index.md → agents/index.md} +0 -0
  469. /package/src/modules/bmb/docs/{understanding-agent-types.md → agents/understanding-agent-types.md} +0 -0
  470. /package/src/modules/bmb/reference/{readme.md → README.md} +0 -0
  471. /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md → data/agent-validation-checklist.md} +0 -0
  472. /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md → data/brainstorm-context.md} +0 -0
  473. /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv → data/communication-presets.csv} +0 -0
  474. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/README.md +0 -0
  475. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/brainstorm-context.md +0 -0
  476. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/checklist.md +0 -0
  477. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/install-config.yaml +0 -0
  478. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/installer.js +0 -0
  479. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/instructions.md +0 -0
  480. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/module-structure.md +0 -0
  481. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/workflow.yaml +0 -0
  482. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/README.md +0 -0
  483. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/checklist.md +0 -0
  484. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/instructions.md +0 -0
  485. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/workflow.yaml +0 -0
  486. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/README.md +0 -0
  487. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/checklist.md +0 -0
  488. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/instructions.md +0 -0
  489. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/template.md +0 -0
  490. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/workflow.yaml +0 -0
  491. /package/src/modules/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
@@ -1,703 +0,0 @@
1
- # PRD Workflow - Intent-Driven Product Planning
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
5
- <critical>This workflow uses INTENT-DRIVEN PLANNING - adapt organically to product type and context</critical>
6
- <critical>Communicate all responses in {communication_language} and adapt deeply to {user_skill_level}</critical>
7
- <critical>Generate all documents in {document_output_language}</critical>
8
- <critical>LIVING DOCUMENT: Write to PRD.md continuously as you discover - never wait until the end</critical>
9
- <critical>GUIDING PRINCIPLE: Identify what makes this product special and ensure it's reflected throughout the PRD</critical>
10
- <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
11
- <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever.</critical>
12
- <critical>⚠️ CHECKPOINT PROTOCOL: After EVERY <template-output> tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints.</critical>
13
-
14
- <workflow>
15
-
16
- <step n="0" goal="Validate workflow readiness" tag="workflow-status">
17
- <action>Check if {status_file} exists</action>
18
-
19
- <action if="status file not found">Set standalone_mode = true</action>
20
-
21
- <check if="status file found">
22
- <action>Load the FULL file: {status_file}</action>
23
- <action>Parse workflow_status section</action>
24
- <action>Check status of "prd" workflow</action>
25
- <action>Get project_track from YAML metadata</action>
26
- <action>Find first non-completed workflow (next expected workflow)</action>
27
-
28
- <check if="project_track is Quick Flow">
29
- <output>**Quick Flow Track - Redirecting**
30
-
31
- Quick Flow projects use tech-spec workflow for implementation-focused planning.
32
- PRD is for BMad Method and Enterprise Method tracks that need comprehensive requirements.</output>
33
- <action>Exit and suggest tech-spec workflow</action>
34
- </check>
35
-
36
- <check if="prd status is file path (already completed)">
37
- <output>⚠️ PRD already completed: {{prd status}}</output>
38
- <ask>Re-running will overwrite the existing PRD. Continue? (y/n)</ask>
39
- <check if="n">
40
- <output>Exiting. Use workflow-status to see your next step.</output>
41
- <action>Exit workflow</action>
42
- </check>
43
- </check>
44
-
45
- <action>Set standalone_mode = false</action>
46
- </check>
47
- </step>
48
-
49
- <step n="0.5" goal="Discover and load input documents">
50
- <invoke-protocol name="discover_inputs" />
51
- <note>After discovery, these content variables are available: {product_brief_content}, {research_content}, {document_project_content}</note>
52
- </step>
53
-
54
- <step n="1" goal="Discovery - Project, Domain, and Vision">
55
- <action>Welcome {user_name} and begin comprehensive discovery, and then start to GATHER ALL CONTEXT:
56
- 1. Check workflow-status.yaml for project_context (if exists)
57
- 2. Review loaded content: {product_brief_content}, {research_content}, {document_project_content} (auto-loaded in Step 0.5)
58
- 3. Detect project type AND domain complexity using data-driven classification
59
- </action>
60
-
61
- <action>Load classification data files COMPLETELY:
62
-
63
- - Load {project_types_data} - contains project type definitions, detection signals, and requirements
64
- - Load {domain_complexity_data} - contains domain classifications, complexity levels, and special requirements
65
-
66
- Parse CSV structure:
67
-
68
- - project_types_data has columns: project_type, detection_signals, key_questions, required_sections, skip_sections, web_search_triggers, innovation_signals
69
- - domain_complexity_data has columns: domain, signals, complexity, key_concerns, required_knowledge, suggested_workflow, web_searches, special_sections
70
-
71
- Store these in memory for use throughout the workflow.
72
- </action>
73
-
74
- <action>Begin natural discovery conversation:
75
- "Tell me about what you want to build - what problem does it solve and for whom?"
76
-
77
- As the user describes their product, listen for signals to classify:
78
-
79
- 1. PROJECT TYPE classification
80
- 2. DOMAIN classification
81
- </action>
82
-
83
- <action>DUAL DETECTION - Use CSV data to match:
84
-
85
- **Project Type Detection:**
86
-
87
- - Compare user's description against detection_signals from each row in project_types_data
88
- - Look for keyword matches (semicolon-separated in CSV)
89
- - Identify best matching project_type (api_backend, mobile_app, saas_b2b, developer_tool, cli_tool, web_app, game, desktop_app, iot_embedded, blockchain_web3)
90
- - If multiple matches, ask clarifying question
91
- - Store matched project_type value
92
-
93
- **Domain Detection:**
94
-
95
- - Compare user's description against signals from each row in domain_complexity_data
96
- - Match domain keywords (semicolon-separated in CSV)
97
- - Identify domain (healthcare, fintech, govtech, edtech, aerospace, automotive, scientific, legaltech, insuretech, energy, gaming, general)
98
- - Get complexity level from matched row (high/medium/low/redirect)
99
- - Store matched domain and complexity_level values
100
-
101
- **Special Cases from CSV:**
102
-
103
- - If project_type = "game" → Use project_types_data row to get redirect message
104
- - If domain = "gaming" → Use domain_complexity_data redirect action
105
- - If complexity = "high" → Note suggested_workflow and web_searches from domain row
106
- </action>
107
-
108
- <action>SPECIAL ROUTING based on detected values:
109
-
110
- **If game detected (from project_types_data):**
111
- "Game development requires the BMGD module (BMad Game Development) which has specialized workflows for game design."
112
- Exit workflow and redirect to BMGD.
113
-
114
- **If complex domain detected (complexity = "high" from domain_complexity_data):**
115
- Extract suggested_workflow and web_searches from the matched domain row.
116
- Offer domain research options:
117
- A) Run {suggested_workflow} workflow (thorough) - from CSV
118
- B) Quick web search using {web_searches} queries - from CSV
119
- C) User provides their own domain context
120
- D) Continue with general knowledge
121
-
122
- Present the options and WAIT for user choice.
123
- </action>
124
-
125
- <action>IDENTIFY WHAT MAKES IT SPECIAL early in conversation:
126
- Ask questions like:
127
-
128
- - "What excites you most about this product?"
129
- - "What would make users love this?"
130
- - "What's the unique value or compelling moment?"
131
- - "What makes this different from alternatives?"
132
-
133
- Capture this differentiator - it becomes a thread connecting throughout the PRD.
134
- </action>
135
-
136
- <template-output>vision_alignment</template-output>
137
- <template-output>project_classification</template-output>
138
- <template-output>project_type</template-output>
139
- <template-output>domain_type</template-output>
140
- <template-output>complexity_level</template-output>
141
- <check if="complexity_level == 'high'">
142
- <template-output>domain_context_summary</template-output>
143
- </check>
144
- <template-output>product_differentiator</template-output>
145
- <template-output>product_brief_path</template-output>
146
- <template-output>domain_brief_path</template-output>
147
- <template-output>research_documents</template-output>
148
- </step>
149
-
150
- <step n="2" goal="Success Definition">
151
- <action>Define what winning looks like for THIS specific product
152
-
153
- INTENT: Meaningful success criteria, not generic metrics
154
-
155
- Adapt to context:
156
-
157
- - Consumer: User love, engagement, retention
158
- - B2B: ROI, efficiency, adoption
159
- - Developer tools: Developer experience, community
160
- - Regulated: Compliance, safety, validation
161
-
162
- Make it specific:
163
-
164
- - NOT: "10,000 users"
165
- - BUT: "100 power users who rely on it daily"
166
-
167
- - NOT: "99.9% uptime"
168
- - BUT: "Zero data loss during critical operations"
169
-
170
- Connect to what makes the product special:
171
-
172
- - "Success means users experience [key value moment] and achieve [desired outcome]"</action>
173
-
174
- <template-output>success_criteria</template-output>
175
- <check if="business focus">
176
- <template-output>business_metrics</template-output>
177
- </check>
178
- </step>
179
-
180
- <step n="3" goal="Scope Definition">
181
- <action>Smart scope negotiation - find the sweet spot
182
-
183
- The Scoping Game:
184
-
185
- 1. "What must work for this to be useful?" → MVP
186
- 2. "What makes it competitive?" → Growth
187
- 3. "What's the dream version?" → Vision
188
-
189
- Challenge scope creep conversationally:
190
-
191
- - "Could that wait until after launch?"
192
- - "Is that essential for proving the concept?"
193
-
194
- For complex domains:
195
-
196
- - Include compliance minimums in MVP
197
- - Note regulatory gates between phases</action>
198
-
199
- <template-output>mvp_scope</template-output>
200
- <template-output>growth_features</template-output>
201
- <template-output>vision_features</template-output>
202
- </step>
203
-
204
- <step n="4" goal="Domain-Specific Exploration" optional="true">
205
- <critical>This step is DATA-DRIVEN using domain_complexity_data CSV loaded in Step 1</critical>
206
- <action>Execute only if complexity_level = "high" OR domain-brief exists</action>
207
-
208
- <action>Retrieve domain-specific configuration from CSV:
209
-
210
- 1. Find the row in {domain_complexity_data} where domain column matches the detected {domain} from Step 1
211
- 2. Extract these columns from the matched row:
212
- - key_concerns (semicolon-separated list)
213
- - required_knowledge (describes what expertise is needed)
214
- - web_searches (suggested search queries if research needed)
215
- - special_sections (semicolon-separated list of domain-specific sections to document)
216
- 3. Parse the semicolon-separated values into lists
217
- 4. Store for use in this step
218
- </action>
219
-
220
- <action>Explore domain-specific requirements using key_concerns from CSV:
221
-
222
- Parse key_concerns into individual concern areas.
223
- For each concern:
224
-
225
- - Ask the user about their approach to this concern
226
- - Discuss implications for the product
227
- - Document requirements, constraints, and compliance needs
228
-
229
- Example for healthcare domain:
230
- If key_concerns = "FDA approval;Clinical validation;HIPAA compliance;Patient safety;Medical device classification;Liability"
231
- Then explore:
232
-
233
- - "Will this product require FDA approval? What classification?"
234
- - "How will you validate clinical accuracy and safety?"
235
- - "What HIPAA compliance measures are needed?"
236
- - "What patient safety protocols must be in place?"
237
- - "What liability considerations affect the design?"
238
-
239
- Synthesize domain requirements that will shape everything:
240
-
241
- - Regulatory requirements (from key_concerns)
242
- - Compliance needs (from key_concerns)
243
- - Industry standards (from required_knowledge)
244
- - Safety/risk factors (from key_concerns)
245
- - Required validations (from key_concerns)
246
- - Special expertise needed (from required_knowledge)
247
-
248
- These inform:
249
-
250
- - What features are mandatory
251
- - What NFRs are critical
252
- - How to sequence development
253
- - What validation is required
254
- </action>
255
-
256
- <check if="complexity_level == 'high'">
257
- <template-output>domain_considerations</template-output>
258
-
259
- <action>Generate domain-specific special sections if defined:
260
- Parse special_sections list from the matched CSV row.
261
- For each section name, generate corresponding template-output.
262
-
263
- Example mappings from CSV:
264
-
265
- - "clinical_requirements" → <template-output>clinical_requirements</template-output>
266
- - "regulatory_pathway" → <template-output>regulatory_pathway</template-output>
267
- - "safety_measures" → <template-output>safety_measures</template-output>
268
- - "compliance_matrix" → <template-output>compliance_matrix</template-output>
269
- </action>
270
- </check>
271
- </step>
272
-
273
- <step n="5" goal="Innovation Discovery" optional="true">
274
- <critical>This step uses innovation_signals from project_types_data CSV loaded in Step 1</critical>
275
-
276
- <action>Check for innovation in this product:
277
-
278
- 1. Retrieve innovation_signals from the project_type row in {project_types_data}
279
- 2. Parse the semicolon-separated innovation signals specific to this project type
280
- 3. Listen for these signals in user's description and throughout conversation
281
-
282
- Example for api_backend:
283
- innovation_signals = "API composition;New protocol"
284
-
285
- Example for mobile_app:
286
- innovation_signals = "Gesture innovation;AR/VR features"
287
-
288
- Example for saas_b2b:
289
- innovation_signals = "Workflow automation;AI agents"
290
- </action>
291
-
292
- <action>Listen for general innovation signals in conversation:
293
-
294
- User language indicators:
295
-
296
- - "Nothing like this exists"
297
- - "We're rethinking how [X] works"
298
- - "Combining [A] with [B] for the first time"
299
- - "Novel approach to [problem]"
300
- - "No one has done [concept] before"
301
-
302
- Project-type-specific signals (from CSV innovation_signals column):
303
-
304
- - Match user's descriptions against the innovation_signals for their project_type
305
- - If matches found, flag as innovation opportunity
306
- </action>
307
-
308
- <action>If innovation detected (general OR project-type-specific):
309
-
310
- Explore deeply:
311
-
312
- - What makes it unique?
313
- - What assumption are you challenging?
314
- - How do we validate it works?
315
- - What's the fallback if it doesn't?
316
- - Has anyone tried this before?
317
-
318
- Use web_search_triggers from project_types_data CSV if relevant:
319
- <WebSearch if="novel">{web_search_triggers} {concept} innovations {date}</WebSearch>
320
- </action>
321
-
322
- <check if="innovation detected">
323
- <template-output>innovation_patterns</template-output>
324
- <template-output>validation_approach</template-output>
325
- </check>
326
- </step>
327
-
328
- <step n="6" goal="Project-Specific Deep Dive">
329
- <critical>This step is DATA-DRIVEN using project_types_data CSV loaded in Step 1</critical>
330
-
331
- <action>Retrieve project-specific configuration from CSV:
332
-
333
- 1. Find the row in {project_types_data} where project_type column matches the detected {project_type} from Step 1
334
- 2. Extract these columns from the matched row:
335
- - key_questions (semicolon-separated list)
336
- - required_sections (semicolon-separated list)
337
- - skip_sections (semicolon-separated list)
338
- - innovation_signals (semicolon-separated list)
339
- 3. Parse the semicolon-separated values into lists
340
- 4. Store for use in this step
341
- </action>
342
-
343
- <action>Conduct guided discovery using key_questions from CSV:
344
-
345
- Parse key_questions into individual questions.
346
- For each question:
347
-
348
- - Ask the user naturally in conversational style
349
- - Listen for their response
350
- - Ask clarifying follow-ups as needed
351
- - Connect answers to product value proposition
352
-
353
- Example flow:
354
- If key_questions = "Endpoints needed?;Authentication method?;Data formats?"
355
- Then ask:
356
-
357
- - "What are the main endpoints your API needs to expose?"
358
- - "How will you handle authentication and authorization?"
359
- - "What data formats will you support for requests and responses?"
360
-
361
- Adapt questions to the user's context and skill level.
362
- </action>
363
-
364
- <action>Document project-type-specific requirements:
365
-
366
- Based on the user's answers to key_questions, synthesize comprehensive requirements for this project type.
367
-
368
- Cover the areas indicated by required_sections from CSV (semicolon-separated list).
369
- Skip areas indicated by skip_sections from CSV.
370
-
371
- For each required section:
372
-
373
- - Summarize what was discovered
374
- - Document specific requirements, constraints, and decisions
375
- - Connect to product differentiator when relevant
376
-
377
- Always connect requirements to product value:
378
- "How does [requirement] support the product's core value proposition?"
379
- </action>
380
-
381
- <template-output>project_type_requirements</template-output>
382
-
383
- <!-- Dynamic template outputs based on required_sections from CSV -->
384
-
385
- <action>Generate dynamic template outputs based on required_sections:
386
-
387
- Parse required_sections list from the matched CSV row.
388
- For each section name in the list, generate a corresponding template-output.
389
-
390
- Common mappings (adapt based on actual CSV values):
391
-
392
- - "endpoint_specs" or "endpoint_specification" → <template-output>endpoint_specification</template-output>
393
- - "auth_model" or "authentication_model" → <template-output>authentication_model</template-output>
394
- - "platform_reqs" or "platform_requirements" → <template-output>platform_requirements</template-output>
395
- - "device_permissions" or "device_features" → <template-output>device_features</template-output>
396
- - "tenant_model" → <template-output>tenant_model</template-output>
397
- - "rbac_matrix" or "permission_matrix" → <template-output>permission_matrix</template-output>
398
-
399
- Generate all outputs dynamically - do not hardcode specific project types.
400
- </action>
401
-
402
- <note>Example CSV row for api_backend:
403
- key_questions = "Endpoints needed?;Authentication method?;Data formats?;Rate limits?;Versioning?;SDK needed?"
404
- required_sections = "endpoint_specs;auth_model;data_schemas;error_codes;rate_limits;api_docs"
405
- skip_sections = "ux_ui;visual_design;user_journeys"
406
-
407
- The LLM should parse these and generate corresponding template outputs dynamically.
408
-
409
- **Template Variable Strategy:**
410
- The prd-template.md has common template variables defined (endpoint_specification, authentication_model, platform_requirements, device_features, tenant_model, permission_matrix).
411
-
412
- For required_sections that match these common variables:
413
-
414
- - Generate the specific template-output (e.g., endpoint_specs → endpoint_specification)
415
- - These will render in their own subsections in the template
416
-
417
- For required_sections that DON'T have matching template variables:
418
-
419
- - Include the content in the main project_type_requirements variable
420
- - This ensures all requirements are captured even if template doesn't have dedicated sections
421
-
422
- This hybrid approach balances template structure with CSV-driven flexibility.
423
- </note>
424
- </step>
425
-
426
- <step n="7" goal="UX Principles" if="project has UI or UX">
427
- <action>Only if product has a UI
428
-
429
- Light touch on UX - not full design:
430
-
431
- - Visual personality
432
- - Key interaction patterns
433
- - Critical user flows
434
-
435
- "How should this feel to use?"
436
- "What's the vibe - professional, playful, minimal?"
437
-
438
- Connect UX to product vision:
439
- "The UI should reinforce [core value proposition] through [design approach]"</action>
440
-
441
- <check if="has UI">
442
- <template-output>ux_principles</template-output>
443
- <template-output>key_interactions</template-output>
444
- </check>
445
- </step>
446
-
447
- <step n="8" goal="Functional Requirements Synthesis">
448
- <critical>This section is THE CAPABILITY CONTRACT for all downstream work</critical>
449
- <critical>UX designers will ONLY design what's listed here</critical>
450
- <critical>Architects will ONLY support what's listed here</critical>
451
- <critical>Epic breakdown will ONLY implement what's listed here</critical>
452
- <critical>If a capability is missing from FRs, it will NOT exist in the final product</critical>
453
-
454
- <action>Before writing FRs, understand their PURPOSE and USAGE:
455
-
456
- **Purpose:**
457
- FRs define WHAT capabilities the product must have. They are the complete inventory
458
- of user-facing and system capabilities that deliver the product vision.
459
-
460
- **How They Will Be Used:**
461
-
462
- 1. UX Designer reads FRs → designs interactions for each capability
463
- 2. Architect reads FRs → designs systems to support each capability
464
- 3. PM reads FRs → creates epics and stories to implement each capability
465
- 4. Dev Agent reads assembled context → implements stories based on FRs
466
-
467
- **Critical Property - COMPLETENESS:**
468
- Every capability discussed in vision, scope, domain requirements, and project-specific
469
- sections MUST be represented as an FR. Missing FRs = missing capabilities.
470
-
471
- **Critical Property - ALTITUDE:**
472
- FRs state WHAT capability exists and WHO it serves, NOT HOW it's implemented or
473
- specific UI/UX details. Those come later from UX and Architecture.
474
- </action>
475
-
476
- <action>Transform everything discovered into comprehensive functional requirements:
477
-
478
- **Coverage - Pull from EVERYWHERE:**
479
-
480
- - Core features from MVP scope → FRs
481
- - Growth features → FRs (marked as post-MVP if needed)
482
- - Domain-mandated features → FRs
483
- - Project-type specific needs → FRs
484
- - Innovation requirements → FRs
485
- - Anti-patterns (explicitly NOT doing) → Note in FR section if needed
486
-
487
- **Organization - Group by CAPABILITY AREA:**
488
- Don't organize by technology or layer. Group by what users/system can DO:
489
-
490
- - ✅ "User Management" (not "Authentication System")
491
- - ✅ "Content Discovery" (not "Search Algorithm")
492
- - ✅ "Team Collaboration" (not "WebSocket Infrastructure")
493
-
494
- **Format - Flat, Numbered List:**
495
- Each FR is one clear capability statement:
496
-
497
- - FR#: [Actor] can [capability] [context/constraint if needed]
498
- - Number sequentially (FR1, FR2, FR3...)
499
- - Aim for 20-50 FRs for typical projects (fewer for simple, more for complex)
500
-
501
- **Altitude Check:**
502
- Each FR should answer "WHAT capability exists?" NOT "HOW is it implemented?"
503
-
504
- - ✅ "Users can customize appearance settings"
505
- - ❌ "Users can toggle light/dark theme with 3 font size options stored in LocalStorage"
506
-
507
- The second example belongs in Epic Breakdown, not PRD.
508
- </action>
509
-
510
- <example>
511
- **Well-written FRs at the correct altitude:**
512
-
513
- **User Account & Access:**
514
-
515
- - FR1: Users can create accounts with email or social authentication
516
- - FR2: Users can log in securely and maintain sessions across devices
517
- - FR3: Users can reset passwords via email verification
518
- - FR4: Users can update profile information and preferences
519
- - FR5: Administrators can manage user roles and permissions
520
-
521
- **Content Management:**
522
-
523
- - FR6: Users can create, edit, and delete content items
524
- - FR7: Users can organize content with tags and categories
525
- - FR8: Users can search content by keyword, tag, or date range
526
- - FR9: Users can export content in multiple formats
527
-
528
- **Data Ownership (local-first products):**
529
-
530
- - FR10: All user data stored locally on user's device
531
- - FR11: Users can export complete data at any time
532
- - FR12: Users can import previously exported data
533
- - FR13: System monitors storage usage and warns before limits
534
-
535
- **Collaboration:**
536
-
537
- - FR14: Users can share content with specific users or teams
538
- - FR15: Users can comment on shared content
539
- - FR16: Users can track content change history
540
- - FR17: Users receive notifications for relevant updates
541
-
542
- **Notice:**
543
- ✅ Each FR is a testable capability
544
- ✅ Each FR is implementation-agnostic (could be built many ways)
545
- ✅ Each FR specifies WHO and WHAT, not HOW
546
- ✅ No UI details, no performance numbers, no technology choices
547
- ✅ Comprehensive coverage of capability areas
548
- </example>
549
-
550
- <action>Generate the complete FR list by systematically extracting capabilities:
551
-
552
- 1. MVP scope → extract all capabilities → write as FRs
553
- 2. Growth features → extract capabilities → write as FRs (note if post-MVP)
554
- 3. Domain requirements → extract mandatory capabilities → write as FRs
555
- 4. Project-type specifics → extract type-specific capabilities → write as FRs
556
- 5. Innovation patterns → extract novel capabilities → write as FRs
557
-
558
- Organize FRs by logical capability groups (5-8 groups typically).
559
- Number sequentially across all groups (FR1, FR2... FR47).
560
- </action>
561
-
562
- <action>SELF-VALIDATION - Before finalizing, ask yourself:
563
-
564
- **Completeness Check:**
565
-
566
- 1. "Did I cover EVERY capability mentioned in the MVP scope section?"
567
- 2. "Did I include domain-specific requirements as FRs?"
568
- 3. "Did I cover the project-type specific needs (API/Mobile/SaaS/etc)?"
569
- 4. "Could a UX designer read ONLY the FRs and know what to design?"
570
- 5. "Could an Architect read ONLY the FRs and know what to support?"
571
- 6. "Are there any user actions or system behaviors we discussed that have no FR?"
572
-
573
- **Altitude Check:**
574
-
575
- 1. "Am I stating capabilities (WHAT) or implementation (HOW)?"
576
- 2. "Am I listing acceptance criteria or UI specifics?" (Remove if yes)
577
- 3. "Could this FR be implemented 5 different ways?" (Good - means it's not prescriptive)
578
-
579
- **Quality Check:**
580
-
581
- 1. "Is each FR clear enough that someone could test whether it exists?"
582
- 2. "Is each FR independent (not dependent on reading other FRs to understand)?"
583
- 3. "Did I avoid vague terms like 'good', 'fast', 'easy'?" (Use NFRs for quality attributes)
584
-
585
- COMPLETENESS GATE: Review your FR list against the entire PRD written so far and think hard - did you miss anything? Add it now before proceeding.
586
- </action>
587
-
588
- <template-output>functional_requirements_complete</template-output>
589
- </step>
590
-
591
- <step n="9" goal="Non-Functional Requirements Discovery">
592
- <action>Only document NFRs that matter for THIS product
593
-
594
- Performance: Only if user-facing impact
595
- Security: Only if handling sensitive data
596
- Scale: Only if growth expected
597
- Accessibility: Only if broad audience
598
- Integration: Only if connecting systems
599
-
600
- For each NFR:
601
-
602
- - Why it matters for THIS product
603
- - Specific measurable criteria
604
- - Domain-driven requirements
605
-
606
- Skip categories that don't apply!</action>
607
-
608
- <!-- Only output sections that were discussed -->
609
- <check if="performance matters">
610
- <template-output>performance_requirements</template-output>
611
- </check>
612
- <check if="security matters">
613
- <template-output>security_requirements</template-output>
614
- </check>
615
- <check if="scale matters">
616
- <template-output>scalability_requirements</template-output>
617
- </check>
618
- <check if="accessibility matters">
619
- <template-output>accessibility_requirements</template-output>
620
- </check>
621
- <check if="integration matters">
622
- <template-output>integration_requirements</template-output>
623
- </check>
624
- </step>
625
-
626
- <step n="10" goal="Complete PRD and determine next steps">
627
- <action>Quick review of captured requirements:
628
-
629
- "We've captured:
630
-
631
- - {{fr_count}} functional requirements
632
- - {{nfr_count}} non-functional requirements
633
- - MVP scope defined
634
- {{if domain_complexity == 'high'}}
635
- - Domain-specific requirements addressed
636
- {{/if}}
637
- {{if innovation_detected}}
638
- - Innovation patterns documented
639
- {{/if}}
640
-
641
- Your PRD is complete!"
642
- </action>
643
-
644
- <template-output>prd_summary</template-output>
645
- <template-output>product_value_summary</template-output>
646
-
647
- <check if="standalone_mode != true">
648
- <action>Load the FULL file: {status_file}</action>
649
- <action>Update workflow_status["prd"] = "{default_output_file}"</action>
650
- <action>Save file, preserving ALL comments and structure</action>
651
-
652
- <action>Check workflow path to determine next expected workflows:
653
-
654
- - Look for "create-epics-and-stories" as optional after PRD
655
- - Look for "create-design" as conditional (if_has_ui)
656
- - Look for "create-epics-and-stories-after-ux" as optional
657
- - Identify the required next phase workflow
658
- </action>
659
- </check>
660
-
661
- <output>**✅ PRD Complete, {user_name}!**
662
-
663
- **Created:** PRD.md with {{fr_count}} FRs and NFRs
664
-
665
- **Next Steps:**
666
-
667
- <check if="standalone_mode != true">
668
- Based on your {{project_track}} workflow path, you can:
669
-
670
- **Option A: Create Epic Breakdown Now** (Optional)
671
- `workflow create-epics-and-stories`
672
-
673
- - Creates basic epic structure from PRD
674
- - Can be enhanced later with UX/Architecture context
675
-
676
- <check if="UI_exists">
677
- **Option B: UX Design First** (Recommended if UI)
678
- `workflow create-design`
679
- - Design user experience and interactions
680
- - Epic breakdown can incorporate UX details later
681
- </check>
682
-
683
- **Option C: Skip to Architecture**
684
- `workflow create-architecture`
685
-
686
- - Define technical decisions
687
- - Epic breakdown created after with full context
688
-
689
- **Recommendation:** {{if UI_exists}}Do UX Design first, then Architecture, then create epics with full context{{else}}Go straight to Architecture, then create epics{{/if}}
690
- </check>
691
-
692
- <check if="standalone_mode == true">
693
- **Typical next workflows:**
694
- 1. `workflow create-design` - UX Design (if UI exists)
695
- 2. `workflow create-architecture` - Technical architecture
696
- 3. `workflow create-epics-and-stories` - Epic breakdown
697
-
698
- **Note:** Epics can be created at any point but have richer detail when created after UX/Architecture.
699
- </check>
700
- </output>
701
- </step>
702
-
703
- </workflow>