bmad-method 6.0.0-alpha.7 → 6.0.0-alpha.8

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 (637) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +11 -0
  2. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +42 -0
  3. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  4. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  5. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  6. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  7. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  8. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  9. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +42 -0
  10. package/.bmad/_cfg/files-manifest.csv +289 -0
  11. package/.bmad/_cfg/ides/claude-code.yaml +7 -0
  12. package/.bmad/_cfg/manifest.yaml +10 -0
  13. package/.bmad/_cfg/task-manifest.csv +6 -0
  14. package/.bmad/_cfg/tool-manifest.csv +2 -0
  15. package/.bmad/_cfg/workflow-manifest.csv +44 -0
  16. package/{bmad → .bmad}/bmb/agents/bmad-builder.md +12 -12
  17. package/.bmad/bmb/config.yaml +16 -0
  18. package/{bmad → .bmad}/bmb/workflows/audit-workflow/checklist.md +2 -2
  19. package/{bmad → .bmad}/bmb/workflows/audit-workflow/instructions.md +5 -5
  20. package/{bmad → .bmad}/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  21. package/{bmad → .bmad}/bmb/workflows/convert-legacy/README.md +5 -5
  22. package/{bmad → .bmad}/bmb/workflows/convert-legacy/checklist.md +2 -2
  23. package/{bmad → .bmad}/bmb/workflows/convert-legacy/instructions.md +17 -17
  24. package/{bmad → .bmad}/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  25. package/{bmad → .bmad}/bmb/workflows/create-agent/README.md +5 -5
  26. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-architecture.md +15 -15
  27. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  28. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-types.md +15 -15
  29. package/{bmad → .bmad}/bmb/workflows/create-agent/checklist.md +3 -3
  30. package/{bmad → .bmad}/bmb/workflows/create-agent/instructions.md +11 -11
  31. package/{bmad → .bmad}/bmb/workflows/create-agent/workflow.yaml +6 -6
  32. package/{bmad → .bmad}/bmb/workflows/create-module/README.md +1 -1
  33. package/{bmad → .bmad}/bmb/workflows/create-module/checklist.md +1 -1
  34. package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  35. package/{bmad → .bmad}/bmb/workflows/create-module/instructions.md +7 -7
  36. package/{bmad → .bmad}/bmb/workflows/create-module/module-structure.md +4 -4
  37. package/{bmad → .bmad}/bmb/workflows/create-module/workflow.yaml +9 -9
  38. package/{bmad → .bmad}/bmb/workflows/create-workflow/README.md +4 -4
  39. package/{bmad → .bmad}/bmb/workflows/create-workflow/checklist.md +1 -1
  40. package/{bmad → .bmad}/bmb/workflows/create-workflow/instructions.md +29 -29
  41. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-creation-guide.md +36 -36
  42. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  43. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/workflow.yaml +1 -1
  44. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow.yaml +5 -5
  45. package/{bmad → .bmad}/bmb/workflows/edit-agent/checklist.md +1 -1
  46. package/{bmad → .bmad}/bmb/workflows/edit-agent/instructions.md +2 -2
  47. package/{bmad → .bmad}/bmb/workflows/edit-agent/workflow.yaml +8 -8
  48. package/{bmad → .bmad}/bmb/workflows/edit-module/README.md +2 -2
  49. package/{bmad → .bmad}/bmb/workflows/edit-module/checklist.md +2 -2
  50. package/{bmad → .bmad}/bmb/workflows/edit-module/instructions.md +4 -4
  51. package/{bmad → .bmad}/bmb/workflows/edit-module/workflow.yaml +10 -10
  52. package/{bmad → .bmad}/bmb/workflows/edit-workflow/instructions.md +4 -4
  53. package/{bmad → .bmad}/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  54. package/{bmad → .bmad}/bmb/workflows/module-brief/README.md +2 -2
  55. package/{bmad → .bmad}/bmb/workflows/module-brief/instructions.md +2 -2
  56. package/{bmad → .bmad}/bmb/workflows/module-brief/workflow.yaml +4 -4
  57. package/{bmad → .bmad}/bmb/workflows/redoc/README.md +5 -5
  58. package/{bmad → .bmad}/bmb/workflows/redoc/instructions.md +1 -1
  59. package/{bmad → .bmad}/bmb/workflows/redoc/workflow.yaml +1 -1
  60. package/.bmad/bmm/README.md +128 -0
  61. package/.bmad/bmm/agents/analyst.md +75 -0
  62. package/.bmad/bmm/agents/architect.md +80 -0
  63. package/.bmad/bmm/agents/dev.md +69 -0
  64. package/.bmad/bmm/agents/pm.md +84 -0
  65. package/.bmad/bmm/agents/sm.md +93 -0
  66. package/.bmad/bmm/agents/tea.md +80 -0
  67. package/.bmad/bmm/agents/tech-writer.md +90 -0
  68. package/.bmad/bmm/agents/ux-designer.md +79 -0
  69. package/.bmad/bmm/config.yaml +18 -0
  70. package/.bmad/bmm/docs/README.md +235 -0
  71. package/.bmad/bmm/docs/agents-guide.md +1056 -0
  72. package/.bmad/bmm/docs/brownfield-guide.md +754 -0
  73. package/.bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  74. package/.bmad/bmm/docs/faq.md +587 -0
  75. package/.bmad/bmm/docs/glossary.md +320 -0
  76. package/.bmad/bmm/docs/party-mode.md +224 -0
  77. package/.bmad/bmm/docs/quick-spec-flow.md +652 -0
  78. package/.bmad/bmm/docs/quick-start.md +366 -0
  79. package/.bmad/bmm/docs/scale-adaptive-system.md +599 -0
  80. package/.bmad/bmm/docs/test-architecture.md +394 -0
  81. package/.bmad/bmm/docs/workflow-architecture-reference.md +371 -0
  82. package/.bmad/bmm/docs/workflow-document-project-reference.md +487 -0
  83. package/.bmad/bmm/docs/workflows-analysis.md +370 -0
  84. package/.bmad/bmm/docs/workflows-implementation.md +284 -0
  85. package/.bmad/bmm/docs/workflows-planning.md +601 -0
  86. package/.bmad/bmm/docs/workflows-solutioning.md +501 -0
  87. package/.bmad/bmm/tasks/daily-standup.xml +85 -0
  88. package/.bmad/bmm/teams/default-party.csv +19 -0
  89. package/.bmad/bmm/teams/team-fullstack.yaml +12 -0
  90. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  91. package/.bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  92. package/.bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  93. package/.bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  94. package/.bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  95. package/.bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  96. package/.bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  97. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  98. package/.bmad/bmm/testarch/knowledge/network-first.md +486 -0
  99. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  100. package/.bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  101. package/.bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  102. package/.bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  103. package/.bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  104. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  105. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  106. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  107. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  108. package/.bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  109. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  110. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  111. package/.bmad/bmm/testarch/tea-index.csv +22 -0
  112. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  113. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  114. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  115. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  116. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  117. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +40 -0
  118. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  119. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  120. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  121. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  122. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  123. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  124. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  125. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  126. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  127. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  128. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  129. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  130. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  131. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  132. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  133. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  134. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  135. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1301 -0
  136. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  137. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +60 -0
  138. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +350 -0
  139. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
  140. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
  141. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +45 -0
  142. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  143. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +408 -0
  144. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  145. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  146. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  147. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  148. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +80 -0
  149. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  150. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  151. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1115 -0
  152. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  153. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +90 -0
  154. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  155. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  156. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  157. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  158. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  159. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +704 -0
  160. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  161. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +68 -0
  162. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  163. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +305 -0
  164. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  165. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  166. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  167. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  168. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  169. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  170. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +65 -0
  171. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  172. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  173. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  174. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  175. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  176. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  177. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  178. package/.bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  179. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  180. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  181. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  182. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  183. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  184. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  185. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  186. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  187. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  188. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  189. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  190. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  191. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  192. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  193. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  194. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  195. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  196. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  197. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  198. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  199. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  200. package/.bmad/bmm/workflows/document-project/checklist.md +245 -0
  201. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  202. package/.bmad/bmm/workflows/document-project/instructions.md +222 -0
  203. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  204. package/.bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  205. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  206. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  207. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  208. package/.bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  209. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  210. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  211. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  212. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  213. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +262 -0
  214. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  215. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  216. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  217. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  218. package/.bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  219. package/.bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  220. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  221. package/.bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  222. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  223. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  224. package/.bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  225. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  226. package/.bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  227. package/.bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  228. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  229. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  230. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  231. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  232. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  233. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  234. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  235. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  236. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  237. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  238. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  239. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  240. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  241. package/.bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  242. package/.bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  243. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  244. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  245. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +822 -0
  246. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  247. package/.bmad/bmm/workflows/workflow-status/instructions.md +387 -0
  248. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +127 -0
  249. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +115 -0
  250. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +52 -0
  251. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +97 -0
  252. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +88 -0
  253. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +58 -0
  254. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +47 -0
  255. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  256. package/.bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  257. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  258. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  259. package/{bmad → .bmad}/core/agents/bmad-master.md +7 -7
  260. package/{bmad → .bmad}/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  261. package/{bmad → .bmad}/core/config.yaml +4 -2
  262. package/{bmad → .bmad}/core/tasks/adv-elicit.xml +5 -3
  263. package/{bmad → .bmad}/core/tasks/index-docs.xml +1 -1
  264. package/{bmad → .bmad}/core/tasks/validate-workflow.xml +1 -1
  265. package/{bmad → .bmad}/core/tasks/workflow.xml +1 -1
  266. package/{bmad → .bmad}/core/tools/shard-doc.xml +1 -1
  267. package/{bmad → .bmad}/core/workflows/brainstorming/README.md +2 -2
  268. package/{bmad → .bmad}/core/workflows/brainstorming/instructions.md +3 -3
  269. package/{bmad → .bmad}/core/workflows/brainstorming/workflow.yaml +8 -8
  270. package/{bmad → .bmad}/core/workflows/party-mode/instructions.md +2 -7
  271. package/.bmad/core/workflows/party-mode/workflow.yaml +27 -0
  272. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +12 -12
  273. package/.claude/commands/bmad/bmm/agents/analyst.md +75 -0
  274. package/.claude/commands/bmad/bmm/agents/architect.md +80 -0
  275. package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
  276. package/.claude/commands/bmad/bmm/agents/pm.md +84 -0
  277. package/.claude/commands/bmad/bmm/agents/sm.md +93 -0
  278. package/.claude/commands/bmad/bmm/agents/tea.md +80 -0
  279. package/.claude/commands/bmad/bmm/agents/tech-writer.md +90 -0
  280. package/.claude/commands/bmad/bmm/agents/ux-designer.md +79 -0
  281. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  282. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  283. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  284. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  285. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  286. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  287. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  288. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  289. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  290. package/.claude/commands/bmad/bmm/workflows/domain-research.md +15 -0
  291. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  292. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  293. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  294. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  295. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  296. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  297. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  298. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  299. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  300. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  301. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  302. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  303. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  304. package/.claude/commands/bmad/core/agents/bmad-master.md +7 -7
  305. package/.claude/commands/bmad/core/tasks/adv-elicit.md +9 -0
  306. package/.claude/settings.local.json +6 -12
  307. package/.vscode/settings.json +2 -1
  308. package/package.json +1 -1
  309. package/src/core/_module-installer/install-config.yaml +15 -9
  310. package/src/core/_module-installer/installer.js +0 -8
  311. package/src/core/agents/bmad-master.agent.yaml +5 -5
  312. package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  313. package/src/core/tasks/adv-elicit.xml +5 -3
  314. package/src/core/tasks/index-docs.xml +1 -1
  315. package/src/core/tasks/validate-workflow.xml +1 -1
  316. package/src/core/tasks/workflow.xml +1 -1
  317. package/src/core/tools/shard-doc.xml +1 -1
  318. package/src/core/workflows/brainstorming/README.md +2 -2
  319. package/src/core/workflows/brainstorming/instructions.md +3 -3
  320. package/src/core/workflows/brainstorming/workflow.yaml +8 -8
  321. package/src/core/workflows/party-mode/instructions.md +2 -7
  322. package/src/core/workflows/party-mode/workflow.yaml +10 -6
  323. package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
  324. package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
  325. package/src/modules/bmb/workflows/audit-workflow/checklist.md +2 -2
  326. package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
  327. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  328. package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
  329. package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
  330. package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
  331. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  332. package/src/modules/bmb/workflows/create-agent/README.md +5 -5
  333. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -15
  334. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  335. package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
  336. package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
  337. package/src/modules/bmb/workflows/create-agent/instructions.md +11 -11
  338. package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
  339. package/src/modules/bmb/workflows/create-module/README.md +1 -1
  340. package/src/modules/bmb/workflows/create-module/checklist.md +1 -1
  341. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  342. package/src/modules/bmb/workflows/create-module/instructions.md +7 -7
  343. package/src/modules/bmb/workflows/create-module/module-structure.md +4 -4
  344. package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
  345. package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
  346. package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
  347. package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
  348. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +42 -42
  349. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  350. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
  351. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
  352. package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
  353. package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
  354. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
  355. package/src/modules/bmb/workflows/edit-module/README.md +2 -2
  356. package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
  357. package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
  358. package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
  359. package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
  360. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  361. package/src/modules/bmb/workflows/module-brief/README.md +2 -2
  362. package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
  363. package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
  364. package/src/modules/bmb/workflows/redoc/README.md +5 -5
  365. package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
  366. package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
  367. package/src/modules/bmgd/README.md +1 -1
  368. package/src/modules/bmgd/_module-installer/install-config.yaml +17 -16
  369. package/src/modules/bmgd/agents/game-architect.agent.yaml +15 -10
  370. package/src/modules/bmgd/agents/game-designer.agent.yaml +16 -11
  371. package/src/modules/bmgd/agents/game-dev.agent.yaml +18 -12
  372. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +30 -25
  373. package/src/modules/bmgd/teams/default-party.csv +10 -0
  374. package/src/modules/bmgd/teams/team-gamedev.yaml +2 -0
  375. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
  376. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +9 -9
  377. package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
  378. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +8 -8
  379. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +8 -8
  380. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +30 -30
  381. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +6 -6
  382. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +5 -5
  383. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +6 -6
  384. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +2 -2
  385. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +4 -4
  386. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +4 -13
  387. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  388. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +2 -2
  389. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +2 -2
  390. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +3 -3
  391. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +3 -3
  392. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +3 -3
  393. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +2 -2
  394. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +3 -3
  395. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +1 -1
  396. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +2 -2
  397. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +2 -2
  398. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +2 -2
  399. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +4 -4
  400. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +2 -2
  401. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +3 -3
  402. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +1 -1
  403. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +1 -1
  404. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +2 -2
  405. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +4 -4
  406. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +1 -1
  407. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +3 -3
  408. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +1 -1
  409. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +3 -3
  410. package/src/modules/bmm/_module-installer/install-config.yaml +10 -24
  411. package/src/modules/bmm/_module-installer/installer.js +2 -2
  412. package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
  413. package/src/modules/bmm/agents/architect.agent.yaml +17 -12
  414. package/src/modules/bmm/agents/dev.agent.yaml +9 -12
  415. package/src/modules/bmm/agents/pm.agent.yaml +24 -23
  416. package/src/modules/bmm/agents/sm.agent.yaml +24 -19
  417. package/src/modules/bmm/agents/tea.agent.yaml +23 -17
  418. package/src/modules/bmm/agents/tech-writer.agent.yaml +14 -10
  419. package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
  420. package/src/modules/bmm/docs/agents-guide.md +4 -4
  421. package/src/modules/bmm/docs/brownfield-guide.md +4 -4
  422. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  423. package/src/modules/bmm/docs/faq.md +1 -1
  424. package/src/modules/bmm/docs/party-mode.md +3 -3
  425. package/src/modules/bmm/docs/quick-start.md +1 -1
  426. package/src/modules/bmm/docs/test-architecture.md +1 -1
  427. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  428. package/src/modules/bmm/sub-modules/claude-code/README.md +1 -1
  429. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +22 -22
  430. package/src/modules/bmm/tasks/daily-standup.xml +2 -2
  431. package/src/modules/bmm/teams/default-party.csv +19 -0
  432. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  433. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  434. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
  435. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  436. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +8 -8
  437. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +1 -1
  438. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +9 -9
  439. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +2 -2
  440. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +5 -5
  441. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  442. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +4 -4
  443. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
  444. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  445. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +10 -10
  446. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +3 -3
  447. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +6 -6
  448. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +5 -5
  449. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +16 -16
  450. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +1 -1
  451. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +5 -5
  452. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +6 -6
  453. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +2 -2
  454. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +12 -12
  455. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +6 -6
  456. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +19 -19
  457. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +2 -2
  458. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +4 -4
  459. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +38 -38
  460. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +6 -23
  461. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  462. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  463. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
  464. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +38 -40
  465. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +6 -19
  466. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +3 -3
  467. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +2 -2
  468. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  469. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  470. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +26 -28
  471. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +6 -18
  472. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +11 -11
  473. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +8 -11
  474. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +6 -15
  475. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +5 -4
  476. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  477. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  478. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +8 -9
  479. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +6 -14
  480. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  481. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +4 -4
  482. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +1 -1
  483. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +4 -4
  484. package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
  485. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
  486. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  487. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  488. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
  489. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  490. package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
  491. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  492. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  493. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  494. package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
  495. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  496. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  497. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  498. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +2 -2
  499. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
  500. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +2 -2
  501. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  502. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  503. package/src/modules/bmm/workflows/testarch/trace/instructions.md +9 -9
  504. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  505. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +28 -26
  506. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
  507. package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
  508. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  509. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
  510. package/src/modules/cis/README.md +1 -1
  511. package/src/modules/cis/_module-installer/install-config.yaml +6 -4
  512. package/src/modules/cis/agents/README.md +1 -1
  513. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
  514. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
  515. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
  516. package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
  517. package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
  518. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  519. package/src/modules/cis/teams/default-party.csv +11 -0
  520. package/src/modules/cis/workflows/README.md +1 -1
  521. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  522. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
  523. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  524. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
  525. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  526. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
  527. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  528. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
  529. package/src/utility/models/action-command-header.md +0 -0
  530. package/src/utility/models/agent-activation-ide.xml +3 -3
  531. package/src/utility/models/agent-activation-web.xml +4 -4
  532. package/src/utility/models/agent-command-header.md +1 -0
  533. package/src/utility/models/fragments/activation-steps.xml +3 -2
  534. package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
  535. package/src/utility/models/fragments/handler-workflow.xml +1 -1
  536. package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
  537. package/tools/cli/bundlers/web-bundler.js +85 -16
  538. package/tools/cli/commands/install.js +1 -4
  539. package/tools/cli/installers/lib/core/config-collector.js +201 -28
  540. package/tools/cli/installers/lib/core/detector.js +62 -7
  541. package/tools/cli/installers/lib/core/installer.js +158 -23
  542. package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
  543. package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
  544. package/tools/cli/installers/lib/ide/auggie.js +78 -224
  545. package/tools/cli/installers/lib/ide/claude-code.js +14 -22
  546. package/tools/cli/installers/lib/ide/cline.js +15 -18
  547. package/tools/cli/installers/lib/ide/codex.js +17 -48
  548. package/tools/cli/installers/lib/ide/crush.js +14 -50
  549. package/tools/cli/installers/lib/ide/cursor.js +51 -8
  550. package/tools/cli/installers/lib/ide/gemini.js +87 -37
  551. package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
  552. package/tools/cli/installers/lib/ide/iflow.js +13 -30
  553. package/tools/cli/installers/lib/ide/kilo.js +20 -16
  554. package/tools/cli/installers/lib/ide/manager.js +15 -0
  555. package/tools/cli/installers/lib/ide/opencode.js +16 -17
  556. package/tools/cli/installers/lib/ide/qwen.js +39 -11
  557. package/tools/cli/installers/lib/ide/roo.js +27 -62
  558. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  559. package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
  560. package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
  561. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  562. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  563. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  564. package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
  565. package/tools/cli/installers/lib/ide/trae.js +20 -32
  566. package/tools/cli/installers/lib/ide/windsurf.js +18 -8
  567. package/tools/cli/installers/lib/modules/manager.js +89 -17
  568. package/tools/cli/lib/cli-utils.js +52 -50
  569. package/tools/cli/lib/ui.js +15 -8
  570. package/tools/schema/agent.js +7 -3
  571. package/web-bundles/bmgd/agents/game-architect.xml +664 -0
  572. package/web-bundles/bmgd/agents/game-designer.xml +5489 -0
  573. package/web-bundles/bmgd/agents/game-dev.xml +595 -0
  574. package/web-bundles/bmgd/agents/game-scrum-master.xml +699 -0
  575. package/web-bundles/bmgd/teams/team-gamedev.xml +6588 -0
  576. package/web-bundles/bmm/agents/analyst.xml +424 -189
  577. package/web-bundles/bmm/agents/architect.xml +514 -183
  578. package/web-bundles/bmm/agents/dev.xml +185 -5
  579. package/web-bundles/bmm/agents/pm.xml +522 -193
  580. package/web-bundles/bmm/agents/sm.xml +636 -5
  581. package/web-bundles/bmm/agents/tea.xml +697 -4
  582. package/web-bundles/bmm/agents/tech-writer.xml +544 -4
  583. package/web-bundles/bmm/agents/ux-designer.xml +505 -31
  584. package/web-bundles/bmm/teams/team-fullstack.xml +1588 -1258
  585. package/web-bundles/cis/agents/brainstorming-coach.xml +1069 -0
  586. package/web-bundles/cis/agents/creative-problem-solver.xml +1060 -0
  587. package/web-bundles/cis/agents/design-thinking-coach.xml +955 -0
  588. package/web-bundles/cis/agents/innovation-strategist.xml +1108 -0
  589. package/web-bundles/cis/agents/storyteller.xml +598 -0
  590. package/web-bundles/cis/teams/creative-squad.xml +3449 -0
  591. package/bmad/_cfg/agent-manifest.csv +0 -5
  592. package/bmad/_cfg/files-manifest.csv +0 -82
  593. package/bmad/_cfg/ides/claude-code.yaml +0 -6
  594. package/bmad/_cfg/manifest.yaml +0 -11
  595. package/bmad/_cfg/task-manifest.csv +0 -13
  596. package/bmad/_cfg/tool-manifest.csv +0 -4
  597. package/bmad/_cfg/workflow-manifest.csv +0 -17
  598. package/bmad/bmb/config.yaml +0 -14
  599. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  600. package/bmd/README.md +0 -193
  601. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  602. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  603. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  604. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  605. package/bmd/agents/cli-chief.agent.yaml +0 -126
  606. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  607. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  608. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  609. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  610. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  611. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  612. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  613. package/bmd/agents/release-chief.agent.yaml +0 -127
  614. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  615. package/bmd/config.yaml +0 -12
  616. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  617. /package/{bmad → .bmad}/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -0
  618. /package/{bmad/_cfg/agents/core-bmad-master.customize.yaml → .bmad/_cfg/agents/bmm-analyst.customize.yaml} +0 -0
  619. /package/{bmad → .bmad}/bmb/README.md +0 -0
  620. /package/{bmad → .bmad}/bmb/workflows/audit-workflow/template.md +0 -0
  621. /package/{bmad → .bmad}/bmb/workflows/create-agent/brainstorm-context.md +0 -0
  622. /package/{bmad → .bmad}/bmb/workflows/create-agent/communication-styles.md +0 -0
  623. /package/{bmad → .bmad}/bmb/workflows/create-module/brainstorm-context.md +0 -0
  624. /package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/installer.js +0 -0
  625. /package/{bmad → .bmad}/bmb/workflows/create-workflow/brainstorm-context.md +0 -0
  626. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -0
  627. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/template.md +0 -0
  628. /package/{bmad → .bmad}/bmb/workflows/edit-agent/README.md +0 -0
  629. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/README.md +0 -0
  630. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/checklist.md +0 -0
  631. /package/{bmad → .bmad}/bmb/workflows/module-brief/checklist.md +0 -0
  632. /package/{bmad → .bmad}/bmb/workflows/module-brief/template.md +0 -0
  633. /package/{bmad → .bmad}/bmb/workflows/redoc/checklist.md +0 -0
  634. /package/{bmad → .bmad}/core/tasks/adv-elicit-methods.csv +0 -0
  635. /package/{bmad → .bmad}/core/workflows/brainstorming/brain-methods.csv +0 -0
  636. /package/{bmad → .bmad}/core/workflows/brainstorming/template.md +0 -0
  637. /package/{bmad → .bmad}/docs/claude-code-instructions.md +0 -0
