bmad-method 6.0.0-alpha.3 → 6.0.0-alpha.5

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