@@ -0,0 +1,1301 @@
1
+ # Create UX Design Workflow Instructions
2
+
3
+ <workflow name="create-ux-design">
4
+
5
+ <critical>The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml</critical>
6
+ <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
7
+ <critical>This workflow uses ADAPTIVE FACILITATION - adjust your communication style based on {user_skill_level}</critical>
8
+ <critical>The goal is COLLABORATIVE UX DESIGN through visual exploration, not content generation</critical>
9
+ <critical>Communicate all responses in {communication_language} and tailor to {user_skill_level}</critical>
10
+ <critical>Generate all documents in {document_output_language}</critical>
11
+ <critical>SAVE PROGRESS after each major step - use <template-output> tags throughout</critical>
12
+ <critical>DOCUMENT OUTPUT: Professional, specific, actionable UX design decisions WITH RATIONALE. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
13
+ <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
14
+
15
+ <step n="0" goal="Validate workflow readiness" tag="workflow-status">
16
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
17
+
18
+ <check if="status file not found">
19
+ <output>No workflow status file found. Create UX Design can run standalone or as part of BMM planning workflow.</output>
20
+ <output>For standalone use, we'll gather requirements as we go. For integrated use, run `workflow-init` first for better context.</output>
21
+ <action>Set standalone_mode = true</action>
22
+ </check>
23
+
24
+ <check if="status file found">
25
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
26
+ <action>Parse workflow_status section</action>
27
+ <action>Check status of "create-design" workflow</action>
28
+ <action>Get project_level from YAML metadata</action>
29
+ <action>Find first non-completed workflow (next expected workflow)</action>
30
+
31
+ <check if="create-design status is file path (already completed)">
32
+ <output>⚠️ UX Design already completed: {{create-design status}}</output>
33
+ <ask>Re-running will overwrite the existing UX design. Continue? (y/n)</ask>
34
+ <check if="n">
35
+ <output>Exiting. Use workflow-status to see your next step.</output>
36
+ <action>Exit workflow</action>
37
+ </check>
38
+ </check>
39
+
40
+ <check if="create-design is not the next expected workflow">
41
+ <output>⚠️ Next expected workflow: {{next_workflow}}. UX Design is out of sequence.</output>
42
+ <ask>Continue with UX Design anyway? (y/n)</ask>
43
+ <check if="n">
44
+ <output>Exiting. Run {{next_workflow}} instead.</output>
45
+ <action>Exit workflow</action>
46
+ </check>
47
+ </check>
48
+
49
+ <action>Set standalone_mode = false</action>
50
+ <action>Store {{project_level}} for scoping decisions</action>
51
+ </check>
52
+ </step>
53
+
54
+ <step n="1a" goal="Confirm project understanding or gather basic context">
55
+ <critical>A UX designer must understand the WHY before designing the HOW</critical>
56
+
57
+ <action>Attempt to load context documents using fuzzy matching: - PRD: {prd_file} - Product Brief: {brief_file} - Brainstorming: {brainstorm_file}
58
+ </action>
59
+
60
+ <check if="documents_found">
61
+ <action>Extract and understand:
62
+ - Project vision and goals
63
+ - Target users and personas
64
+ - Core features and user journeys
65
+ - Platform requirements (web, mobile, desktop)
66
+ - Any technical constraints mentioned
67
+ - Brand personality hints
68
+ - Competitive landscape references
69
+ </action>
70
+
71
+ <output>I've loaded your project documentation. Let me confirm what I'm seeing:
72
+
73
+ **Project:** {{project_summary_from_docs}}
74
+ **Target Users:** {{user_summary_from_docs}}</output>
75
+
76
+ <ask>Does this match your understanding? Any corrections or additions?</ask>
77
+
78
+ </check>
79
+
80
+ <check if="no_documents_found">
81
+ <ask>Let's start by understanding what you're building.
82
+
83
+ **What are you building?** (1-2 sentences about the project)
84
+
85
+ **Who is this for?** Describe your ideal user.</ask>
86
+ </check>
87
+
88
+ <template-output>project_and_users_confirmed</template-output>
89
+ </step>
90
+
91
+ <step n="1b" goal="Understand core experience and platform">
92
+ <critical>Now we discover the ONE thing that defines this experience</critical>
93
+
94
+ <ask>Now let's dig into the experience itself.
95
+
96
+ **What's the core experience?**
97
+
98
+ - What's the ONE thing users will do most?
99
+ - What should be absolutely effortless?
100
+ - Which user action is most critical to get right?
101
+
102
+ **Platform:**
103
+ Where will users experience this? (Web, mobile app, desktop, multiple platforms)</ask>
104
+
105
+ <template-output>core_experience_and_platform</template-output>
106
+ </step>
107
+
108
+ <step n="1c" goal="Discover the desired emotional response">
109
+ <critical>Emotion drives behavior - this shapes everything</critical>
110
+
111
+ <ask>This is crucial - **what should users FEEL when using this?**
112
+
113
+ Not what they'll do, but what emotion or state they should experience:
114
+
115
+ - Empowered and in control?
116
+ - Delighted and surprised?
117
+ - Efficient and productive?
118
+ - Creative and inspired?
119
+ - Calm and focused?
120
+ - Connected and engaged?
121
+ - Something else?
122
+
123
+ Really think about the emotional response you want. What feeling would make them tell a friend about this?</ask>
124
+
125
+ <template-output>desired_emotional_response</template-output>
126
+ </step>
127
+
128
+ <step n="1d" goal="Gather inspiration and analyze UX patterns">
129
+ <critical>Learn from what users already love</critical>
130
+
131
+ <ask>**Inspiration time!**
132
+
133
+ Name 2-3 apps your users already love and USE regularly.
134
+
135
+ Feel free to share:
136
+
137
+ - App names (I'll look them up to see current UX)
138
+ - Screenshots (if you have examples of what you like)
139
+ - Links to products or demos
140
+
141
+ For each one, what do they do well from a UX perspective? What makes the experience compelling?</ask>
142
+
143
+ <action>For each app mentioned:
144
+ <WebSearch>{{app_name}} current interface UX design 2025</WebSearch>
145
+ <action>Analyze what makes that app's UX effective</action>
146
+ <action>Note patterns and principles that could apply to this project</action>
147
+ </action>
148
+
149
+ <action>If screenshots provided:
150
+ <action>Analyze screenshots for UX patterns, visual style, interaction patterns</action>
151
+ <action>Note what user finds compelling about these examples</action>
152
+ </action>
153
+
154
+ <template-output>inspiration_analysis</template-output>
155
+ </step>
156
+
157
+ <step n="1e" goal="Synthesize understanding and set facilitation mode">
158
+ <critical>Now analyze complexity and set the right facilitation approach</critical>
159
+
160
+ <action>Analyze project for UX complexity indicators: - Number of distinct user roles or personas - Number of primary user journeys - Interaction complexity (simple CRUD vs rich interactions) - Platform requirements (single vs multi-platform) - Real-time collaboration needs - Content creation vs consumption - Novel interaction patterns
161
+ </action>
162
+
163
+ <action>Based on {user_skill_level}, set facilitation approach:
164
+
165
+ <check if="{user_skill_level} == 'expert'">
166
+ Set mode: UX_EXPERT
167
+ - Use design terminology freely (affordances, information scent, cognitive load)
168
+ - Move quickly through familiar patterns
169
+ - Focus on nuanced tradeoffs and edge cases
170
+ - Reference design systems and frameworks by name
171
+ </check>
172
+
173
+ <check if="{user_skill_level} == 'intermediate'">
174
+ Set mode: UX_INTERMEDIATE
175
+ - Balance design concepts with clear explanations
176
+ - Provide brief context for UX decisions
177
+ - Use familiar analogies when helpful
178
+ - Confirm understanding at key points
179
+ </check>
180
+
181
+ <check if="{user_skill_level} == 'beginner'">
182
+ Set mode: UX_BEGINNER
183
+ - Explain design concepts in simple terms
184
+ - Use real-world analogies extensively
185
+ - Focus on "why this matters for users"
186
+ - Protect from overwhelming choices
187
+ </check>
188
+
189
+ </action>
190
+
191
+ <output>Here's what I'm understanding about {{project_name}}:
192
+
193
+ **Vision:** {{project_vision_summary}}
194
+ **Users:** {{user_summary}}
195
+ **Core Experience:** {{core_action_summary}}
196
+ **Desired Feeling:** {{emotional_goal}}
197
+ **Platform:** {{platform_summary}}
198
+ **Inspiration:** {{inspiration_summary_with_ux_patterns}}
199
+
200
+ **UX Complexity:** {{complexity_assessment}}
201
+
202
+ This helps me understand both what we're building and the experience we're aiming for. Let's start designing!</output>
203
+
204
+ <action>Load UX design template: {template}</action>
205
+ <action>Initialize output document at {default_output_file}</action>
206
+
207
+ <template-output>project_vision</template-output>
208
+ </step>
209
+
210
+ <step n="2" goal="Discover and evaluate design systems">
211
+ <critical>Modern design systems make many good UX decisions by default</critical>
212
+ <critical>Like starter templates for code, design systems provide proven patterns</critical>
213
+
214
+ <action>Based on platform and tech stack (if known from PRD), identify design system options:
215
+
216
+ For Web Applications:
217
+ - Material UI (Google's design language)
218
+ - shadcn/ui (Modern, customizable, Tailwind-based)
219
+ - Chakra UI (Accessible, themeable)
220
+ - Ant Design (Enterprise, comprehensive)
221
+ - Radix UI (Unstyled primitives, full control)
222
+ - Custom design system
223
+
224
+ For Mobile:
225
+ - iOS Human Interface Guidelines
226
+ - Material Design (Android)
227
+ - Custom mobile design
228
+
229
+ For Desktop:
230
+ - Platform native (macOS, Windows guidelines)
231
+ - Electron with web design system
232
+
233
+ </action>
234
+
235
+ <action>Search for current design system information:
236
+ <WebSearch>{{platform}} design system 2025 popular options accessibility</WebSearch>
237
+ <WebSearch>{{identified_design_system}} latest version components features</WebSearch>
238
+ </action>
239
+
240
+ <check if="design_systems_found">
241
+ <action>For each relevant design system, understand what it provides:
242
+ - Component library (buttons, forms, modals, etc.)
243
+ - Accessibility built-in (WCAG compliance)
244
+ - Theming capabilities
245
+ - Responsive patterns
246
+ - Icon library
247
+ - Documentation quality
248
+ </action>
249
+
250
+ <action>Present design system options:
251
+ "I found {{design_system_count}} design systems that could work well for your project.
252
+
253
+ Think of design systems like a foundation - they provide proven UI components and patterns,
254
+ so we're not reinventing buttons and forms. This speeds development and ensures consistency.
255
+
256
+ **Your Options:**
257
+
258
+ 1. **{{system_name}}**
259
+ - {{key_strengths}}
260
+ - {{component_count}} components | {{accessibility_level}}
261
+ - Best for: {{use_case}}
262
+
263
+ 2. **{{system_name}}**
264
+ - {{key_strengths}}
265
+ - {{component_count}} components | {{accessibility_level}}
266
+ - Best for: {{use_case}}
267
+
268
+ 3. **Custom Design System**
269
+ - Full control over every detail
270
+ - More effort, completely unique to your brand
271
+ - Best for: Strong brand identity needs, unique UX requirements
272
+
273
+ **My Recommendation:** {{recommendation}} for {{reason}}
274
+
275
+ This establishes our component foundation and interaction patterns."
276
+ </action>
277
+
278
+ <ask>Which design system approach resonates with you?
279
+
280
+ Or tell me:
281
+
282
+ - Do you need complete visual uniqueness? (→ custom)
283
+ - Want fast development with great defaults? (→ established system)
284
+ - Have brand guidelines to follow? (→ themeable system)
285
+ </ask>
286
+
287
+ <action>Record design system decision:
288
+ System: {{user_choice}}
289
+ Version: {{verified_version_if_applicable}}
290
+ Rationale: {{user_reasoning_or_recommendation_accepted}}
291
+ Provides: {{components_and_patterns_provided}}
292
+ Customization needs: {{custom_components_needed}}
293
+ </action>
294
+
295
+ </check>
296
+
297
+ <template-output>design_system_decision</template-output>
298
+ </step>
299
+
300
+ <step n="3a" goal="Identify the defining experience">
301
+ <critical>Every great app has a defining experience - identify it first</critical>
302
+
303
+ <action>Based on PRD/brief analysis, identify the core user experience: - What is the primary action users will repeat? - What makes this app unique vs. competitors? - What should be delightfully easy?
304
+ </action>
305
+
306
+ <ask>Let's identify your app's defining experience - the core interaction that, if we nail it, everything else follows.
307
+
308
+ When someone describes your app to a friend, what would they say?
309
+
310
+ **Examples:**
311
+
312
+ - "It's the app where you swipe to match with people" (Tinder)
313
+ - "You can share photos that disappear" (Snapchat)
314
+ - "It's like having a conversation with AI" (ChatGPT)
315
+ - "Capture and share moments" (Instagram)
316
+ - "Freeform content blocks" (Notion)
317
+ - "Real-time collaborative canvas" (Figma)
318
+
319
+ **What's yours?** What's the ONE experience that defines your app?</ask>
320
+
321
+ <action>Analyze if this core experience has established UX patterns:
322
+
323
+ Standard patterns exist for:
324
+ - CRUD operations (Create, Read, Update, Delete)
325
+ - E-commerce flows (Browse → Product → Cart → Checkout)
326
+ - Social feeds (Infinite scroll, like/comment)
327
+ - Authentication (Login, signup, password reset)
328
+ - Search and filter
329
+ - Content creation (Forms, editors)
330
+ - Dashboards and analytics
331
+
332
+ Novel patterns may be needed for:
333
+ - Unique interaction mechanics (before Tinder, swiping wasn't standard)
334
+ - New collaboration models (before Figma, real-time design wasn't solved)
335
+ - Unprecedented content types (before TikTok, vertical short video feeds)
336
+ - Complex multi-step workflows spanning features
337
+ - Innovative gamification or engagement loops
338
+
339
+ </action>
340
+
341
+ <template-output>defining_experience</template-output>
342
+ </step>
343
+
344
+ <step n="3b" goal="Design novel UX pattern (if needed)">
345
+ <critical>Skip this step if standard patterns apply. Run only if novel pattern detected.</critical>
346
+
347
+ <check if="novel_pattern_detected">
348
+ <output>The **{{pattern_name}}** interaction is novel - no established pattern exists yet!
349
+
350
+ Core UX challenge: {{challenge_description}}
351
+
352
+ This is exciting - we get to invent the user experience together. Let's design this interaction systematically.</output>
353
+
354
+ <ask>Let's think through the core mechanics of this {{pattern_name}} interaction:
355
+
356
+ 1. **User Goal:** What does the user want to accomplish?
357
+ 2. **Trigger:** How should they initiate this action? (button, gesture, voice, drag, etc.)
358
+ 3. **Feedback:** What should they see/feel happening?
359
+ 4. **Success:** How do they know it succeeded?
360
+ 5. **Errors:** What if something goes wrong? How do they recover?
361
+
362
+ Walk me through your mental model for this interaction - the ideal experience from the user's perspective.</ask>
363
+
364
+ <template-output>novel_pattern_mechanics</template-output>
365
+
366
+ </check>
367
+
368
+ <check if="!novel_pattern_detected">
369
+ <action>Skip to Step 3d - standard patterns apply</action>
370
+ </check>
371
+ </step>
372
+
373
+ <step n="3c" goal="Explore novel pattern deeply (if novel)">
374
+ <critical>Skip if not designing novel pattern</critical>
375
+
376
+ <check if="novel_pattern_detected">
377
+ <ask>Let's explore the {{pattern_name}} interaction more deeply to make it exceptional:
378
+
379
+ - **Similar Patterns:** What apps have SIMILAR (not identical) patterns we could learn from?
380
+ - **Speed:** What's the absolute fastest this action could complete?
381
+ - **Delight:** What's the most delightful way to give feedback?
382
+ - **Platform:** Should this work on mobile differently than desktop?
383
+ - **Shareability:** What would make someone show this to a friend?</ask>
384
+
385
+ <action>Document the novel UX pattern:
386
+ Pattern Name: {{pattern_name}}
387
+ User Goal: {{what_user_accomplishes}}
388
+ Trigger: {{how_initiated}}
389
+ Interaction Flow:
390
+ 1. {{step_1}}
391
+ 2. {{step_2}}
392
+ 3. {{step_3}}
393
+ Visual Feedback: {{what_user_sees}}
394
+ States: {{default_loading_success_error}}
395
+ Platform Considerations: {{desktop_vs_mobile_vs_tablet}}
396
+ Accessibility: {{keyboard_screen_reader_support}}
397
+ Inspiration: {{similar_patterns_from_other_apps}}
398
+ </action>
399
+
400
+ <template-output>novel_pattern_details</template-output>
401
+
402
+ </check>
403
+
404
+ <check if="!novel_pattern_detected">
405
+ <action>Skip to Step 3d - standard patterns apply</action>
406
+ </check>
407
+ </step>
408
+
409
+ <step n="3d" goal="Define core experience principles">
410
+ <critical>Establish the guiding principles for the entire experience</critical>
411
+
412
+ <action>Based on the defining experience and any novel patterns, define the core experience principles: - Speed: How fast should key actions feel? - Guidance: How much hand-holding do users need? - Flexibility: How much control vs. simplicity? - Feedback: Subtle or celebratory?
413
+ </action>
414
+
415
+ <output>Core experience principles established:
416
+
417
+ **Speed:** {{speed_principle}}
418
+ **Guidance:** {{guidance_principle}}
419
+ **Flexibility:** {{flexibility_principle}}
420
+ **Feedback:** {{feedback_principle}}
421
+
422
+ These principles will guide every UX decision from here forward.</output>
423
+
424
+ <template-output>core_experience_principles</template-output>
425
+ </step>
426
+
427
+ <step n="4" goal="Discover visual foundation through color theme exploration">
428
+ <critical>Visual design isn't decoration - it communicates brand and guides attention</critical>
429
+ <critical>SHOW options, don't just describe them - generate HTML visualizations</critical>
430
+ <critical>Use color psychology principles: blue=trust, red=energy, green=growth/calm, purple=creativity, etc.</critical>
431
+
432
+ <ask>Do you have existing brand guidelines or a specific color palette in mind? (y/n)
433
+
434
+ If yes: Share your brand colors, or provide a link to brand guidelines.
435
+ If no: I'll generate theme options based on your project's personality.
436
+ </ask>
437
+
438
+ <check if="existing_brand == true">
439
+ <ask>Please provide:
440
+ - Primary brand color(s) (hex codes if available)
441
+ - Secondary colors
442
+ - Any brand personality guidelines (professional, playful, minimal, etc.)
443
+ - Link to style guide (if available)
444
+ </ask>
445
+
446
+ <action>Extract and document brand colors</action>
447
+ <action>Generate semantic color mappings:
448
+ - Primary: {{brand_primary}} (main actions, key elements)
449
+ - Secondary: {{brand_secondary}} (supporting actions)
450
+ - Success: {{success_color}}
451
+ - Warning: {{warning_color}}
452
+ - Error: {{error_color}}
453
+ - Neutral: {{gray_scale}}
454
+ </action>
455
+
456
+ </check>
457
+
458
+ <check if="existing_brand == false">
459
+ <action>Based on project personality from PRD/brief, identify 3-4 theme directions:
460
+
461
+ Analyze project for:
462
+ - Industry (fintech → trust/security, creative → bold/expressive, health → calm/reliable)
463
+ - Target users (enterprise → professional, consumers → approachable, creators → inspiring)
464
+ - Brand personality keywords mentioned
465
+ - Competitor analysis (blend in or stand out?)
466
+
467
+ Generate theme directions:
468
+ 1. {{theme_1_name}} ({{personality}}) - {{color_strategy}}
469
+ 2. {{theme_2_name}} ({{personality}}) - {{color_strategy}}
470
+ 3. {{theme_3_name}} ({{personality}}) - {{color_strategy}}
471
+ 4. {{theme_4_name}} ({{personality}}) - {{color_strategy}}
472
+ </action>
473
+
474
+ <action>Generate comprehensive HTML color theme visualizer:
475
+
476
+ Create: {color_themes_html}
477
+
478
+ For each theme, show:
479
+
480
+ **Color Palette Section:**
481
+ - Primary, secondary, accent colors as large swatches
482
+ - Semantic colors (success, warning, error, info)
483
+ - Neutral grayscale (background, text, borders)
484
+ - Each swatch labeled with hex code and usage
485
+
486
+ **Live Component Examples:**
487
+ - Buttons (primary, secondary, disabled states)
488
+ - Form inputs (normal, focus, error states)
489
+ - Cards with content
490
+ - Navigation elements
491
+ - Success/error alerts
492
+ - Typography in theme colors
493
+
494
+ **Side-by-Side Comparison:**
495
+ - All themes visible in grid layout
496
+ - Responsive preview toggle
497
+ - Toggle between light/dark mode if applicable
498
+
499
+ **Theme Personality Description:**
500
+ - Emotional impact (trustworthy, energetic, calm, sophisticated)
501
+ - Best for (enterprise, consumer, creative, technical)
502
+ - Visual style (minimal, bold, playful, professional)
503
+
504
+ Include CSS with full theme variables for each option.
505
+ </action>
506
+
507
+ <action>Save HTML visualizer to {color_themes_html}</action>
508
+
509
+ <output>🎨 I've created a color theme visualizer!
510
+
511
+ Open this file in your browser: {color_themes_html}
512
+
513
+ You'll see {{theme_count}} complete theme options with:
514
+
515
+ - Full color palettes
516
+ - Actual UI components in each theme
517
+ - Side-by-side comparison
518
+ - Theme personality descriptions
519
+
520
+ Take your time exploring. Which theme FEELS right for your vision?
521
+ </output>
522
+
523
+ <ask>Which color theme direction resonates most?
524
+
525
+ You can:
526
+
527
+ - Choose a number (1-{{theme_count}})
528
+ - Combine elements: "I like the colors from #2 but the vibe of #3"
529
+ - Request variations: "Can you make #1 more vibrant?"
530
+ - Describe a custom direction
531
+
532
+ What speaks to you?
533
+ </ask>
534
+
535
+ <action>Based on user selection, finalize color palette:
536
+ - Extract chosen theme colors
537
+ - Apply any requested modifications
538
+ - Document semantic color usage
539
+ - Note rationale for selection
540
+ </action>
541
+
542
+ </check>
543
+
544
+ <action>Define typography system:
545
+
546
+ Based on brand personality and chosen colors:
547
+ - Font families (heading, body, monospace)
548
+ - Type scale (h1-h6, body, small, tiny)
549
+ - Font weights and when to use them
550
+ - Line heights for readability
551
+
552
+ <check if="design_system_chosen">
553
+ Use {{design_system}} default typography as starting point.
554
+ Customize if brand requires it.
555
+ </check>
556
+
557
+ </action>
558
+
559
+ <action>Define spacing and layout foundation: - Base unit (4px, 8px system) - Spacing scale (xs, sm, md, lg, xl, 2xl, etc.) - Layout grid (12-column, custom, or design system default) - Container widths for different breakpoints
560
+ </action>
561
+
562
+ <template-output>visual_foundation</template-output>
563
+ </step>
564
+
565
+ <step n="5" goal="Generate design direction mockups for visual decision-making">
566
+ <critical>This is the game-changer - SHOW actual design directions, don't just discuss them</critical>
567
+ <critical>Users make better decisions when they SEE options, not imagine them</critical>
568
+ <critical>Consider platform norms: desktop apps often use sidebar nav, mobile apps use bottom nav or tabs</critical>
569
+
570
+ <action>Based on PRD and core experience, identify 2-3 key screens to mock up:
571
+
572
+ Priority screens:
573
+ 1. Entry point (landing page, dashboard, home screen)
574
+ 2. Core action screen (where primary user task happens)
575
+ 3. Critical conversion (signup, create, submit, purchase)
576
+
577
+ For each screen, extract:
578
+ - Primary goal of this screen
579
+ - Key information to display
580
+ - Primary action(s)
581
+ - Secondary actions
582
+ - Navigation context
583
+
584
+ </action>
585
+
586
+ <action>Generate 6-8 different design direction variations exploring different UX approaches:
587
+
588
+ Vary these dimensions:
589
+
590
+ **Layout Approach:**
591
+ - Sidebar navigation vs top nav vs floating action button
592
+ - Single column vs multi-column
593
+ - Card-based vs list-based vs grid
594
+ - Centered vs left-aligned content
595
+
596
+ **Visual Hierarchy:**
597
+ - Dense (information-rich) vs Spacious (breathing room)
598
+ - Bold headers vs subtle headers
599
+ - Imagery-heavy vs text-focused
600
+
601
+ **Interaction Patterns:**
602
+ - Modal workflows vs inline expansion
603
+ - Progressive disclosure vs all-at-once
604
+ - Drag-and-drop vs click-to-select
605
+
606
+ **Visual Weight:**
607
+ - Minimal (lots of white space, subtle borders)
608
+ - Balanced (clear structure, moderate visual weight)
609
+ - Rich (gradients, shadows, visual depth)
610
+ - Maximalist (bold, high contrast, dense)
611
+
612
+ **Content Approach:**
613
+ - Scannable (lists, cards, quick consumption)
614
+ - Immersive (large imagery, storytelling)
615
+ - Data-driven (charts, tables, metrics)
616
+
617
+ </action>
618
+
619
+ <action>Create comprehensive HTML design direction showcase:
620
+
621
+ Create: {design_directions_html}
622
+
623
+ For EACH design direction (6-8 total):
624
+
625
+ **Full-Screen Mockup:**
626
+ - Complete HTML/CSS implementation
627
+ - Using chosen color theme
628
+ - Real (or realistic placeholder) content
629
+ - Interactive states (hover effects, focus states)
630
+ - Responsive behavior
631
+
632
+ **Design Philosophy Label:**
633
+ - Direction name (e.g., "Dense Dashboard", "Spacious Explorer", "Card Gallery")
634
+ - Personality (e.g., "Professional & Efficient", "Friendly & Approachable")
635
+ - Best for (e.g., "Power users who need lots of info", "First-time visitors who need guidance")
636
+
637
+ **Key Characteristics:**
638
+ - Layout: {{approach}}
639
+ - Density: {{level}}
640
+ - Navigation: {{style}}
641
+ - Primary action prominence: {{high_medium_low}}
642
+
643
+ **Navigation Controls:**
644
+ - Previous/Next buttons to cycle through directions
645
+ - Thumbnail grid to jump to any direction
646
+ - Side-by-side comparison mode (show 2-3 at once)
647
+ - Responsive preview toggle (desktop/tablet/mobile)
648
+ - Favorite/flag directions for later comparison
649
+
650
+ **Notes Section:**
651
+ - User can click to add notes about each direction
652
+ - "What I like" and "What I'd change" fields
653
+
654
+ </action>
655
+
656
+ <action>Save comprehensive HTML showcase to {design_directions_html}</action>
657
+
658
+ <output>🎨 Design Direction Mockups Generated!
659
+
660
+ I've created {{mockup_count}} different design approaches for your key screens.
661
+
662
+ Open: {design_directions_html}
663
+
664
+ Each mockup shows a complete vision for your app's look and feel.
665
+
666
+ As you explore, look for:
667
+ ✓ Which layout feels most intuitive for your users?
668
+ ✓ Which information hierarchy matches your priorities?
669
+ ✓ Which interaction style fits your core experience?
670
+ ✓ Which visual weight feels right for your brand?
671
+
672
+ You can:
673
+
674
+ - Navigate through all directions
675
+ - Compare them side-by-side
676
+ - Toggle between desktop/mobile views
677
+ - Add notes about what you like
678
+
679
+ Take your time - this is a crucial decision!
680
+ </output>
681
+
682
+ <ask>Which design direction(s) resonate most with your vision?
683
+
684
+ You can:
685
+
686
+ - Pick a favorite by number: "Direction #3 is perfect!"
687
+ - Combine elements: "The layout from #2 with the density of #5"
688
+ - Request modifications: "I like #6 but can we make it less dense?"
689
+ - Ask me to explore variations: "Can you show me more options like #4 but with side navigation?"
690
+
691
+ What speaks to you?
692
+ </ask>
693
+
694
+ <action>Based on user selection, extract and document design decisions:
695
+
696
+ Chosen Direction: {{direction_number_or_hybrid}}
697
+
698
+ Layout Decisions:
699
+ - Navigation pattern: {{sidebar_top_floating}}
700
+ - Content structure: {{single_multi_column}}
701
+ - Content organization: {{cards_lists_grid}}
702
+
703
+ Hierarchy Decisions:
704
+ - Visual density: {{spacious_balanced_dense}}
705
+ - Header emphasis: {{bold_subtle}}
706
+ - Content focus: {{imagery_text_data}}
707
+
708
+ Interaction Decisions:
709
+ - Primary action pattern: {{modal_inline_dedicated}}
710
+ - Information disclosure: {{progressive_all_at_once}}
711
+ - User control: {{guided_flexible}}
712
+
713
+ Visual Style Decisions:
714
+ - Weight: {{minimal_balanced_rich_maximalist}}
715
+ - Depth cues: {{flat_subtle_elevation_dramatic_depth}}
716
+ - Border style: {{none_subtle_strong}}
717
+
718
+ Rationale: {{why_user_chose_this_direction}}
719
+ User notes: {{what_they_liked_and_want_to_change}}
720
+
721
+ </action>
722
+
723
+ <check if="user_wants_modifications">
724
+ <action>Generate 2-3 refined variations incorporating requested changes</action>
725
+ <action>Update HTML showcase with refined options</action>
726
+ <ask>Better? Pick your favorite refined version.</ask>
727
+ </check>
728
+
729
+ <template-output>design_direction_decision</template-output>
730
+ </step>
731
+
732
+ <step n="6" goal="Collaborative user journey design">
733
+ <critical>User journeys are conversations, not just flowcharts</critical>
734
+ <critical>Design WITH the user, exploring options for each key flow</critical>
735
+
736
+ <action>Extract critical user journeys from PRD: - Primary user tasks - Conversion flows - Onboarding sequence - Content creation workflows - Any complex multi-step processes
737
+ </action>
738
+
739
+ <action>For each critical journey, identify the goal and current assumptions</action>
740
+
741
+ <for-each journey="critical_user_journeys">
742
+
743
+ <output>**User Journey: {{journey_name}}**
744
+
745
+ User goal: {{what_user_wants_to_accomplish}}
746
+ Current entry point: {{where_journey_starts}}
747
+ </output>
748
+
749
+ <ask>Let's design the flow for {{journey_name}}.
750
+
751
+ Walk me through how a user should accomplish this task:
752
+
753
+ 1. **Entry:** What's the first thing they see/do?
754
+ 2. **Input:** What information do they need to provide?
755
+ 3. **Feedback:** What should they see/feel along the way?
756
+ 4. **Success:** How do they know they succeeded?
757
+
758
+ As you think through this, consider:
759
+
760
+ - What's the minimum number of steps to value?
761
+ - Where are the decision points and branching?
762
+ - How do they recover from errors?
763
+ - Should we show everything upfront, or progressively?
764
+
765
+ Share your mental model for this flow.</ask>
766
+
767
+ <action>Based on journey complexity, present 2-3 flow approach options:
768
+
769
+ <check if="simple_linear_journey">
770
+ Option A: Single-screen approach (all inputs/actions on one page)
771
+ Option B: Wizard/stepper approach (split into clear steps)
772
+ Option C: Hybrid (main flow on one screen, advanced options collapsed)
773
+ </check>
774
+
775
+ <check if="complex_branching_journey">
776
+ Option A: Guided flow (system determines next step based on inputs)
777
+ Option B: User-driven navigation (user chooses path)
778
+ Option C: Adaptive (simple mode vs advanced mode toggle)
779
+ </check>
780
+
781
+ <check if="creation_journey">
782
+ Option A: Template-first (start from templates, customize)
783
+ Option B: Blank canvas (full flexibility, more guidance needed)
784
+ Option C: Progressive creation (start simple, add complexity)
785
+ </check>
786
+
787
+ For each option, explain:
788
+ - User experience: {{what_it_feels_like}}
789
+ - Pros: {{benefits}}
790
+ - Cons: {{tradeoffs}}
791
+ - Best for: {{user_type_or_scenario}}
792
+ </action>
793
+
794
+ <ask>Which approach fits best? Or should we blend elements?</ask>
795
+
796
+ <action>Create detailed flow documentation:
797
+
798
+ Journey: {{journey_name}}
799
+ User Goal: {{goal}}
800
+ Approach: {{chosen_approach}}
801
+
802
+ Flow Steps:
803
+ 1. {{step_1_screen_and_action}}
804
+ - User sees: {{information_displayed}}
805
+ - User does: {{primary_action}}
806
+ - System responds: {{feedback}}
807
+
808
+ 2. {{step_2_screen_and_action}}
809
+ ...
810
+
811
+ Decision Points:
812
+ - {{decision_point}}: {{branching_logic}}
813
+
814
+ Error States:
815
+ - {{error_scenario}}: {{how_user_recovers}}
816
+
817
+ Success State:
818
+ - Completion feedback: {{what_user_sees}}
819
+ - Next action: {{what_happens_next}}
820
+
821
+ [Generate Mermaid diagram showing complete flow]
822
+ </action>
823
+
824
+ </for-each>
825
+
826
+ <template-output>user_journey_flows</template-output>
827
+ </step>
828
+
829
+ <step n="7" goal="Component library strategy and custom component design">
830
+ <critical>Balance design system components with custom needs</critical>
831
+
832
+ <action>Based on design system chosen + design direction mockups + user journeys:</action>
833
+
834
+ <action>Identify required components:
835
+
836
+ From Design System (if applicable):
837
+ - {{list_of_components_provided}}
838
+
839
+ Custom Components Needed:
840
+ - {{unique_component_1}} ({{why_custom}})
841
+ - {{unique_component_2}} ({{why_custom}})
842
+
843
+ Components Requiring Heavy Customization:
844
+ - {{component}} ({{what_customization}})
845
+
846
+ </action>
847
+
848
+ <ask>For components not covered by {{design_system}}, let's define them together.
849
+
850
+ Component: {{custom_component_name}}
851
+
852
+ 1. What's its purpose? (what does it do for users?)
853
+ 2. What content/data does it display?
854
+ 3. What actions can users take with it?
855
+ 4. What states does it have? (default, hover, active, loading, error, disabled, etc.)
856
+ 5. Are there variants? (sizes, styles, layouts)
857
+ </ask>
858
+
859
+ <action>For each custom component, document:
860
+
861
+ Component Name: {{name}}
862
+ Purpose: {{user_facing_purpose}}
863
+
864
+ Anatomy:
865
+ - {{element_1}}: {{description}}
866
+ - {{element_2}}: {{description}}
867
+
868
+ States:
869
+ - Default: {{appearance}}
870
+ - Hover: {{changes}}
871
+ - Active/Selected: {{changes}}
872
+ - Loading: {{loading_indicator}}
873
+ - Error: {{error_display}}
874
+ - Disabled: {{appearance}}
875
+
876
+ Variants:
877
+ - {{variant_1}}: {{when_to_use}}
878
+ - {{variant_2}}: {{when_to_use}}
879
+
880
+ Behavior:
881
+ - {{interaction}}: {{what_happens}}
882
+
883
+ Accessibility:
884
+ - ARIA role: {{role}}
885
+ - Keyboard navigation: {{keys}}
886
+ - Screen reader: {{announcement}}
887
+
888
+ </action>
889
+
890
+ <template-output>component_library_strategy</template-output>
891
+ </step>
892
+
893
+ <step n="8" goal="Define UX pattern decisions for consistency">
894
+ <critical>These are implementation patterns for UX - ensure consistency across the app</critical>
895
+ <critical>Like the architecture workflow's implementation patterns, but for user experience</critical>
896
+ <critical>These decisions prevent "it works differently on every page" confusion</critical>
897
+
898
+ <action>Based on chosen components and journeys, identify UX consistency decisions needed:
899
+
900
+ BUTTON HIERARCHY (How users know what's most important):
901
+ - Primary action: {{style_and_usage}}
902
+ - Secondary action: {{style_and_usage}}
903
+ - Tertiary action: {{style_and_usage}}
904
+ - Destructive action: {{style_and_usage}}
905
+
906
+ FEEDBACK PATTERNS (How system communicates with users):
907
+ - Success: {{pattern}} (toast, inline, modal, page-level)
908
+ - Error: {{pattern}}
909
+ - Warning: {{pattern}}
910
+ - Info: {{pattern}}
911
+ - Loading: {{pattern}} (spinner, skeleton, progress bar)
912
+
913
+ FORM PATTERNS (How users input data):
914
+ - Label position: {{above_inline_floating}}
915
+ - Required field indicator: {{asterisk_text_visual}}
916
+ - Validation timing: {{onBlur_onChange_onSubmit}}
917
+ - Error display: {{inline_summary_both}}
918
+ - Help text: {{tooltip_caption_modal}}
919
+
920
+ MODAL PATTERNS (How dialogs behave):
921
+ - Size variants: {{when_to_use_each}}
922
+ - Dismiss behavior: {{click_outside_escape_explicit_close}}
923
+ - Focus management: {{auto_focus_strategy}}
924
+ - Stacking: {{how_multiple_modals_work}}
925
+
926
+ NAVIGATION PATTERNS (How users move through app):
927
+ - Active state indication: {{visual_cue}}
928
+ - Breadcrumb usage: {{when_shown}}
929
+ - Back button behavior: {{browser_back_vs_app_back}}
930
+ - Deep linking: {{supported_patterns}}
931
+
932
+ EMPTY STATE PATTERNS (What users see when no content):
933
+ - First use: {{guidance_and_cta}}
934
+ - No results: {{helpful_message}}
935
+ - Cleared content: {{undo_option}}
936
+
937
+ CONFIRMATION PATTERNS (When to confirm destructive actions):
938
+ - Delete: {{always_sometimes_never_with_undo}}
939
+ - Leave unsaved: {{warn_or_autosave}}
940
+ - Irreversible actions: {{confirmation_level}}
941
+
942
+ NOTIFICATION PATTERNS (How users stay informed):
943
+ - Placement: {{top_bottom_corner}}
944
+ - Duration: {{auto_dismiss_vs_manual}}
945
+ - Stacking: {{how_multiple_notifications_appear}}
946
+ - Priority levels: {{critical_important_info}}
947
+
948
+ SEARCH PATTERNS (How search behaves):
949
+ - Trigger: {{auto_or_manual}}
950
+ - Results display: {{instant_on_enter}}
951
+ - Filters: {{placement_and_behavior}}
952
+ - No results: {{suggestions_or_message}}
953
+
954
+ DATE/TIME PATTERNS (How temporal data appears):
955
+ - Format: {{relative_vs_absolute}}
956
+ - Timezone handling: {{user_local_utc}}
957
+ - Pickers: {{calendar_dropdown_input}}
958
+
959
+ </action>
960
+
961
+ <output>I've identified {{pattern_count}} UX pattern categories that need consistent decisions across your app. Let's make these decisions together to ensure users get a consistent experience.
962
+
963
+ These patterns determine how {{project_name}} behaves in common situations - like how buttons work, how forms validate, how modals behave, etc.</output>
964
+
965
+ <ask>For each pattern category below, I'll present options and a recommendation. Tell me your preferences or ask questions.
966
+
967
+ **Pattern Categories to Decide:**
968
+
969
+ - Button hierarchy (primary, secondary, destructive)
970
+ - Feedback patterns (success, error, loading)
971
+ - Form patterns (labels, validation, help text)
972
+ - Modal patterns (size, dismiss, focus)
973
+ - Navigation patterns (active state, back button)
974
+ - Empty state patterns
975
+ - Confirmation patterns (delete, unsaved changes)
976
+ - Notification patterns
977
+ - Search patterns
978
+ - Date/time patterns
979
+
980
+ For each one, do you want to:
981
+
982
+ 1. Go through each pattern category one by one (thorough)
983
+ 2. Focus only on the most critical patterns for your app (focused)
984
+ 3. Let me recommend defaults and you override where needed (efficient)</ask>
985
+
986
+ <action>Based on user choice, facilitate pattern decisions with appropriate depth: - If thorough: Present all categories with options and reasoning - If focused: Identify 3-5 critical patterns based on app type - If efficient: Recommend smart defaults, ask for overrides
987
+
988
+ For each pattern decision, document:
989
+ - Pattern category
990
+ - Chosen approach
991
+ - Rationale (why this choice for this app)
992
+ - Example scenarios where it applies
993
+
994
+ </action>
995
+
996
+ <template-output>ux_pattern_decisions</template-output>
997
+ </step>
998
+
999
+ <step n="9" goal="Responsive and accessibility strategy">
1000
+ <critical>Responsive design isn't just "make it smaller" - it's adapting the experience</critical>
1001
+
1002
+ <action>Based on platform requirements from PRD and chosen design direction:</action>
1003
+
1004
+ <ask>Let's define how your app adapts across devices.
1005
+
1006
+ Target devices from PRD: {{devices}}
1007
+
1008
+ For responsive design:
1009
+
1010
+ 1. **Desktop** (large screens):
1011
+ - How should we use the extra space?
1012
+ - Multi-column layouts?
1013
+ - Side navigation?
1014
+
1015
+ 2. **Tablet** (medium screens):
1016
+ - Simplified layout from desktop?
1017
+ - Touch-optimized interactions?
1018
+ - Portrait vs landscape considerations?
1019
+
1020
+ 3. **Mobile** (small screens):
1021
+ - Bottom navigation or hamburger menu?
1022
+ - How do multi-column layouts collapse?
1023
+ - Touch target sizes adequate?
1024
+
1025
+ What's most important for each screen size?
1026
+ </ask>
1027
+
1028
+ <action>Define breakpoint strategy:
1029
+
1030
+ Based on chosen layout pattern from design direction:
1031
+
1032
+ Breakpoints:
1033
+ - Mobile: {{max_width}} ({{cols}}-column layout, {{nav_pattern}})
1034
+ - Tablet: {{range}} ({{cols}}-column layout, {{nav_pattern}})
1035
+ - Desktop: {{min_width}} ({{cols}}-column layout, {{nav_pattern}})
1036
+
1037
+ Adaptation Patterns:
1038
+ - Navigation: {{how_it_changes}}
1039
+ - Sidebar: {{collapse_hide_convert}}
1040
+ - Cards/Lists: {{grid_to_single_column}}
1041
+ - Tables: {{horizontal_scroll_card_view_hide_columns}}
1042
+ - Modals: {{full_screen_on_mobile}}
1043
+ - Forms: {{layout_changes}}
1044
+
1045
+ </action>
1046
+
1047
+ <action>Define accessibility strategy:
1048
+
1049
+ <ask>Let's define your accessibility strategy.
1050
+
1051
+ Accessibility means your app works for everyone, including people with disabilities:
1052
+
1053
+ - Can someone using only a keyboard navigate?
1054
+ - Can someone using a screen reader understand what's on screen?
1055
+ - Can someone with color blindness distinguish important elements?
1056
+ - Can someone with motor difficulties use your buttons?
1057
+
1058
+ **WCAG Compliance Levels:**
1059
+
1060
+ - **Level A** - Basic accessibility (minimum)
1061
+ - **Level AA** - Recommended standard, legally required for government/education/public sites
1062
+ - **Level AAA** - Highest standard (not always practical for all content)
1063
+
1064
+ **Legal Context:**
1065
+
1066
+ - Government/Education: Must meet WCAG 2.1 Level AA
1067
+ - Public websites (US): ADA requires accessibility
1068
+ - EU: Accessibility required
1069
+
1070
+ Based on your deployment intent: {{recommendation}}
1071
+
1072
+ **What level should we target?**</ask>
1073
+
1074
+ Accessibility Requirements:
1075
+
1076
+ Compliance Target: {{WCAG_level}}
1077
+
1078
+ Key Requirements:
1079
+ - Color contrast: {{ratio_required}} (text vs background)
1080
+ - Keyboard navigation: All interactive elements accessible
1081
+ - Focus indicators: Visible focus states on all interactive elements
1082
+ - ARIA labels: Meaningful labels for screen readers
1083
+ - Alt text: Descriptive text for all meaningful images
1084
+ - Form labels: Proper label associations
1085
+ - Error identification: Clear, descriptive error messages
1086
+ - Touch target size: Minimum {{size}} for mobile
1087
+
1088
+ Testing Strategy:
1089
+ - Automated: {{tools}} (Lighthouse, axe DevTools)
1090
+ - Manual: Keyboard-only navigation testing
1091
+ - Screen reader: {{tool}} testing
1092
+
1093
+ </action>
1094
+
1095
+ <template-output>responsive_accessibility_strategy</template-output>
1096
+ </step>
1097
+
1098
+ <step n="10" goal="Finalize UX design specification">
1099
+ <critical>The document is built progressively throughout - now finalize and offer extensions</critical>
1100
+
1101
+ <action>Ensure document is complete with all template-output sections filled</action>
1102
+
1103
+ <action>Generate completion summary:
1104
+
1105
+ "Excellent work! Your UX Design Specification is complete.
1106
+
1107
+ **What we created together:**
1108
+
1109
+ - **Design System:** {{choice}} with {{custom_component_count}} custom components
1110
+ - **Visual Foundation:** {{color_theme}} color theme with {{typography_choice}} typography and spacing system
1111
+ - **Design Direction:** {{chosen_direction}} - {{why_it_fits}}
1112
+ - **User Journeys:** {{journey_count}} flows designed with clear navigation paths
1113
+ - **UX Patterns:** {{pattern_count}} consistency rules established for cohesive experience
1114
+ - **Responsive Strategy:** {{breakpoint_count}} breakpoints with adaptation patterns for all device sizes
1115
+ - **Accessibility:** {{WCAG_level}} compliance requirements defined
1116
+
1117
+ **Your Deliverables:**
1118
+ - UX Design Document: {default_output_file}
1119
+ - Interactive Color Themes: {color_themes_html}
1120
+ - Design Direction Mockups: {design_directions_html}
1121
+
1122
+ **What happens next:**
1123
+ - Designers can create high-fidelity mockups from this foundation
1124
+ - Developers can implement with clear UX guidance and rationale
1125
+ - All your design decisions are documented with reasoning for future reference
1126
+
1127
+ You've made thoughtful choices through visual collaboration that will create a great user experience. Ready for design refinement and implementation!"
1128
+
1129
+ </action>
1130
+
1131
+ <action>Save final document to {default_output_file}</action>
1132
+
1133
+ <check if="standalone_mode != true">
1134
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
1135
+ <action>Find workflow_status key "create-design"</action>
1136
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
1137
+ <action>Update workflow_status["create-design"] = "{default_output_file}"</action>
1138
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
1139
+
1140
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
1141
+ <action>Determine next agent from path file based on next workflow</action>
1142
+
1143
+ </check>
1144
+
1145
+ <ask>🎨 **One more thing!** Want to see your design come to life?
1146
+
1147
+ I can generate interactive HTML mockups using all your design choices:
1148
+
1149
+ **1. Key Screens Showcase** - 6-8 panels showing your app's main screens (home, core action, settings, etc.) with your chosen:
1150
+
1151
+ - Color theme and typography
1152
+ - Design direction and layout
1153
+ - Component styles
1154
+ - Navigation patterns
1155
+
1156
+ **2. User Journey Visualization** - Step-by-step HTML mockup of one of your critical user journeys with:
1157
+
1158
+ - Each screen in the flow
1159
+ - Interactive transitions
1160
+ - Success states and feedback
1161
+ - All your design decisions applied
1162
+
1163
+ **3. Something else** - Tell me what you want to see!
1164
+
1165
+ **4. Skip for now** - I'll just finalize the documentation
1166
+
1167
+ What would you like?</ask>
1168
+
1169
+ <check if="user_choice == 'key_screens' or similar">
1170
+ <action>Generate comprehensive multi-panel HTML showcase:
1171
+
1172
+ Create: {final_app_showcase_html}
1173
+
1174
+ Include 6-8 screens representing:
1175
+ - Landing/Home screen
1176
+ - Main dashboard or feed
1177
+ - Core action screen (primary user task)
1178
+ - Profile or settings
1179
+ - Create/Edit screen
1180
+ - Results or success state
1181
+ - Modal/dialog examples
1182
+ - Empty states
1183
+
1184
+ Apply ALL design decisions:
1185
+ - {{chosen_color_theme}} with exact colors
1186
+ - {{chosen_design_direction}} layout and hierarchy
1187
+ - {{design_system}} components styled per decisions
1188
+ - {{typography_system}} applied consistently
1189
+ - {{spacing_system}} and responsive breakpoints
1190
+ - {{ux_patterns}} for consistency
1191
+ - {{accessibility_requirements}}
1192
+
1193
+ Make it interactive:
1194
+ - Hover states on buttons
1195
+ - Tab switching where applicable
1196
+ - Modal overlays
1197
+ - Form validation states
1198
+ - Navigation highlighting
1199
+
1200
+ Output as single HTML file with inline CSS and minimal JavaScript
1201
+ </action>
1202
+
1203
+ <output>✨ **Created: {final_app_showcase_html}**
1204
+
1205
+ Open this file in your browser to see {{project_name}} come to life with all your design choices applied! You can:
1206
+
1207
+ - Navigate between screens
1208
+ - See hover and interactive states
1209
+ - Experience your chosen design direction
1210
+ - Share with stakeholders for feedback
1211
+
1212
+ This showcases exactly what developers will build.</output>
1213
+ </check>
1214
+
1215
+ <check if="user_choice == 'user_journey' or similar">
1216
+ <ask>Which user journey would you like to visualize?
1217
+
1218
+ {{list_of_designed_journeys}}
1219
+
1220
+ Pick one, or tell me which flow you want to see!</ask>
1221
+
1222
+ <action>Generate step-by-step journey HTML:
1223
+
1224
+ Create: {journey_visualization_html}
1225
+
1226
+ For {{selected_journey}}:
1227
+ - Show each step as a full screen
1228
+ - Include navigation between steps (prev/next buttons)
1229
+ - Apply all design decisions consistently
1230
+ - Show state changes and feedback
1231
+ - Include success/error scenarios
1232
+ - Annotate design decisions on hover
1233
+
1234
+ Make it feel like a real user flow through the app
1235
+ </action>
1236
+
1237
+ <output>✨ **Created: {journey_visualization_html}**
1238
+
1239
+ Walk through the {{selected_journey}} flow step-by-step in your browser! This shows the exact experience users will have, with all your UX decisions applied.</output>
1240
+ </check>
1241
+
1242
+ <check if="user_choice == 'something_else'">
1243
+ <ask>Tell me what you'd like to visualize! I can generate HTML mockups for:
1244
+ - Specific screens or features
1245
+ - Interactive components
1246
+ - Responsive breakpoint comparisons
1247
+ - Accessibility features in action
1248
+ - Animation and transition concepts
1249
+ - Whatever you envision!
1250
+
1251
+ What should I create?</ask>
1252
+
1253
+ <action>Generate custom HTML visualization based on user request:
1254
+ - Parse what they want to see
1255
+ - Apply all relevant design decisions
1256
+ - Create interactive HTML mockup
1257
+ - Make it visually compelling and functional
1258
+ </action>
1259
+
1260
+ <output>✨ **Created: {{custom_visualization_file}}**
1261
+
1262
+ {{description_of_what_was_created}}
1263
+
1264
+ Open in browser to explore!</output>
1265
+ </check>
1266
+
1267
+ <output>**✅ UX Design Specification Complete!**
1268
+
1269
+ **Core Deliverables:**
1270
+
1271
+ - ✅ UX Design Specification: {default_output_file}
1272
+ - ✅ Color Theme Visualizer: {color_themes_html}
1273
+ - ✅ Design Direction Mockups: {design_directions_html}
1274
+
1275
+ **Recommended Next Steps:**
1276
+
1277
+ {{#if tracking_mode == true}}
1278
+
1279
+ - **Next required:** {{next_workflow}} ({{next_agent}} agent)
1280
+ - **Optional:** Run validation with \*validate-design, or generate additional UX artifacts (wireframes, prototypes, etc.)
1281
+
1282
+ Check status anytime with: `workflow-status`
1283
+ {{else}}
1284
+ Since no workflow is in progress:
1285
+
1286
+ - Run validation checklist with \*validate-design (recommended)
1287
+ - Refer to the BMM workflow guide if unsure what to do next
1288
+ - Or run `workflow-init` to create a workflow path and get guided next steps
1289
+
1290
+ **Optional Follow-Up Workflows:**
1291
+
1292
+ - Wireframe Generation / Figma Design / Interactive Prototype workflows
1293
+ - Component Showcase / AI Frontend Prompt workflows
1294
+ - Solution Architecture workflow (with UX context)
1295
+ {{/if}}
1296
+ </output>
1297
+
1298
+ <template-output>completion_summary</template-output>
1299
+ </step>
1300
+
1301
+ </workflow>