bmm-opencode 1.4.2 → 1.4.3

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 (126) hide show
  1. package/.opencode/agents/bmad-bmad-master.md +11 -0
  2. package/.opencode/agents/bmm-analyst.md +10 -32
  3. package/.opencode/agents/bmm-architect.md +6 -34
  4. package/.opencode/agents/bmm-dev.md +6 -32
  5. package/.opencode/agents/bmm-pm.md +10 -41
  6. package/.opencode/agents/bmm-qa.md +5 -31
  7. package/.opencode/agents/bmm-quick-flow-solo-dev.md +7 -32
  8. package/.opencode/agents/bmm-sm.md +8 -32
  9. package/.opencode/agents/bmm-tech-writer.md +12 -0
  10. package/.opencode/agents/bmm-ux-designer.md +5 -37
  11. package/.opencode/commands/bmad-bmm-check-implementation-readiness.md +7 -0
  12. package/.opencode/commands/bmad-bmm-code-review.md +7 -0
  13. package/.opencode/commands/bmad-bmm-correct-course.md +7 -0
  14. package/.opencode/commands/bmad-bmm-create-architecture.md +7 -0
  15. package/.opencode/commands/bmad-bmm-create-epics-and-stories.md +7 -0
  16. package/.opencode/commands/bmad-bmm-create-prd.md +7 -0
  17. package/.opencode/commands/bmad-bmm-create-product-brief.md +7 -0
  18. package/.opencode/commands/bmad-bmm-create-story.md +7 -0
  19. package/.opencode/commands/bmad-bmm-create-ux-design.md +7 -0
  20. package/.opencode/commands/bmad-bmm-dev-story.md +7 -0
  21. package/.opencode/commands/bmad-bmm-document-project.md +7 -0
  22. package/.opencode/commands/bmad-bmm-domain-research.md +7 -0
  23. package/.opencode/commands/bmad-bmm-edit-prd.md +7 -0
  24. package/.opencode/commands/bmad-bmm-generate-project-context.md +5 -0
  25. package/.opencode/commands/bmad-bmm-market-research.md +7 -0
  26. package/.opencode/commands/bmad-bmm-quick-dev.md +7 -0
  27. package/.opencode/commands/bmad-bmm-quick-spec.md +7 -0
  28. package/.opencode/commands/bmad-bmm-retrospective.md +7 -0
  29. package/.opencode/commands/bmad-bmm-sprint-planning.md +7 -0
  30. package/.opencode/commands/bmad-bmm-sprint-status.md +5 -0
  31. package/.opencode/commands/bmad-bmm-technical-research.md +7 -0
  32. package/.opencode/commands/bmad-bmm-validate-prd.md +7 -0
  33. package/.opencode/commands/bmad-brainstorming.md +7 -0
  34. package/.opencode/commands/bmad-editorial-review-prose.md +5 -0
  35. package/.opencode/commands/bmad-editorial-review-structure.md +5 -0
  36. package/.opencode/commands/bmad-help.md +5 -0
  37. package/.opencode/commands/bmad-index-docs.md +5 -0
  38. package/.opencode/commands/bmad-review-adversarial-general.md +5 -0
  39. package/.opencode/commands/bmad-shard-doc.md +5 -0
  40. package/.opencode/skills/bmad-bmad-master/SKILL.md +56 -0
  41. package/.opencode/skills/bmad-bmm-analyst/SKILL.md +65 -38
  42. package/.opencode/skills/bmad-bmm-architect/SKILL.md +49 -38
  43. package/.opencode/skills/bmad-bmm-check-implementation-readiness/SKILL.md +1092 -24
  44. package/.opencode/skills/bmad-bmm-code-review/SKILL.md +45 -13
  45. package/.opencode/skills/bmad-bmm-correct-course/SKILL.md +56 -94
  46. package/.opencode/skills/bmad-bmm-create-architecture/SKILL.md +2391 -27
  47. package/.opencode/skills/bmad-bmm-create-epics-and-stories/SKILL.md +927 -23
  48. package/.opencode/skills/bmad-bmm-create-prd/SKILL.md +9 -26
  49. package/.opencode/skills/bmad-bmm-create-product-brief/SKILL.md +1358 -22
  50. package/.opencode/skills/bmad-bmm-create-story/SKILL.md +61 -24
  51. package/.opencode/skills/bmad-bmm-create-ux-design/SKILL.md +3275 -26
  52. package/.opencode/skills/bmad-bmm-dev/SKILL.md +57 -43
  53. package/.opencode/skills/bmad-bmm-dev-story/SKILL.md +20 -13
  54. package/.opencode/skills/bmad-bmm-document-project/SKILL.md +22 -81
  55. package/.opencode/skills/bmad-bmm-domain-research/SKILL.md +53 -37
  56. package/.opencode/skills/bmad-bmm-edit-prd/SKILL.md +10 -27
  57. package/.opencode/skills/bmad-bmm-generate-project-context/SKILL.md +797 -28
  58. package/.opencode/skills/bmad-bmm-market-research/SKILL.md +53 -37
  59. package/.opencode/skills/bmad-bmm-pm/SKILL.md +60 -39
  60. package/.opencode/skills/bmad-bmm-qa/SKILL.md +77 -35
  61. package/.opencode/skills/bmad-bmm-qa-automate/SKILL.md +47 -129
  62. package/.opencode/skills/bmad-bmm-quick-dev/SKILL.md +802 -30
  63. package/.opencode/skills/bmad-bmm-quick-flow-solo-dev/SKILL.md +57 -36
  64. package/.opencode/skills/bmad-bmm-quick-spec/SKILL.md +684 -27
  65. package/.opencode/skills/bmad-bmm-retrospective/SKILL.md +55 -200
  66. package/.opencode/skills/bmad-bmm-sm/SKILL.md +57 -36
  67. package/.opencode/skills/bmad-bmm-sprint-planning/SKILL.md +51 -52
  68. package/.opencode/skills/bmad-bmm-sprint-status/SKILL.md +30 -99
  69. package/.opencode/skills/bmad-bmm-tech-writer/SKILL.md +70 -0
  70. package/.opencode/skills/bmad-bmm-technical-research/SKILL.md +53 -37
  71. package/.opencode/skills/bmad-bmm-ux-designer/SKILL.md +48 -37
  72. package/.opencode/skills/bmad-bmm-validate-prd/SKILL.md +10 -27
  73. package/.opencode/skills/bmad-brainstorming/SKILL.md +2048 -0
  74. package/.opencode/skills/bmad-editorial-review-prose/SKILL.md +107 -0
  75. package/.opencode/skills/bmad-editorial-review-structure/SKILL.md +214 -0
  76. package/.opencode/skills/bmad-help/SKILL.md +82 -0
  77. package/.opencode/skills/bmad-index-docs/SKILL.md +70 -0
  78. package/.opencode/skills/bmad-party-mode/SKILL.md +682 -0
  79. package/.opencode/skills/bmad-review-adversarial-general/SKILL.md +53 -0
  80. package/.opencode/skills/bmad-shard-doc/SKILL.md +113 -0
  81. package/README.md +28 -4
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +350 -47
  84. package/package.json +4 -3
  85. package/.opencode/agents/bmm-tech-writer-tech-writer.md +0 -44
  86. package/.opencode/agents/cis-brainstorming-coach.md +0 -38
  87. package/.opencode/agents/cis-creative-problem-solver.md +0 -38
  88. package/.opencode/agents/cis-design-thinking-coach.md +0 -38
  89. package/.opencode/agents/cis-innovation-strategist.md +0 -38
  90. package/.opencode/agents/cis-presentation-master.md +0 -54
  91. package/.opencode/agents/cis-storyteller-storyteller.md +0 -38
  92. package/.opencode/agents/core-bmad-master.md +0 -39
  93. package/.opencode/agents/gen-subagent.md +0 -311
  94. package/.opencode/agents/party-mode.md +0 -812
  95. package/.opencode/agents/tea-tea.md +0 -48
  96. package/.opencode/skills/bmad-bmm-dev-team-mode/SKILL.md +0 -300
  97. package/.opencode/skills/bmad-bmm-tech-writer-tech-writer/SKILL.md +0 -51
  98. package/.opencode/skills/bmad-cis-brainstorming-coach/SKILL.md +0 -46
  99. package/.opencode/skills/bmad-cis-creative-problem-solver/SKILL.md +0 -46
  100. package/.opencode/skills/bmad-cis-design-thinking/SKILL.md +0 -156
  101. package/.opencode/skills/bmad-cis-design-thinking-coach/SKILL.md +0 -46
  102. package/.opencode/skills/bmad-cis-innovation-strategist/SKILL.md +0 -46
  103. package/.opencode/skills/bmad-cis-innovation-strategy/SKILL.md +0 -238
  104. package/.opencode/skills/bmad-cis-presentation-master/SKILL.md +0 -52
  105. package/.opencode/skills/bmad-cis-problem-solving/SKILL.md +0 -212
  106. package/.opencode/skills/bmad-cis-storyteller-storyteller/SKILL.md +0 -48
  107. package/.opencode/skills/bmad-cis-storytelling/SKILL.md +0 -290
  108. package/.opencode/skills/bmad-core-bmad-master/SKILL.md +0 -48
  109. package/.opencode/skills/bmad-core-brainstorming/SKILL.md +0 -74
  110. package/.opencode/skills/bmad-core-party-mode/SKILL.md +0 -241
  111. package/.opencode/skills/bmad-core-task-editorial-review-prose/SKILL.md +0 -74
  112. package/.opencode/skills/bmad-core-task-editorial-review-structure/SKILL.md +0 -151
  113. package/.opencode/skills/bmad-core-task-help/SKILL.md +0 -100
  114. package/.opencode/skills/bmad-core-task-index-docs/SKILL.md +0 -46
  115. package/.opencode/skills/bmad-core-task-review-adversarial-general/SKILL.md +0 -36
  116. package/.opencode/skills/bmad-core-task-shard-doc/SKILL.md +0 -80
  117. package/.opencode/skills/bmad-tea-tea/SKILL.md +0 -57
  118. package/.opencode/skills/bmad-tea-teach-me-testing/SKILL.md +0 -106
  119. package/.opencode/skills/bmad-tea-testarch-atdd/SKILL.md +0 -62
  120. package/.opencode/skills/bmad-tea-testarch-automate/SKILL.md +0 -67
  121. package/.opencode/skills/bmad-tea-testarch-ci/SKILL.md +0 -62
  122. package/.opencode/skills/bmad-tea-testarch-framework/SKILL.md +0 -62
  123. package/.opencode/skills/bmad-tea-testarch-nfr/SKILL.md +0 -60
  124. package/.opencode/skills/bmad-tea-testarch-test-design/SKILL.md +0 -76
  125. package/.opencode/skills/bmad-tea-testarch-test-review/SKILL.md +0 -60
  126. package/.opencode/skills/bmad-tea-testarch-trace/SKILL.md +0 -60
@@ -1,25 +1,8 @@
1
1
  ---
2
2
  name: bmad-bmm-create-ux-design
3
3
  description: "Work with a peer UX Design expert to plan your applications UX patterns, look and feel."
4
- license: MIT
5
- compatibility: opencode
6
- metadata:
7
- source: "bmad-method"
8
- module: "bmm"
9
- workflow: "create-ux-design"
10
- standalone: false
11
4
  ---
12
5
 
13
- # create-ux-design Workflow
14
-
15
- Work with a peer UX Design expert to plan your applications UX patterns, look and feel.
16
-
17
- ## How to Use
18
-
19
- This skill provides a structured workflow. Follow the steps below:
20
-
21
- ## Instructions
22
-
23
6
  # Create UX Design Workflow
24
7
 
25
8
  **Goal:** Create comprehensive UX design specifications through collaborative visual exploration and informed decision-making where you act as a UX facilitator working with a product stakeholder.
@@ -41,19 +24,3285 @@ This uses **micro-file architecture** for disciplined execution:
41
24
 
42
25
  ### Configuration Loading
43
26
 
44
- Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
27
+ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
45
28
 
46
- - `project_name`, `output_folder`, `planning_artifacts`, `user_name`
47
- - `communication_language`, `document_output_language`, `user_skill_level`
48
- - `date` as system-generated current datetime
29
+ - `project_name`, `output_folder`, `planning_artifacts`, `user_name`
30
+ - `communication_language`, `document_output_language`, `user_skill_level`
31
+ - `date` as system-generated current datetime
49
32
 
50
33
  ### Paths
51
34
 
52
- - `installed_path` = `{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design`
53
- - `template_path` = `{installed_path}/ux-design-template.md`
54
- - `default_output_file` = `{planning_artifacts}/ux-design-specification.md`
35
+ - `installed_path` = `{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design`
36
+ - `template_path` = `{installed_path}/ux-design-template.md`
37
+ - `default_output_file` = `{planning_artifacts}/ux-design-specification.md`
55
38
 
56
39
  ## EXECUTION
57
40
 
58
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
59
- - Read fully and follow: `steps/step-01-init.md` to begin the UX design workflow.
41
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
42
+ - Read fully and follow: `steps/step-01-init.md` to begin the UX design workflow.
43
+
44
+ # Step 1: UX Design Workflow Initialization
45
+
46
+ ## MANDATORY EXECUTION RULES (READ FIRST):
47
+
48
+ - 🛑 NEVER generate content without user input
49
+
50
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
51
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
52
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
53
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
54
+ - 💬 FOCUS on initialization and setup only - don't look ahead to future steps
55
+ - 🚪 DETECT existing workflow state and handle continuation properly
56
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
57
+
58
+ ## EXECUTION PROTOCOLS:
59
+
60
+ - 🎯 Show your analysis before taking any action
61
+ - 💾 Initialize document and update frontmatter
62
+ - 📖 Set up frontmatter `stepsCompleted: [1]` before loading next step
63
+ - 🚫 FORBIDDEN to load next step until setup is complete
64
+
65
+ ## CONTEXT BOUNDARIES:
66
+
67
+ - Variables from workflow.md are available in memory
68
+ - Previous context = what's in output document + frontmatter
69
+ - Don't assume knowledge from other steps
70
+ - Input document discovery happens in this step
71
+
72
+ ## YOUR TASK:
73
+
74
+ Initialize the UX design workflow by detecting continuation state and setting up the design specification document.
75
+
76
+ ## INITIALIZATION SEQUENCE:
77
+
78
+ ### 1. Check for Existing Workflow
79
+
80
+ First, check if the output document already exists:
81
+
82
+ - Look for file at `{planning_artifacts}/*ux-design-specification*.md`
83
+ - If exists, read the complete file including frontmatter
84
+ - If not exists, this is a fresh workflow
85
+
86
+ ### 2. Handle Continuation (If Document Exists)
87
+
88
+ If the document exists and has frontmatter with `stepsCompleted`:
89
+
90
+ - **STOP here** and load `./step-01b-continue.md` immediately
91
+ - Do not proceed with any initialization tasks
92
+ - Let step-01b handle the continuation logic
93
+
94
+ ### 3. Fresh Workflow Setup (If No Document)
95
+
96
+ If no document exists or no `stepsCompleted` in frontmatter:
97
+
98
+ #### A. Input Document Discovery
99
+
100
+ Discover and load context documents using smart discovery. Documents can be in the following locations:
101
+ - {planning_artifacts}/**
102
+ - {output_folder}/**
103
+ - {product_knowledge}/**
104
+ - docs/**
105
+
106
+ Also - when searching - documents can be a single markdown file, or a folder with an index and multiple files. For Example, if searching for `*foo*.md` and not found, also search for a folder called *foo*/index.md (which indicates sharded content)
107
+
108
+ Try to discover the following:
109
+ - Product Brief (`*brief*.md`)
110
+ - Research Documents (`*prd*.md`)
111
+ - Project Documentation (generally multiple documents might be found for this in the `{product_knowledge}` or `docs` folder.)
112
+ - Project Context (`**/project-context.md`)
113
+
114
+ <critical>Confirm what you have found with the user, along with asking if the user wants to provide anything else. Only after this confirmation will you proceed to follow the loading rules</critical>
115
+
116
+ **Loading Rules:**
117
+
118
+ - Load ALL discovered files completely that the user confirmed or provided (no offset/limit)
119
+ - If there is a project context, whatever is relevant should try to be biased in the remainder of this whole workflow process
120
+ - For sharded folders, load ALL files to get complete picture, using the index first to potentially know the potential of each document
121
+ - index.md is a guide to what's relevant whenever available
122
+ - Track all successfully loaded files in frontmatter `inputDocuments` array
123
+
124
+ #### B. Create Initial Document
125
+
126
+ Copy the template from `{installed_path}/ux-design-template.md` to `{planning_artifacts}/ux-design-specification.md`
127
+ Initialize frontmatter in the template.
128
+
129
+ #### C. Complete Initialization and Report
130
+
131
+ Complete setup and report to user:
132
+
133
+ **Document Setup:**
134
+
135
+ - Created: `{planning_artifacts}/ux-design-specification.md` from template
136
+ - Initialized frontmatter with workflow state
137
+
138
+ **Input Documents Discovered:**
139
+ Report what was found:
140
+ "Welcome {{user_name}}! I've set up your UX design workspace for {{project_name}}.
141
+
142
+ **Documents Found:**
143
+
144
+ - PRD: {number of PRD files loaded or "None found"}
145
+ - Product brief: {number of brief files loaded or "None found"}
146
+ - Other context: {number of other files loaded or "None found"}
147
+
148
+ **Files loaded:** {list of specific file names or "No additional documents found"}
149
+
150
+ Do you have any other documents you'd like me to include, or shall we continue to the next step?
151
+
152
+ [C] Continue to UX discovery"
153
+
154
+ ## NEXT STEP:
155
+
156
+ After user selects [C] to continue, ensure the file `{planning_artifacts}/ux-design-specification.md` has been created and saved, and then load `./step-02-discovery.md` to begin the UX discovery phase.
157
+
158
+ Remember: Do NOT proceed to step-02 until output file has been updated and user explicitly selects [C] to continue!
159
+
160
+ ## SUCCESS METRICS:
161
+
162
+ ✅ Existing workflow detected and handed off to step-01b correctly
163
+ ✅ Fresh workflow initialized with template and frontmatter
164
+ ✅ Input documents discovered and loaded using sharded-first logic
165
+ ✅ All discovered files tracked in frontmatter `inputDocuments`
166
+ ✅ User confirmed document setup and can proceed
167
+
168
+ ## FAILURE MODES:
169
+
170
+ ❌ Proceeding with fresh initialization when existing workflow exists
171
+ ❌ Not updating frontmatter with discovered input documents
172
+ ❌ Creating document without proper template
173
+ ❌ Not checking sharded folders first before whole files
174
+ ❌ Not reporting what documents were found to user
175
+
176
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
177
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
178
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
179
+
180
+
181
+ # Step 1B: UX Design Workflow Continuation
182
+
183
+ ## MANDATORY EXECUTION RULES (READ FIRST):
184
+
185
+ - 🛑 NEVER generate content without user input
186
+
187
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
188
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
189
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
190
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
191
+ - 💬 FOCUS on understanding where we left off and continuing appropriately
192
+ - 🚪 RESUME workflow from exact point where it was interrupted
193
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
194
+
195
+ ## EXECUTION PROTOCOLS:
196
+
197
+ - 🎯 Show your analysis of current state before taking action
198
+ - 💾 Keep existing frontmatter `stepsCompleted` values
199
+ - 📖 Only load documents that were already tracked in `inputDocuments`
200
+ - 🚫 FORBIDDEN to modify content completed in previous steps
201
+
202
+ ## CONTEXT BOUNDARIES:
203
+
204
+ - Current document and frontmatter are already loaded
205
+ - Previous context = complete document + existing frontmatter
206
+ - Input documents listed in frontmatter were already processed
207
+ - Last completed step = `lastStep` value from frontmatter
208
+
209
+ ## YOUR TASK:
210
+
211
+ Resume the UX design workflow from where it was left off, ensuring smooth continuation.
212
+
213
+ ## CONTINUATION SEQUENCE:
214
+
215
+ ### 1. Analyze Current State
216
+
217
+ Review the frontmatter to understand:
218
+
219
+ - `stepsCompleted`: Which steps are already done
220
+ - `lastStep`: The most recently completed step number
221
+ - `inputDocuments`: What context was already loaded
222
+ - All other frontmatter variables
223
+
224
+ ### 2. Load All Input Documents
225
+
226
+ Reload the context documents listed in `inputDocuments`:
227
+
228
+ - For each document in `inputDocuments`, load the complete file
229
+ - This ensures you have full context for continuation
230
+ - Don't discover new documents - only reload what was previously processed
231
+
232
+ ### 3. Summarize Current Progress
233
+
234
+ Welcome the user back and provide context:
235
+ "Welcome back {{user_name}}! I'm resuming our UX design collaboration for {{project_name}}.
236
+
237
+ **Current Progress:**
238
+
239
+ - Steps completed: {stepsCompleted}
240
+ - Last worked on: Step {lastStep}
241
+ - Context documents available: {len(inputDocuments)} files
242
+ - Current UX design specification is ready with all completed sections
243
+
244
+ **Document Status:**
245
+
246
+ - Current UX design document is ready with all completed sections
247
+ - Ready to continue from where we left off
248
+
249
+ Does this look right, or do you want to make any adjustments before we proceed?"
250
+
251
+ ### 4. Determine Next Step
252
+
253
+ Based on `lastStep` value, determine which step to load next:
254
+
255
+ - If `lastStep = 1` → Load `./step-02-discovery.md`
256
+ - If `lastStep = 2` → Load `./step-03-core-experience.md`
257
+ - If `lastStep = 3` → Load `./step-04-emotional-response.md`
258
+ - Continue this pattern for all steps
259
+ - If `lastStep` indicates final step → Workflow already complete
260
+
261
+ ### 5. Present Continuation Options
262
+
263
+ After presenting current progress, ask:
264
+ "Ready to continue with Step {nextStepNumber}: {nextStepTitle}?
265
+
266
+ [C] Continue to Step {nextStepNumber}"
267
+
268
+ ## SUCCESS METRICS:
269
+
270
+ ✅ All previous input documents successfully reloaded
271
+ ✅ Current workflow state accurately analyzed and presented
272
+ ✅ User confirms understanding of progress
273
+ ✅ Correct next step identified and prepared for loading
274
+
275
+ ## FAILURE MODES:
276
+
277
+ ❌ Discovering new input documents instead of reloading existing ones
278
+ ❌ Modifying content from already completed steps
279
+ ❌ Loading wrong next step based on `lastStep` value
280
+ ❌ Proceeding without user confirmation of current state
281
+
282
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
283
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
284
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
285
+
286
+ ## WORKFLOW ALREADY COMPLETE?
287
+
288
+ If `lastStep` indicates the final step is completed:
289
+ "Great news! It looks like we've already completed the UX design workflow for {{project_name}}.
290
+
291
+ The final UX design specification is ready at {output_folder}/ux-design-specification.md with all sections completed through step {finalStepNumber}.
292
+
293
+ The complete UX design includes visual foundations, user flows, and design specifications ready for implementation.
294
+
295
+ Would you like me to:
296
+
297
+ - Review the completed UX design specification with you
298
+ - Suggest next workflow steps (like wireframe generation or architecture)
299
+ - Start a new UX design revision
300
+
301
+ What would be most helpful?"
302
+
303
+ ## NEXT STEP:
304
+
305
+ After user confirms they're ready to continue, load the appropriate next step file based on the `lastStep` value from frontmatter.
306
+
307
+ Remember: Do NOT load the next step until user explicitly selects [C] to continue!
308
+
309
+
310
+ # Step 2: Project Understanding
311
+
312
+ ## MANDATORY EXECUTION RULES (READ FIRST):
313
+
314
+ - 🛑 NEVER generate content without user input
315
+
316
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
317
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
318
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
319
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
320
+ - 💬 FOCUS on understanding project context and user needs
321
+ - 🎯 COLLABORATIVE discovery, not assumption-based design
322
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
323
+
324
+ ## EXECUTION PROTOCOLS:
325
+
326
+ - 🎯 Show your analysis before taking any action
327
+ - ⚠️ Present A/P/C menu after generating project understanding content
328
+ - 💾 ONLY save when user chooses C (Continue)
329
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
330
+ - 🚫 FORBIDDEN to load next step until C is selected
331
+
332
+ ## COLLABORATION MENUS (A/P/C):
333
+
334
+ This step will generate content and present choices:
335
+
336
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper project insights
337
+ - **P (Party Mode)**: Bring multiple perspectives to understand project context
338
+ - **C (Continue)**: Save the content to the document and proceed to next step
339
+
340
+ ## PROTOCOL INTEGRATION:
341
+
342
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
343
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
344
+ - PROTOCOLS always return to this step's A/P/C menu
345
+ - User accepts/rejects protocol changes before proceeding
346
+
347
+ ## CONTEXT BOUNDARIES:
348
+
349
+ - Current document and frontmatter from step 1 are available
350
+ - Input documents (PRD, briefs, epics) already loaded are in memory
351
+ - No additional data files needed for this step
352
+ - Focus on project and user understanding
353
+
354
+ ## YOUR TASK:
355
+
356
+ Understand the project context, target users, and what makes this product special from a UX perspective.
357
+
358
+ ## PROJECT DISCOVERY SEQUENCE:
359
+
360
+ ### 1. Review Loaded Context
361
+
362
+ Start by analyzing what we know from the loaded documents:
363
+ "Based on the project documentation we have loaded, let me confirm what I'm understanding about {{project_name}}.
364
+
365
+ **From the documents:**
366
+ {summary of key insights from loaded PRD, briefs, and other context documents}
367
+
368
+ **Target Users:**
369
+ {summary of user information from loaded documents}
370
+
371
+ **Key Features/Goals:**
372
+ {summary of main features and goals from loaded documents}
373
+
374
+ Does this match your understanding? Are there any corrections or additions you'd like to make?"
375
+
376
+ ### 2. Fill Context Gaps (If no documents or gaps exist)
377
+
378
+ If no documents were loaded or key information is missing:
379
+ "Since we don't have complete documentation, let's start with the essentials:
380
+
381
+ **What are you building?** (Describe your product in 1-2 sentences)
382
+
383
+ **Who is this for?** (Describe your ideal user or target audience)
384
+
385
+ **What makes this special or different?** (What's the unique value proposition?)
386
+
387
+ **What's the main thing users will do with this?** (Core user action or goal)"
388
+
389
+ ### 3. Explore User Context Deeper
390
+
391
+ Dive into user understanding:
392
+ "Let me understand your users better to inform the UX design:
393
+
394
+ **User Context Questions:**
395
+
396
+ - What problem are users trying to solve?
397
+ - What frustrates them with current solutions?
398
+ - What would make them say 'this is exactly what I needed'?
399
+ - How tech-savvy are your target users?
400
+ - What devices will they use most?
401
+ - When/where will they use this product?"
402
+
403
+ ### 4. Identify UX Design Challenges
404
+
405
+ Surface the key UX challenges to address:
406
+ "From what we've discussed, I'm seeing some key UX design considerations:
407
+
408
+ **Design Challenges:**
409
+
410
+ - [Identify 2-3 key UX challenges based on project type and user needs]
411
+ - [Note any platform-specific considerations]
412
+ - [Highlight any complex user flows or interactions]
413
+
414
+ **Design Opportunities:**
415
+
416
+ - [Identify 2-3 areas where great UX could create competitive advantage]
417
+ - [Note any opportunities for innovative UX patterns]
418
+
419
+ Does this capture the key UX considerations we need to address?"
420
+
421
+ ### 5. Generate Project Understanding Content
422
+
423
+ Prepare the content to append to the document:
424
+
425
+ #### Content Structure:
426
+
427
+ When saving to document, append these Level 2 and Level 3 sections:
428
+
429
+ ```markdown
430
+ ## Executive Summary
431
+
432
+ ### Project Vision
433
+
434
+ [Project vision summary based on conversation]
435
+
436
+ ### Target Users
437
+
438
+ [Target user descriptions based on conversation]
439
+
440
+ ### Key Design Challenges
441
+
442
+ [Key UX challenges identified based on conversation]
443
+
444
+ ### Design Opportunities
445
+
446
+ [Design opportunities identified based on conversation]
447
+ ```
448
+
449
+ ### 6. Present Content and Menu
450
+
451
+ Show the generated project understanding content and present choices:
452
+ "I've documented our understanding of {{project_name}} from a UX perspective. This will guide all our design decisions moving forward.
453
+
454
+ **Here's what I'll add to the document:**
455
+
456
+ [Show the complete markdown content from step 5]
457
+
458
+ **What would you like to do?**
459
+ [C] Continue - Save this to the document and move to core experience definition"
460
+
461
+ ### 7. Handle Menu Selection
462
+
463
+ #### If 'C' (Continue):
464
+
465
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
466
+ - Update frontmatter: `stepsCompleted: [1, 2]`
467
+ - Load `./step-03-core-experience.md`
468
+
469
+ ## APPEND TO DOCUMENT:
470
+
471
+ When user selects 'C', append the content directly to the document. Only after the content is saved to document, read fully and follow: `./step-03-core-experience.md`.
472
+
473
+ ## SUCCESS METRICS:
474
+
475
+ ✅ All available context documents reviewed and synthesized
476
+ ✅ Project vision clearly articulated
477
+ ✅ Target users well understood
478
+ ✅ Key UX challenges identified
479
+ ✅ Design opportunities surfaced
480
+ ✅ A/P/C menu presented and handled correctly
481
+ ✅ Content properly appended to document when C selected
482
+
483
+ ## FAILURE MODES:
484
+
485
+ ❌ Not reviewing loaded context documents thoroughly
486
+ ❌ Making assumptions about users without asking
487
+ ❌ Missing key UX challenges that will impact design
488
+ ❌ Not identifying design opportunities
489
+ ❌ Generating generic content without real project insight
490
+ ❌ Not presenting A/P/C menu after content generation
491
+ ❌ Appending content without user selecting 'C'
492
+
493
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
494
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
495
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
496
+
497
+ ## NEXT STEP:
498
+
499
+ Remember: Do NOT proceed to step-03 until user explicitly selects 'C' from the menu and content is saved!
500
+
501
+
502
+ # Step 3: Core Experience Definition
503
+
504
+ ## MANDATORY EXECUTION RULES (READ FIRST):
505
+
506
+ - 🛑 NEVER generate content without user input
507
+
508
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
509
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
510
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
511
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
512
+ - 💬 FOCUS on defining the core user experience and platform
513
+ - 🎯 COLLABORATIVE discovery, not assumption-based design
514
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
515
+
516
+ ## EXECUTION PROTOCOLS:
517
+
518
+ - 🎯 Show your analysis before taking any action
519
+ - ⚠️ Present A/P/C menu after generating core experience content
520
+ - 💾 ONLY save when user chooses C (Continue)
521
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
522
+ - 🚫 FORBIDDEN to load next step until C is selected
523
+
524
+ ## COLLABORATION MENUS (A/P/C):
525
+
526
+ This step will generate content and present choices:
527
+
528
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper experience insights
529
+ - **P (Party Mode)**: Bring multiple perspectives to define optimal user experience
530
+ - **C (Continue)**: Save the content to the document and proceed to next step
531
+
532
+ ## PROTOCOL INTEGRATION:
533
+
534
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
535
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
536
+ - PROTOCOLS always return to this step's A/P/C menu
537
+ - User accepts/rejects protocol changes before proceeding
538
+
539
+ ## CONTEXT BOUNDARIES:
540
+
541
+ - Current document and frontmatter from previous steps are available
542
+ - Project understanding from step 2 informs this step
543
+ - No additional data files needed for this step
544
+ - Focus on core experience and platform decisions
545
+
546
+ ## YOUR TASK:
547
+
548
+ Define the core user experience, platform requirements, and what makes the interaction effortless.
549
+
550
+ ## CORE EXPERIENCE DISCOVERY SEQUENCE:
551
+
552
+ ### 1. Define Core User Action
553
+
554
+ Start by identifying the most important user interaction:
555
+ "Now let's dig into the heart of the user experience for {{project_name}}.
556
+
557
+ **Core Experience Questions:**
558
+
559
+ - What's the ONE thing users will do most frequently?
560
+ - What user action is absolutely critical to get right?
561
+ - What should be completely effortless for users?
562
+ - If we nail one interaction, everything else follows - what is it?
563
+
564
+ Think about the core loop or primary action that defines your product's value."
565
+
566
+ ### 2. Explore Platform Requirements
567
+
568
+ Determine where and how users will interact:
569
+ "Let's define the platform context for {{project_name}}:
570
+
571
+ **Platform Questions:**
572
+
573
+ - Web, mobile app, desktop, or multiple platforms?
574
+ - Will this be primarily touch-based or mouse/keyboard?
575
+ - Any specific platform requirements or constraints?
576
+ - Do we need to consider offline functionality?
577
+ - Any device-specific capabilities we should leverage?"
578
+
579
+ ### 3. Identify Effortless Interactions
580
+
581
+ Surface what should feel magical or completely seamless:
582
+ "**Effortless Experience Design:**
583
+
584
+ - What user actions should feel completely natural and require zero thought?
585
+ - Where do users currently struggle with similar products?
586
+ - What interaction, if made effortless, would create delight?
587
+ - What should happen automatically without user intervention?
588
+ - Where can we eliminate steps that competitors require?"
589
+
590
+ ### 4. Define Critical Success Moments
591
+
592
+ Identify the moments that determine success or failure:
593
+ "**Critical Success Moments:**
594
+
595
+ - What's the moment where users realize 'this is better'?
596
+ - When does the user feel successful or accomplished?
597
+ - What interaction, if failed, would ruin the experience?
598
+ - What are the make-or-break user flows?
599
+ - Where does first-time user success happen?"
600
+
601
+ ### 5. Synthesize Experience Principles
602
+
603
+ Extract guiding principles from the conversation:
604
+ "Based on our discussion, I'm hearing these core experience principles for {{project_name}}:
605
+
606
+ **Experience Principles:**
607
+
608
+ - [Principle 1 based on core action focus]
609
+ - [Principle 2 based on effortless interactions]
610
+ - [Principle 3 based on platform considerations]
611
+ - [Principle 4 based on critical success moments]
612
+
613
+ These principles will guide all our UX decisions. Do these capture what's most important?"
614
+
615
+ ### 6. Generate Core Experience Content
616
+
617
+ Prepare the content to append to the document:
618
+
619
+ #### Content Structure:
620
+
621
+ When saving to document, append these Level 2 and Level 3 sections:
622
+
623
+ ```markdown
624
+ ## Core User Experience
625
+
626
+ ### Defining Experience
627
+
628
+ [Core experience definition based on conversation]
629
+
630
+ ### Platform Strategy
631
+
632
+ [Platform requirements and decisions based on conversation]
633
+
634
+ ### Effortless Interactions
635
+
636
+ [Effortless interaction areas identified based on conversation]
637
+
638
+ ### Critical Success Moments
639
+
640
+ [Critical success moments defined based on conversation]
641
+
642
+ ### Experience Principles
643
+
644
+ [Guiding principles for UX decisions based on conversation]
645
+ ```
646
+
647
+ ### 7. Present Content and Menu
648
+
649
+ Show the generated core experience content and present choices:
650
+ "I've defined the core user experience for {{project_name}} based on our conversation. This establishes the foundation for all our UX design decisions.
651
+
652
+ **Here's what I'll add to the document:**
653
+
654
+ [Show the complete markdown content from step 6]
655
+
656
+ **What would you like to do?**
657
+ [A] Advanced Elicitation - Let's refine the core experience definition
658
+ [P] Party Mode - Bring different perspectives on the user experience
659
+ [C] Continue - Save this to the document and move to emotional response definition"
660
+
661
+ ### 8. Handle Menu Selection
662
+
663
+ #### If 'A' (Advanced Elicitation):
664
+
665
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current core experience content
666
+ - Process the enhanced experience insights that come back
667
+ - Ask user: "Accept these improvements to the core experience definition? (y/n)"
668
+ - If yes: Update content with improvements, then return to A/P/C menu
669
+ - If no: Keep original content, then return to A/P/C menu
670
+
671
+ #### If 'P' (Party Mode):
672
+
673
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current core experience definition
674
+ - Process the collaborative experience improvements that come back
675
+ - Ask user: "Accept these changes to the core experience definition? (y/n)"
676
+ - If yes: Update content with improvements, then return to A/P/C menu
677
+ - If no: Keep original content, then return to A/P/C menu
678
+
679
+ #### If 'C' (Continue):
680
+
681
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
682
+ - Update frontmatter: append step to end of stepsCompleted array
683
+ - Load `./step-04-emotional-response.md`
684
+
685
+ ## APPEND TO DOCUMENT:
686
+
687
+ When user selects 'C', append the content directly to the document using the structure from step 6.
688
+
689
+ ## SUCCESS METRICS:
690
+
691
+ ✅ Core user action clearly identified and defined
692
+ ✅ Platform requirements thoroughly explored
693
+ ✅ Effortless interaction areas identified
694
+ ✅ Critical success moments mapped out
695
+ ✅ Experience principles established as guiding framework
696
+ ✅ A/P/C menu presented and handled correctly
697
+ ✅ Content properly appended to document when C selected
698
+
699
+ ## FAILURE MODES:
700
+
701
+ ❌ Missing the core user action that defines the product
702
+ ❌ Not properly considering platform requirements
703
+ ❌ Overlooking what should be effortless for users
704
+ ❌ Not identifying critical make-or-break interactions
705
+ ❌ Experience principles too generic or not actionable
706
+ ❌ Not presenting A/P/C menu after content generation
707
+ ❌ Appending content without user selecting 'C'
708
+
709
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
710
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
711
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
712
+
713
+ ## NEXT STEP:
714
+
715
+ After user selects 'C' and content is saved to document, load `./step-04-emotional-response.md` to define desired emotional responses.
716
+
717
+ Remember: Do NOT proceed to step-04 until user explicitly selects 'C' from the A/P/C menu and content is saved!
718
+
719
+
720
+ # Step 4: Desired Emotional Response
721
+
722
+ ## MANDATORY EXECUTION RULES (READ FIRST):
723
+
724
+ - 🛑 NEVER generate content without user input
725
+
726
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
727
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
728
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
729
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
730
+ - 💬 FOCUS on defining desired emotional responses and user feelings
731
+ - 🎯 COLLABORATIVE discovery, not assumption-based design
732
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
733
+
734
+ ## EXECUTION PROTOCOLS:
735
+
736
+ - 🎯 Show your analysis before taking any action
737
+ - ⚠️ Present A/P/C menu after generating emotional response content
738
+ - 💾 ONLY save when user chooses C (Continue)
739
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
740
+ - 🚫 FORBIDDEN to load next step until C is selected
741
+
742
+ ## COLLABORATION MENUS (A/P/C):
743
+
744
+ This step will generate content and present choices:
745
+
746
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper emotional insights
747
+ - **P (Party Mode)**: Bring multiple perspectives to define optimal emotional responses
748
+ - **C (Continue)**: Save the content to the document and proceed to next step
749
+
750
+ ## PROTOCOL INTEGRATION:
751
+
752
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
753
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
754
+ - PROTOCOLS always return to this step's A/P/C menu
755
+ - User accepts/rejects protocol changes before proceeding
756
+
757
+ ## CONTEXT BOUNDARIES:
758
+
759
+ - Current document and frontmatter from previous steps are available
760
+ - Core experience definition from step 3 informs emotional response
761
+ - No additional data files needed for this step
762
+ - Focus on user feelings and emotional design goals
763
+
764
+ ## YOUR TASK:
765
+
766
+ Define the desired emotional responses users should feel when using the product.
767
+
768
+ ## EMOTIONAL RESPONSE DISCOVERY SEQUENCE:
769
+
770
+ ### 1. Explore Core Emotional Goals
771
+
772
+ Start by understanding the emotional objectives:
773
+ "Now let's think about how {{project_name}} should make users feel.
774
+
775
+ **Emotional Response Questions:**
776
+
777
+ - What should users FEEL when using this product?
778
+ - What emotion would make them tell a friend about this?
779
+ - How should users feel after accomplishing their primary goal?
780
+ - What feeling differentiates this from competitors?
781
+
782
+ Common emotional goals: Empowered and in control? Delighted and surprised? Efficient and productive? Creative and inspired? Calm and focused? Connected and engaged?"
783
+
784
+ ### 2. Identify Emotional Journey Mapping
785
+
786
+ Explore feelings at different stages:
787
+ "**Emotional Journey Considerations:**
788
+
789
+ - How should users feel when they first discover the product?
790
+ - What emotion during the core experience/action?
791
+ - How should they feel after completing their task?
792
+ - What if something goes wrong - what emotional response do we want?
793
+ - How should they feel when returning to use it again?"
794
+
795
+ ### 3. Define Micro-Emotions
796
+
797
+ Surface subtle but important emotional states:
798
+ "**Micro-Emotions to Consider:**
799
+
800
+ - Confidence vs. Confusion
801
+ - Trust vs. Skepticism
802
+ - Excitement vs. Anxiety
803
+ - Accomplishment vs. Frustration
804
+ - Delight vs. Satisfaction
805
+ - Belonging vs. Isolation
806
+
807
+ Which of these emotional states are most critical for your product's success?"
808
+
809
+ ### 4. Connect Emotions to UX Decisions
810
+
811
+ Link feelings to design implications:
812
+ "**Design Implications:**
813
+
814
+ - If we want users to feel [emotional state], what UX choices support this?
815
+ - What interactions might create negative emotions we want to avoid?
816
+ - Where can we add moments of delight or surprise?
817
+ - How do we build trust and confidence through design?
818
+
819
+ **Emotion-Design Connections:**
820
+
821
+ - [Emotion 1] → [UX design approach]
822
+ - [Emotion 2] → [UX design approach]
823
+ - [Emotion 3] → [UX design approach]"
824
+
825
+ ### 5. Validate Emotional Goals
826
+
827
+ Check if emotional goals align with product vision:
828
+ "Let me make sure I understand the emotional vision for {{project_name}}:
829
+
830
+ **Primary Emotional Goal:** [Summarize main emotional response]
831
+ **Secondary Feelings:** [List supporting emotional states]
832
+ **Emotions to Avoid:** [List negative emotions to prevent]
833
+
834
+ Does this capture the emotional experience you want to create? Any adjustments needed?"
835
+
836
+ ### 6. Generate Emotional Response Content
837
+
838
+ Prepare the content to append to the document:
839
+
840
+ #### Content Structure:
841
+
842
+ When saving to document, append these Level 2 and Level 3 sections:
843
+
844
+ ```markdown
845
+ ## Desired Emotional Response
846
+
847
+ ### Primary Emotional Goals
848
+
849
+ [Primary emotional goals based on conversation]
850
+
851
+ ### Emotional Journey Mapping
852
+
853
+ [Emotional journey mapping based on conversation]
854
+
855
+ ### Micro-Emotions
856
+
857
+ [Micro-emotions identified based on conversation]
858
+
859
+ ### Design Implications
860
+
861
+ [UX design implications for emotional responses based on conversation]
862
+
863
+ ### Emotional Design Principles
864
+
865
+ [Guiding principles for emotional design based on conversation]
866
+ ```
867
+
868
+ ### 7. Present Content and Menu
869
+
870
+ Show the generated emotional response content and present choices:
871
+ "I've defined the desired emotional responses for {{project_name}}. These emotional goals will guide our design decisions to create the right user experience.
872
+
873
+ **Here's what I'll add to the document:**
874
+
875
+ [Show the complete markdown content from step 6]
876
+
877
+ **What would you like to do?**
878
+ [A] Advanced Elicitation - Let's refine the emotional response definition
879
+ [P] Party Mode - Bring different perspectives on user emotional needs
880
+ [C] Continue - Save this to the document and move to inspiration analysis"
881
+
882
+ ### 8. Handle Menu Selection
883
+
884
+ #### If 'A' (Advanced Elicitation):
885
+
886
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current emotional response content
887
+ - Process the enhanced emotional insights that come back
888
+ - Ask user: "Accept these improvements to the emotional response definition? (y/n)"
889
+ - If yes: Update content with improvements, then return to A/P/C menu
890
+ - If no: Keep original content, then return to A/P/C menu
891
+
892
+ #### If 'P' (Party Mode):
893
+
894
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current emotional response definition
895
+ - Process the collaborative emotional insights that come back
896
+ - Ask user: "Accept these changes to the emotional response definition? (y/n)"
897
+ - If yes: Update content with improvements, then return to A/P/C menu
898
+ - If no: Keep original content, then return to A/P/C menu
899
+
900
+ #### If 'C' (Continue):
901
+
902
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
903
+ - Update frontmatter: append step to end of stepsCompleted array
904
+ - Load `./step-05-inspiration.md`
905
+
906
+ ## APPEND TO DOCUMENT:
907
+
908
+ When user selects 'C', append the content directly to the document using the structure from step 6.
909
+
910
+ ## SUCCESS METRICS:
911
+
912
+ ✅ Primary emotional goals clearly defined
913
+ ✅ Emotional journey mapped across user experience
914
+ ✅ Micro-emotions identified and addressed
915
+ ✅ Design implications connected to emotional responses
916
+ ✅ Emotional design principles established
917
+ ✅ A/P/C menu presented and handled correctly
918
+ ✅ Content properly appended to document when C selected
919
+
920
+ ## FAILURE MODES:
921
+
922
+ ❌ Missing core emotional goals or being too generic
923
+ ❌ Not considering emotional journey across different stages
924
+ ❌ Overlooking micro-emotions that impact user satisfaction
925
+ ❌ Not connecting emotional goals to specific UX design choices
926
+ ❌ Emotional principles too vague or not actionable
927
+ ❌ Not presenting A/P/C menu after content generation
928
+ ❌ Appending content without user selecting 'C'
929
+
930
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
931
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
932
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
933
+
934
+ ## NEXT STEP:
935
+
936
+ After user selects 'C' and content is saved to document, load `./step-05-inspiration.md` to analyze UX patterns from inspiring products.
937
+
938
+ Remember: Do NOT proceed to step-05 until user explicitly selects 'C' from the A/P/C menu and content is saved!
939
+
940
+
941
+ # Step 5: UX Pattern Analysis & Inspiration
942
+
943
+ ## MANDATORY EXECUTION RULES (READ FIRST):
944
+
945
+ - 🛑 NEVER generate content without user input
946
+
947
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
948
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
949
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
950
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
951
+ - 💬 FOCUS on analyzing existing UX patterns and extracting inspiration
952
+ - 🎯 COLLABORATIVE discovery, not assumption-based design
953
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
954
+
955
+ ## EXECUTION PROTOCOLS:
956
+
957
+ - 🎯 Show your analysis before taking any action
958
+ - ⚠️ Present A/P/C menu after generating inspiration analysis content
959
+ - 💾 ONLY save when user chooses C (Continue)
960
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
961
+ - 🚫 FORBIDDEN to load next step until C is selected
962
+
963
+ ## COLLABORATION MENUS (A/P/C):
964
+
965
+ This step will generate content and present choices:
966
+
967
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper pattern insights
968
+ - **P ( Party Mode)**: Bring multiple perspectives to analyze UX patterns
969
+ - **C (Continue)**: Save the content to the document and proceed to next step
970
+
971
+ ## PROTOCOL INTEGRATION:
972
+
973
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
974
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
975
+ - PROTOCOLS always return to this step's A/P/C menu
976
+ - User accepts/rejects protocol changes before proceeding
977
+
978
+ ## CONTEXT BOUNDARIES:
979
+
980
+ - Current document and frontmatter from previous steps are available
981
+ - Emotional response goals from step 4 inform pattern analysis
982
+ - No additional data files needed for this step
983
+ - Focus on analyzing existing UX patterns and extracting lessons
984
+
985
+ ## YOUR TASK:
986
+
987
+ Analyze inspiring products and UX patterns to inform design decisions for the current project.
988
+
989
+ ## INSPIRATION ANALYSIS SEQUENCE:
990
+
991
+ ### 1. Identify User's Favorite Apps
992
+
993
+ Start by gathering inspiration sources:
994
+ "Let's learn from products your users already love and use regularly.
995
+
996
+ **Inspiration Questions:**
997
+
998
+ - Name 2-3 apps your target users already love and USE frequently
999
+ - For each one, what do they do well from a UX perspective?
1000
+ - What makes the experience compelling or delightful?
1001
+ - What keeps users coming back to these apps?
1002
+
1003
+ Think about apps in your category or even unrelated products that have great UX."
1004
+
1005
+ ### 2. Analyze UX Patterns and Principles
1006
+
1007
+ Break down what makes these apps successful:
1008
+ "For each inspiring app, let's analyze their UX success:
1009
+
1010
+ **For [App Name]:**
1011
+
1012
+ - What core problem does it solve elegantly?
1013
+ - What makes the onboarding experience effective?
1014
+ - How do they handle navigation and information hierarchy?
1015
+ - What are their most innovative or delightful interactions?
1016
+ - What visual design choices support the user experience?
1017
+ - How do they handle errors or edge cases?"
1018
+
1019
+ ### 3. Extract Transferable Patterns
1020
+
1021
+ Identify patterns that could apply to your project:
1022
+ "**Transferable UX Patterns:**
1023
+ Looking across these inspiring apps, I see patterns we could adapt:
1024
+
1025
+ **Navigation Patterns:**
1026
+
1027
+ - [Pattern 1] - could work for your [specific use case]
1028
+ - [Pattern 2] - might solve your [specific challenge]
1029
+
1030
+ **Interaction Patterns:**
1031
+
1032
+ - [Pattern 1] - excellent for [your user goal]
1033
+ - [Pattern 2] - addresses [your user pain point]
1034
+
1035
+ **Visual Patterns:**
1036
+
1037
+ - [Pattern 1] - supports your [emotional goal]
1038
+ - [Pattern 2] - aligns with your [platform requirements]
1039
+
1040
+ Which of these patterns resonate most for your product?"
1041
+
1042
+ ### 4. Identify Anti-Patterns to Avoid
1043
+
1044
+ Surface what not to do based on analysis:
1045
+ "**UX Anti-Patterns to Avoid:**
1046
+ From analyzing both successes and failures in your space, here are patterns to avoid:
1047
+
1048
+ - [Anti-pattern 1] - users find this confusing/frustrating
1049
+ - [Anti-pattern 2] - this creates unnecessary friction
1050
+ - [Anti-pattern 3] - doesn't align with your [emotional goals]
1051
+
1052
+ Learning from others' mistakes is as important as learning from their successes."
1053
+
1054
+ ### 5. Define Design Inspiration Strategy
1055
+
1056
+ Create a clear strategy for using this inspiration:
1057
+ "**Design Inspiration Strategy:**
1058
+
1059
+ **What to Adopt:**
1060
+
1061
+ - [Specific pattern] - because it supports [your core experience]
1062
+ - [Specific pattern] - because it aligns with [user needs]
1063
+
1064
+ **What to Adapt:**
1065
+
1066
+ - [Specific pattern] - modify for [your unique requirements]
1067
+ - [Specific pattern] - simplify for [your user skill level]
1068
+
1069
+ **What to Avoid:**
1070
+
1071
+ - [Specific anti-pattern] - conflicts with [your goals]
1072
+ - [Specific anti-pattern] - doesn't fit [your platform]
1073
+
1074
+ This strategy will guide our design decisions while keeping {{project_name}} unique."
1075
+
1076
+ ### 6. Generate Inspiration Analysis Content
1077
+
1078
+ Prepare the content to append to the document:
1079
+
1080
+ #### Content Structure:
1081
+
1082
+ When saving to document, append these Level 2 and Level 3 sections:
1083
+
1084
+ ```markdown
1085
+ ## UX Pattern Analysis & Inspiration
1086
+
1087
+ ### Inspiring Products Analysis
1088
+
1089
+ [Analysis of inspiring products based on conversation]
1090
+
1091
+ ### Transferable UX Patterns
1092
+
1093
+ [Transferable patterns identified based on conversation]
1094
+
1095
+ ### Anti-Patterns to Avoid
1096
+
1097
+ [Anti-patterns to avoid based on conversation]
1098
+
1099
+ ### Design Inspiration Strategy
1100
+
1101
+ [Strategy for using inspiration based on conversation]
1102
+ ```
1103
+
1104
+ ### 7. Present Content and Menu
1105
+
1106
+ Show the generated inspiration analysis content and present choices:
1107
+ "I've analyzed inspiring UX patterns and products to inform our design strategy for {{project_name}}. This gives us a solid foundation of proven patterns to build upon.
1108
+
1109
+ **Here's what I'll add to the document:**
1110
+
1111
+ [Show the complete markdown content from step 6]
1112
+
1113
+ **What would you like to do?**
1114
+ [A] Advanced Elicitation - Let's deepen our UX pattern analysis
1115
+ [P] Party Mode - Bring different perspectives on inspiration sources
1116
+ [C] Continue - Save this to the document and move to design system choice"
1117
+
1118
+ ### 8. Handle Menu Selection
1119
+
1120
+ #### If 'A' (Advanced Elicitation):
1121
+
1122
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current inspiration analysis content
1123
+ - Process the enhanced pattern insights that come back
1124
+ - Ask user: "Accept these improvements to the inspiration analysis? (y/n)"
1125
+ - If yes: Update content with improvements, then return to A/P/C menu
1126
+ - If no: Keep original content, then return to A/P/C menu
1127
+
1128
+ #### If 'P' (Party Mode):
1129
+
1130
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current inspiration analysis
1131
+ - Process the collaborative pattern insights that come back
1132
+ - Ask user: "Accept these changes to the inspiration analysis? (y/n)"
1133
+ - If yes: Update content with improvements, then return to A/P/C menu
1134
+ - If no: Keep original content, then return to A/P/C menu
1135
+
1136
+ #### If 'C' (Continue):
1137
+
1138
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
1139
+ - Update frontmatter: append step to end of stepsCompleted array
1140
+ - Read fully and follow: `./step-06-design-system.md`
1141
+
1142
+ ## APPEND TO DOCUMENT:
1143
+
1144
+ When user selects 'C', append the content directly to the document using the structure from step 6.
1145
+
1146
+ ## SUCCESS METRICS:
1147
+
1148
+ ✅ Inspiring products identified and analyzed thoroughly
1149
+ ✅ UX patterns extracted and categorized effectively
1150
+ ✅ Transferable patterns identified for current project
1151
+ ✅ Anti-patterns identified to avoid common mistakes
1152
+ ✅ Clear design inspiration strategy established
1153
+ ✅ A/P/C menu presented and handled correctly
1154
+ ✅ Content properly appended to document when C selected
1155
+
1156
+ ## FAILURE MODES:
1157
+
1158
+ ❌ Not getting specific examples of inspiring products
1159
+ ❌ Surface-level analysis without deep pattern extraction
1160
+ ❌ Missing opportunities for pattern adaptation
1161
+ ❌ Not identifying relevant anti-patterns to avoid
1162
+ ❌ Strategy too generic or not actionable
1163
+ ❌ Not presenting A/P/C menu after content generation
1164
+ ❌ Appending content without user selecting 'C'
1165
+
1166
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
1167
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
1168
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
1169
+
1170
+ ## NEXT STEP:
1171
+
1172
+ After user selects 'C' and content is saved to document, load `./step-06-design-system.md` to choose the appropriate design system approach.
1173
+
1174
+ Remember: Do NOT proceed to step-06 until user explicitly selects 'C' from the A/P/C menu and content is saved!
1175
+
1176
+
1177
+ # Step 6: Design System Choice
1178
+
1179
+ ## MANDATORY EXECUTION RULES (READ FIRST):
1180
+
1181
+ - 🛑 NEVER generate content without user input
1182
+
1183
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
1184
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
1185
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
1186
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
1187
+ - 💬 FOCUS on choosing appropriate design system approach
1188
+ - 🎯 COLLABORATIVE decision-making, not recommendation-only
1189
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
1190
+
1191
+ ## EXECUTION PROTOCOLS:
1192
+
1193
+ - 🎯 Show your analysis before taking any action
1194
+ - ⚠️ Present A/P/C menu after generating design system decision content
1195
+ - 💾 ONLY save when user chooses C (Continue)
1196
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
1197
+ - 🚫 FORBIDDEN to load next step until C is selected
1198
+
1199
+ ## COLLABORATION MENUS (A/P/C):
1200
+
1201
+ This step will generate content and present choices:
1202
+
1203
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper design system insights
1204
+ - **P (Party Mode)**: Bring multiple perspectives to evaluate design system options
1205
+ - **C (Continue)**: Save the content to the document and proceed to next step
1206
+
1207
+ ## PROTOCOL INTEGRATION:
1208
+
1209
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
1210
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
1211
+ - PROTOCOLS always return to this step's A/P/C menu
1212
+ - User accepts/rejects protocol changes before proceeding
1213
+
1214
+ ## CONTEXT BOUNDARIES:
1215
+
1216
+ - Current document and frontmatter from previous steps are available
1217
+ - Platform requirements from step 3 inform design system choice
1218
+ - Inspiration patterns from step 5 guide design system selection
1219
+ - Focus on choosing foundation for consistent design
1220
+
1221
+ ## YOUR TASK:
1222
+
1223
+ Choose appropriate design system approach based on project requirements and constraints.
1224
+
1225
+ ## DESIGN SYSTEM CHOICE SEQUENCE:
1226
+
1227
+ ### 1. Present Design System Options
1228
+
1229
+ Educate about design system approaches:
1230
+ "For {{project_name}}, we need to choose a design system foundation. Think of design systems like LEGO blocks for UI - they provide proven components and patterns, ensuring consistency and speeding development.
1231
+
1232
+ **Design System Approaches:**
1233
+
1234
+ **1. Custom Design System**
1235
+
1236
+ - Complete visual uniqueness
1237
+ - Full control over every component
1238
+ - Higher initial investment
1239
+ - Perfect for established brands with unique needs
1240
+
1241
+ **2. Established System (Material Design, Ant Design, etc.)**
1242
+
1243
+ - Fast development with proven patterns
1244
+ - Great defaults and accessibility built-in
1245
+ - Less visual differentiation
1246
+ - Ideal for startups or internal tools
1247
+
1248
+ **3. Themeable System (MUI, Chakra UI, Tailwind UI)**
1249
+
1250
+ - Customizable with strong foundation
1251
+ - Brand flexibility with proven components
1252
+ - Moderate learning curve
1253
+ - Good balance of speed and uniqueness
1254
+
1255
+ Which direction feels right for your project?"
1256
+
1257
+ ### 2. Analyze Project Requirements
1258
+
1259
+ Guide decision based on project context:
1260
+ "**Let's consider your specific needs:**
1261
+
1262
+ **Based on our previous conversations:**
1263
+
1264
+ - Platform: [platform from step 3]
1265
+ - Timeline: [inferred from user conversation]
1266
+ - Team Size: [inferred from user conversation]
1267
+ - Brand Requirements: [inferred from user conversation]
1268
+ - Technical Constraints: [inferred from user conversation]
1269
+
1270
+ **Decision Factors:**
1271
+
1272
+ - Need for speed vs. need for uniqueness
1273
+ - Brand guidelines or existing visual identity
1274
+ - Team's design expertise
1275
+ - Long-term maintenance considerations
1276
+ - Integration requirements with existing systems"
1277
+
1278
+ ### 3. Explore Specific Design System Options
1279
+
1280
+ Dive deeper into relevant options:
1281
+ "**Recommended Options Based on Your Needs:**
1282
+
1283
+ **For [Your Platform Type]:**
1284
+
1285
+ - [Option 1] - [Key benefit] - [Best for scenario]
1286
+ - [Option 2] - [Key benefit] - [Best for scenario]
1287
+ - [Option 3] - [Key benefit] - [Best for scenario]
1288
+
1289
+ **Considerations:**
1290
+
1291
+ - Component library size and quality
1292
+ - Documentation and community support
1293
+ - Customization capabilities
1294
+ - Accessibility compliance
1295
+ - Performance characteristics
1296
+ - Learning curve for your team"
1297
+
1298
+ ### 4. Facilitate Decision Process
1299
+
1300
+ Help user make informed choice:
1301
+ "**Decision Framework:**
1302
+
1303
+ 1. What's most important: Speed, uniqueness, or balance?
1304
+ 2. How much design expertise does your team have?
1305
+ 3. Are there existing brand guidelines to follow?
1306
+ 4. What's your timeline and budget?
1307
+ 5. Long-term maintenance needs?
1308
+
1309
+ Let's evaluate options based on your answers to these questions."
1310
+
1311
+ ### 5. Finalize Design System Choice
1312
+
1313
+ Confirm and document the decision:
1314
+ "Based on our analysis, I recommend [Design System Choice] for {{project_name}}.
1315
+
1316
+ **Rationale:**
1317
+
1318
+ - [Reason 1 based on project needs]
1319
+ - [Reason 2 based on constraints]
1320
+ - [Reason 3 based on team considerations]
1321
+
1322
+ **Next Steps:**
1323
+
1324
+ - We'll customize this system to match your brand and needs
1325
+ - Define component strategy for custom components needed
1326
+ - Establish design tokens and patterns
1327
+
1328
+ Does this design system choice feel right to you?"
1329
+
1330
+ ### 6. Generate Design System Content
1331
+
1332
+ Prepare the content to append to the document:
1333
+
1334
+ #### Content Structure:
1335
+
1336
+ When saving to document, append these Level 2 and Level 3 sections:
1337
+
1338
+ ```markdown
1339
+ ## Design System Foundation
1340
+
1341
+ ### 1.1 Design System Choice
1342
+
1343
+ [Design system choice based on conversation]
1344
+
1345
+ ### Rationale for Selection
1346
+
1347
+ [Rationale for design system selection based on conversation]
1348
+
1349
+ ### Implementation Approach
1350
+
1351
+ [Implementation approach based on chosen system]
1352
+
1353
+ ### Customization Strategy
1354
+
1355
+ [Customization strategy based on project needs]
1356
+ ```
1357
+
1358
+ ### 7. Present Content and Menu
1359
+
1360
+ Show the generated design system content and present choices:
1361
+ "I've documented our design system choice for {{project_name}}. This foundation will ensure consistency and speed up development.
1362
+
1363
+ **Here's what I'll add to the document:**
1364
+
1365
+ [Show the complete markdown content from step 6]
1366
+
1367
+ **What would you like to do?**
1368
+ [A] Advanced Elicitation - Let's refine our design system decision
1369
+ [P] Party Mode - Bring technical perspectives on design systems
1370
+ [C] Continue - Save this to the document and move to defining experience
1371
+
1372
+ ### 8. Handle Menu Selection
1373
+
1374
+ #### If 'A' (Advanced Elicitation):
1375
+
1376
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current design system content
1377
+ - Process the enhanced design system insights that come back
1378
+ - Ask user: "Accept these improvements to the design system decision? (y/n)"
1379
+ - If yes: Update content with improvements, then return to A/P/C menu
1380
+ - If no: Keep original content, then return to A/P/C menu
1381
+
1382
+ #### If 'P' (Party Mode):
1383
+
1384
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current design system choice
1385
+ - Process the collaborative design system insights that come back
1386
+ - Ask user: "Accept these changes to the design system decision? (y/n)"
1387
+ - If yes: Update content with improvements, then return to A/P/C menu
1388
+ - If no: Keep original content, then return to A/P/C menu
1389
+
1390
+ #### If 'C' (Continue):
1391
+
1392
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
1393
+ - Update frontmatter: append step to end of stepsCompleted array
1394
+ - Load `./step-07-defining-experience.md`
1395
+
1396
+ ## APPEND TO DOCUMENT:
1397
+
1398
+ When user selects 'C', append the content directly to the document using the structure from step 6.
1399
+
1400
+ ## SUCCESS METRICS:
1401
+
1402
+ ✅ Design system options clearly presented and explained
1403
+ ✅ Decision framework applied to project requirements
1404
+ ✅ Specific design system chosen with clear rationale
1405
+ ✅ Implementation approach planned
1406
+ ✅ Customization strategy defined
1407
+ ✅ A/P/C menu presented and handled correctly
1408
+ ✅ Content properly appended to document when C selected
1409
+
1410
+ ## FAILURE MODES:
1411
+
1412
+ ❌ Not explaining design system concepts clearly
1413
+ ❌ Rushing to recommendation without understanding requirements
1414
+ ❌ Not considering technical constraints or team capabilities
1415
+ ❌ Choosing design system without clear rationale
1416
+ ❌ Not planning implementation approach
1417
+ ❌ Not presenting A/P/C menu after content generation
1418
+ ❌ Appending content without user selecting 'C'
1419
+
1420
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
1421
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
1422
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
1423
+
1424
+ ## NEXT STEP:
1425
+
1426
+ After user selects 'C' and content is saved to document, load `./step-07-defining-experience.md` to define the core user interaction.
1427
+
1428
+ Remember: Do NOT proceed to step-07 until user explicitly selects 'C' from the A/P/C menu and content is saved!
1429
+
1430
+
1431
+ # Step 7: Defining Core Experience
1432
+
1433
+ ## MANDATORY EXECUTION RULES (READ FIRST):
1434
+
1435
+ - 🛑 NEVER generate content without user input
1436
+
1437
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
1438
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
1439
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
1440
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
1441
+ - 💬 FOCUS on defining the core interaction that defines the product
1442
+ - 🎯 COLLABORATIVE discovery, not assumption-based design
1443
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
1444
+
1445
+ ## EXECUTION PROTOCOLS:
1446
+
1447
+ - 🎯 Show your analysis before taking any action
1448
+ - ⚠️ Present A/P/C menu after generating defining experience content
1449
+ - 💾 ONLY save when user chooses C (Continue)
1450
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
1451
+ - 🚫 FORBIDDEN to load next step until C is selected
1452
+
1453
+ ## COLLABORATION MENUS (A/P/C):
1454
+
1455
+ This step will generate content and present choices:
1456
+
1457
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper experience insights
1458
+ - **P (Party Mode)**: Bring multiple perspectives to define optimal core experience
1459
+ - **C (Continue)**: Save the content to the document and proceed to next step
1460
+
1461
+ ## PROTOCOL INTEGRATION:
1462
+
1463
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
1464
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
1465
+ - PROTOCOLS always return to this step's A/P/C menu
1466
+ - User accepts/rejects protocol changes before proceeding
1467
+
1468
+ ## CONTEXT BOUNDARIES:
1469
+
1470
+ - Current document and frontmatter from previous steps are available
1471
+ - Core experience from step 3 provides foundation
1472
+ - Design system choice from step 6 informs implementation
1473
+ - Focus on the defining interaction that makes the product special
1474
+
1475
+ ## YOUR TASK:
1476
+
1477
+ Define the core interaction that, if nailed, makes everything else follow in the user experience.
1478
+
1479
+ ## DEFINING EXPERIENCE SEQUENCE:
1480
+
1481
+ ### 1. Identify the Defining Experience
1482
+
1483
+ Focus on the core interaction:
1484
+ "Every successful product has a defining experience - the core interaction that, if we nail it, everything else follows.
1485
+
1486
+ **Think about these famous examples:**
1487
+
1488
+ - Tinder: "Swipe to match with people"
1489
+ - Snapchat: "Share photos that disappear"
1490
+ - Instagram: "Share perfect moments with filters"
1491
+ - Spotify: "Discover and play any song instantly"
1492
+
1493
+ **For {{project_name}}:**
1494
+ What's the core action that users will describe to their friends?
1495
+ What's the interaction that makes users feel successful?
1496
+ If we get ONE thing perfectly right, what should it be?"
1497
+
1498
+ ### 2. Explore the User's Mental Model
1499
+
1500
+ Understand how users think about the core task:
1501
+ "**User Mental Model Questions:**
1502
+
1503
+ - How do users currently solve this problem?
1504
+ - What mental model do they bring to this task?
1505
+ - What's their expectation for how this should work?
1506
+ - Where are they likely to get confused or frustrated?
1507
+
1508
+ **Current Solutions:**
1509
+
1510
+ - What do users love/hate about existing approaches?
1511
+ - What shortcuts or workarounds do they use?
1512
+ - What makes existing solutions feel magical or terrible?"
1513
+
1514
+ ### 3. Define Success Criteria for Core Experience
1515
+
1516
+ Establish what makes the core interaction successful:
1517
+ "**Core Experience Success Criteria:**
1518
+
1519
+ - What makes users say 'this just works'?
1520
+ - When do they feel smart or accomplished?
1521
+ - What feedback tells them they're doing it right?
1522
+ - How fast should it feel?
1523
+ - What should happen automatically?
1524
+
1525
+ **Success Indicators:**
1526
+
1527
+ - [Success indicator 1]
1528
+ - [Success indicator 2]
1529
+ - [Success indicator 3]"
1530
+
1531
+ ### 4. Identify Novel vs. Established Patterns
1532
+
1533
+ Determine if we need to innovate or can use proven patterns:
1534
+ "**Pattern Analysis:**
1535
+ Looking at your core experience, does this:
1536
+
1537
+ - Use established UX patterns that users already understand?
1538
+ - Require novel interaction design that needs user education?
1539
+ - Combine familiar patterns in innovative ways?
1540
+
1541
+ **If Novel:**
1542
+
1543
+ - What makes this different from existing approaches?
1544
+ - How will we teach users this new pattern?
1545
+ - What familiar metaphors can we use?
1546
+
1547
+ **If Established:**
1548
+
1549
+ - Which proven patterns should we adopt?
1550
+ - How can we innovate within familiar patterns?
1551
+ - What's our unique twist on established interactions?"
1552
+
1553
+ ### 5. Define Experience Mechanics
1554
+
1555
+ Break down the core interaction into details:
1556
+ "**Core Experience Mechanics:**
1557
+ Let's design the step-by-step flow for [defining experience]:
1558
+
1559
+ **1. Initiation:**
1560
+
1561
+ - How does the user start this action?
1562
+ - What triggers or invites them to begin?
1563
+
1564
+ **2. Interaction:**
1565
+
1566
+ - What does the user actually do?
1567
+ - What controls or inputs do they use?
1568
+ - How does the system respond?
1569
+
1570
+ **3. Feedback:**
1571
+
1572
+ - What tells users they're succeeding?
1573
+ - How do they know when it's working?
1574
+ - What happens if they make a mistake?
1575
+
1576
+ **4. Completion:**
1577
+
1578
+ - How do users know they're done?
1579
+ - What's the successful outcome?
1580
+ - What's next?"
1581
+
1582
+ ### 6. Generate Defining Experience Content
1583
+
1584
+ Prepare the content to append to the document:
1585
+
1586
+ #### Content Structure:
1587
+
1588
+ When saving to document, append these Level 2 and Level 3 sections:
1589
+
1590
+ ```markdown
1591
+ ## 2. Core User Experience
1592
+
1593
+ ### 2.1 Defining Experience
1594
+
1595
+ [Defining experience description based on conversation]
1596
+
1597
+ ### 2.2 User Mental Model
1598
+
1599
+ [User mental model analysis based on conversation]
1600
+
1601
+ ### 2.3 Success Criteria
1602
+
1603
+ [Success criteria for core experience based on conversation]
1604
+
1605
+ ### 2.4 Novel UX Patterns
1606
+
1607
+ [Novel UX patterns analysis based on conversation]
1608
+
1609
+ ### 2.5 Experience Mechanics
1610
+
1611
+ [Detailed mechanics for core experience based on conversation]
1612
+ ```
1613
+
1614
+ ### 7. Present Content and Menu
1615
+
1616
+ Show the generated defining experience content and present choices:
1617
+ "I've defined the core experience for {{project_name}} - the interaction that will make users love this product.
1618
+
1619
+ **Here's what I'll add to the document:**
1620
+
1621
+ [Show the complete markdown content from step 6]
1622
+
1623
+ **What would you like to do?**
1624
+ [A] Advanced Elicitation - Let's refine the core experience definition
1625
+ [P] Party Mode - Bring different perspectives on the defining interaction
1626
+ [C] Continue - Save this to the document and move to visual foundation
1627
+
1628
+ ### 8. Handle Menu Selection
1629
+
1630
+ #### If 'A' (Advanced Elicitation):
1631
+
1632
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current defining experience content
1633
+ - Process the enhanced experience insights that come back
1634
+ - Ask user: "Accept these improvements to the defining experience? (y/n)"
1635
+ - If yes: Update content with improvements, then return to A/P/C menu
1636
+ - If no: Keep original content, then return to A/P/C menu
1637
+
1638
+ #### If 'P' (Party Mode):
1639
+
1640
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current defining experience
1641
+ - Process the collaborative experience insights that come back
1642
+ - Ask user: "Accept these changes to the defining experience? (y/n)"
1643
+ - If yes: Update content with improvements, then return to A/P/C menu
1644
+ - If no: Keep original content, then return to A/P/C menu
1645
+
1646
+ #### If 'C' (Continue):
1647
+
1648
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
1649
+ - Update frontmatter: append step to end of stepsCompleted array
1650
+ - Load `./step-08-visual-foundation.md`
1651
+
1652
+ ## APPEND TO DOCUMENT:
1653
+
1654
+ When user selects 'C', append the content directly to the document using the structure from step 6.
1655
+
1656
+ ## SUCCESS METRICS:
1657
+
1658
+ ✅ Defining experience clearly articulated
1659
+ ✅ User mental model thoroughly analyzed
1660
+ ✅ Success criteria established for core interaction
1661
+ ✅ Novel vs. established patterns properly evaluated
1662
+ ✅ Experience mechanics designed in detail
1663
+ ✅ A/P/C menu presented and handled correctly
1664
+ ✅ Content properly appended to document when C selected
1665
+
1666
+ ## FAILURE MODES:
1667
+
1668
+ ❌ Not identifying the true core interaction
1669
+ ❌ Missing user's mental model and expectations
1670
+ ❌ Not establishing clear success criteria
1671
+ ❌ Not properly evaluating novel vs. established patterns
1672
+ ❌ Experience mechanics too vague or incomplete
1673
+ ❌ Not presenting A/P/C menu after content generation
1674
+ ❌ Appending content without user selecting 'C'
1675
+
1676
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
1677
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
1678
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
1679
+
1680
+ ## NEXT STEP:
1681
+
1682
+ After user selects 'C' and content is saved to document, load `./step-08-visual-foundation.md` to establish visual design foundation.
1683
+
1684
+ Remember: Do NOT proceed to step-08 until user explicitly selects 'C' from the A/P/C menu and content is saved!
1685
+
1686
+
1687
+ # Step 8: Visual Foundation
1688
+
1689
+ ## MANDATORY EXECUTION RULES (READ FIRST):
1690
+
1691
+ - 🛑 NEVER generate content without user input
1692
+
1693
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
1694
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
1695
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
1696
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
1697
+ - 💬 FOCUS on establishing visual design foundation (colors, typography, spacing)
1698
+ - 🎯 COLLABORATIVE discovery, not assumption-based design
1699
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
1700
+
1701
+ ## EXECUTION PROTOCOLS:
1702
+
1703
+ - 🎯 Show your analysis before taking any action
1704
+ - ⚠️ Present A/P/C menu after generating visual foundation content
1705
+ - 💾 ONLY save when user chooses C (Continue)
1706
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
1707
+ - 🚫 FORBIDDEN to load next step until C is selected
1708
+
1709
+ ## COLLABORATION MENUS (A/P/C):
1710
+
1711
+ This step will generate content and present choices:
1712
+
1713
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper visual insights
1714
+ - **P (Party Mode)**: Bring multiple perspectives to define visual foundation
1715
+ - **C (Continue)**: Save the content to the document and proceed to next step
1716
+
1717
+ ## PROTOCOL INTEGRATION:
1718
+
1719
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
1720
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
1721
+ - PROTOCOLS always return to this step's A/P/C menu
1722
+ - User accepts/rejects protocol changes before proceeding
1723
+
1724
+ ## CONTEXT BOUNDARIES:
1725
+
1726
+ - Current document and frontmatter from previous steps are available
1727
+ - Design system choice from step 6 provides component foundation
1728
+ - Emotional response goals from step 4 inform visual decisions
1729
+ - Focus on colors, typography, spacing, and layout foundation
1730
+
1731
+ ## YOUR TASK:
1732
+
1733
+ Establish the visual design foundation including color themes, typography, and spacing systems.
1734
+
1735
+ ## VISUAL FOUNDATION SEQUENCE:
1736
+
1737
+ ### 1. Brand Guidelines Assessment
1738
+
1739
+ Check for existing brand requirements:
1740
+ "Do you have existing brand guidelines or a specific color palette I should follow? (y/n)
1741
+
1742
+ If yes, I'll extract and document your brand colors and create semantic color mappings.
1743
+ If no, I'll generate theme options based on your project's personality and emotional goals from our earlier discussion."
1744
+
1745
+ ### 2. Generate Color Theme Options (If no brand guidelines)
1746
+
1747
+ Create visual exploration opportunities:
1748
+ "If no existing brand guidelines, I'll create a color theme visualizer to help you explore options.
1749
+
1750
+ 🎨 I can generate comprehensive HTML color theme visualizers with multiple theme options, complete UI examples, and the ability to see how colors work in real interface contexts.
1751
+
1752
+ This will help you make an informed decision about the visual direction for {{project_name}}."
1753
+
1754
+ ### 3. Define Typography System
1755
+
1756
+ Establish the typographic foundation:
1757
+ "**Typography Questions:**
1758
+
1759
+ - What should the overall tone feel like? (Professional, friendly, modern, classic?)
1760
+ - How much text content will users read? (Headings only? Long-form content?)
1761
+ - Any accessibility requirements for font sizes or contrast?
1762
+ - Any brand fonts we must use?
1763
+
1764
+ **Typography Strategy:**
1765
+
1766
+ - Choose primary and secondary typefaces
1767
+ - Establish type scale (h1, h2, h3, body, etc.)
1768
+ - Define line heights and spacing relationships
1769
+ - Consider readability and accessibility"
1770
+
1771
+ ### 4. Establish Spacing and Layout Foundation
1772
+
1773
+ Define the structural foundation:
1774
+ "**Spacing and Layout Foundation:**
1775
+
1776
+ - How should the overall layout feel? (Dense and efficient? Airy and spacious?)
1777
+ - What spacing unit should we use? (4px, 8px, 12px base?)
1778
+ - How much white space should be between elements?
1779
+ - Should we use a grid system? If so, what column structure?
1780
+
1781
+ **Layout Principles:**
1782
+
1783
+ - [Layout principle 1 based on product type]
1784
+ - [Layout principle 2 based on user needs]
1785
+ - [Layout principle 3 based on platform requirements]"
1786
+
1787
+ ### 5. Create Visual Foundation Strategy
1788
+
1789
+ Synthesize all visual decisions:
1790
+ "**Visual Foundation Strategy:**
1791
+
1792
+ **Color System:**
1793
+
1794
+ - [Color strategy based on brand guidelines or generated themes]
1795
+ - Semantic color mapping (primary, secondary, success, warning, error, etc.)
1796
+ - Accessibility compliance (contrast ratios)
1797
+
1798
+ **Typography System:**
1799
+
1800
+ - [Typography strategy based on content needs and tone]
1801
+ - Type scale and hierarchy
1802
+ - Font pairing rationale
1803
+
1804
+ **Spacing & Layout:**
1805
+
1806
+ - [Spacing strategy based on content density and platform]
1807
+ - Grid system approach
1808
+ - Component spacing relationships
1809
+
1810
+ This foundation will ensure consistency across all our design decisions."
1811
+
1812
+ ### 6. Generate Visual Foundation Content
1813
+
1814
+ Prepare the content to append to the document:
1815
+
1816
+ #### Content Structure:
1817
+
1818
+ When saving to document, append these Level 2 and Level 3 sections:
1819
+
1820
+ ```markdown
1821
+ ## Visual Design Foundation
1822
+
1823
+ ### Color System
1824
+
1825
+ [Color system strategy based on conversation]
1826
+
1827
+ ### Typography System
1828
+
1829
+ [Typography system strategy based on conversation]
1830
+
1831
+ ### Spacing & Layout Foundation
1832
+
1833
+ [Spacing and layout foundation based on conversation]
1834
+
1835
+ ### Accessibility Considerations
1836
+
1837
+ [Accessibility considerations based on conversation]
1838
+ ```
1839
+
1840
+ ### 7. Present Content and Menu
1841
+
1842
+ Show the generated visual foundation content and present choices:
1843
+ "I've established the visual design foundation for {{project_name}}. This provides the building blocks for consistent, beautiful design.
1844
+
1845
+ **Here's what I'll add to the document:**
1846
+
1847
+ [Show the complete markdown content from step 6]
1848
+
1849
+ **What would you like to do?**
1850
+ [A] Advanced Elicitation - Let's refine our visual foundation
1851
+ [P] Party Mode - Bring design perspectives on visual choices
1852
+ [C] Continue - Save this to the document and move to design directions
1853
+
1854
+ ### 8. Handle Menu Selection
1855
+
1856
+ #### If 'A' (Advanced Elicitation):
1857
+
1858
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current visual foundation content
1859
+ - Process the enhanced visual insights that come back
1860
+ - Ask user: "Accept these improvements to the visual foundation? (y/n)"
1861
+ - If yes: Update content with improvements, then return to A/P/C menu
1862
+ - If no: Keep original content, then return to A/P/C menu
1863
+
1864
+ #### If 'P' (Party Mode):
1865
+
1866
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current visual foundation
1867
+ - Process the collaborative visual insights that come back
1868
+ - Ask user: "Accept these changes to the visual foundation? (y/n)"
1869
+ - If yes: Update content with improvements, then return to A/P/C menu
1870
+ - If no: Keep original content, then return to A/P/C menu
1871
+
1872
+ #### If 'C' (Continue):
1873
+
1874
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
1875
+ - Update frontmatter: append step to end of stepsCompleted array
1876
+ - Load `./step-09-design-directions.md`
1877
+
1878
+ ## APPEND TO DOCUMENT:
1879
+
1880
+ When user selects 'C', append the content directly to the document using the structure from step 6.
1881
+
1882
+ ## SUCCESS METRICS:
1883
+
1884
+ ✅ Brand guidelines assessed and incorporated if available
1885
+ ✅ Color system established with accessibility consideration
1886
+ ✅ Typography system defined with appropriate hierarchy
1887
+ ✅ Spacing and layout foundation created
1888
+ ✅ Visual foundation strategy documented
1889
+ ✅ A/P/C menu presented and handled correctly
1890
+ ✅ Content properly appended to document when C selected
1891
+
1892
+ ## FAILURE MODES:
1893
+
1894
+ ❌ Not checking for existing brand guidelines first
1895
+ ❌ Color palette not aligned with emotional goals
1896
+ ❌ Typography not suitable for content type or readability needs
1897
+ ❌ Spacing system not appropriate for content density
1898
+ ❌ Missing accessibility considerations
1899
+ ❌ Not presenting A/P/C menu after content generation
1900
+ ❌ Appending content without user selecting 'C'
1901
+
1902
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
1903
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
1904
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
1905
+
1906
+ ## NEXT STEP:
1907
+
1908
+ After user selects 'C' and content is saved to document, load `./step-09-design-directions.md` to generate design direction mockups.
1909
+
1910
+ Remember: Do NOT proceed to step-09 until user explicitly selects 'C' from the A/P/C menu and content is saved!
1911
+
1912
+
1913
+ # Step 9: Design Direction Mockups
1914
+
1915
+ ## MANDATORY EXECUTION RULES (READ FIRST):
1916
+
1917
+ - 🛑 NEVER generate content without user input
1918
+
1919
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
1920
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
1921
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
1922
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
1923
+ - 💬 FOCUS on generating and evaluating design direction variations
1924
+ - 🎯 COLLABORATIVE exploration, not assumption-based design
1925
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
1926
+
1927
+ ## EXECUTION PROTOCOLS:
1928
+
1929
+ - 🎯 Show your analysis before taking any action
1930
+ - ⚠️ Present A/P/C menu after generating design direction content
1931
+ - 💾 Generate HTML visualizer for design directions
1932
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
1933
+ - 🚫 FORBIDDEN to load next step until C is selected
1934
+
1935
+ ## COLLABORATION MENUS (A/P/C):
1936
+
1937
+ This step will generate content and present choices:
1938
+
1939
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper design insights
1940
+ - **P (Party Mode)**: Bring multiple perspectives to evaluate design directions
1941
+ - **C (Continue)**: Save the content to the document and proceed to next step
1942
+
1943
+ ## PROTOCOL INTEGRATION:
1944
+
1945
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
1946
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
1947
+ - PROTOCOLS always return to this step's A/P/C menu
1948
+ - User accepts/rejects protocol changes before proceeding
1949
+
1950
+ ## CONTEXT BOUNDARIES:
1951
+
1952
+ - Current document and frontmatter from previous steps are available
1953
+ - Visual foundation from step 8 provides design tokens
1954
+ - Core experience from step 7 informs layout and interaction design
1955
+ - Focus on exploring different visual design directions
1956
+
1957
+ ## YOUR TASK:
1958
+
1959
+ Generate comprehensive design direction mockups showing different visual approaches for the product.
1960
+
1961
+ ## DESIGN DIRECTIONS SEQUENCE:
1962
+
1963
+ ### 1. Generate Design Direction Variations
1964
+
1965
+ Create diverse visual explorations:
1966
+ "I'll generate 6-8 different design direction variations exploring:
1967
+
1968
+ - Different layout approaches and information hierarchy
1969
+ - Various interaction patterns and visual weights
1970
+ - Alternative color applications from our foundation
1971
+ - Different density and spacing approaches
1972
+ - Various navigation and component arrangements
1973
+
1974
+ Each mockup will show a complete vision for {{project_name}} with all our design decisions applied."
1975
+
1976
+ ### 2. Create HTML Design Direction Showcase
1977
+
1978
+ Generate interactive visual exploration:
1979
+ "🎨 Design Direction Mockups Generated!
1980
+
1981
+ I'm creating a comprehensive HTML design direction showcase at `{planning_artifacts}/ux-design-directions.html`
1982
+
1983
+ **What you'll see:**
1984
+
1985
+ - 6-8 full-screen mockup variations
1986
+ - Interactive states and hover effects
1987
+ - Side-by-side comparison tools
1988
+ - Complete UI examples with real content
1989
+ - Responsive behavior demonstrations
1990
+
1991
+ Each mockup represents a complete visual direction for your app's look and feel."
1992
+
1993
+ ### 3. Present Design Exploration Framework
1994
+
1995
+ Guide evaluation criteria:
1996
+ "As you explore the design directions, look for:
1997
+
1998
+ ✅ **Layout Intuitiveness** - Which information hierarchy matches your priorities?
1999
+ ✅ **Interaction Style** - Which interaction style fits your core experience?
2000
+ ✅ **Visual Weight** - Which visual density feels right for your brand?
2001
+ ✅ **Navigation Approach** - Which navigation pattern matches user expectations?
2002
+ ✅ **Component Usage** - How well do the components support your user journeys?
2003
+ ✅ **Brand Alignment** - Which direction best supports your emotional goals?
2004
+
2005
+ Take your time exploring - this is a crucial decision that will guide all our design work!"
2006
+
2007
+ ### 4. Facilitate Design Direction Selection
2008
+
2009
+ Help user choose or combine elements:
2010
+ "After exploring all the design directions:
2011
+
2012
+ **Which approach resonates most with you?**
2013
+
2014
+ - Pick a favorite direction as-is
2015
+ - Combine elements from multiple directions
2016
+ - Request modifications to any direction
2017
+ - Use one direction as a base and iterate
2018
+
2019
+ **Tell me:**
2020
+
2021
+ - Which layout feels most intuitive for your users?
2022
+ - Which visual weight matches your brand personality?
2023
+ - Which interaction style supports your core experience?
2024
+ - Are there elements from different directions you'd like to combine?"
2025
+
2026
+ ### 5. Document Design Direction Decision
2027
+
2028
+ Capture the chosen approach:
2029
+ "Based on your exploration, I'm understanding your design direction preference:
2030
+
2031
+ **Chosen Direction:** [Direction number or combination]
2032
+ **Key Elements:** [Specific elements you liked]
2033
+ **Modifications Needed:** [Any changes requested]
2034
+ **Rationale:** [Why this direction works for your product]
2035
+
2036
+ This will become our design foundation moving forward. Are we ready to lock this in, or do you want to explore variations?"
2037
+
2038
+ ### 6. Generate Design Direction Content
2039
+
2040
+ Prepare the content to append to the document:
2041
+
2042
+ #### Content Structure:
2043
+
2044
+ When saving to document, append these Level 2 and Level 3 sections:
2045
+
2046
+ ```markdown
2047
+ ## Design Direction Decision
2048
+
2049
+ ### Design Directions Explored
2050
+
2051
+ [Summary of design directions explored based on conversation]
2052
+
2053
+ ### Chosen Direction
2054
+
2055
+ [Chosen design direction based on conversation]
2056
+
2057
+ ### Design Rationale
2058
+
2059
+ [Rationale for design direction choice based on conversation]
2060
+
2061
+ ### Implementation Approach
2062
+
2063
+ [Implementation approach based on chosen direction]
2064
+ ```
2065
+
2066
+ ### 7. Present Content and Menu
2067
+
2068
+ Show the generated design direction content and present choices:
2069
+ "I've documented our design direction decision for {{project_name}}. This visual approach will guide all our detailed design work.
2070
+
2071
+ **Here's what I'll add to the document:**
2072
+
2073
+ [Show the complete markdown content from step 6]
2074
+
2075
+ **What would you like to do?**
2076
+ [A] Advanced Elicitation - Let's refine our design direction
2077
+ [P] Party Mode - Bring different perspectives on visual choices
2078
+ [C] Continue - Save this to the document and move to user journey flows
2079
+
2080
+ ### 8. Handle Menu Selection
2081
+
2082
+ #### If 'A' (Advanced Elicitation):
2083
+
2084
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current design direction content
2085
+ - Process the enhanced design insights that come back
2086
+ - Ask user: "Accept these improvements to the design direction? (y/n)"
2087
+ - If yes: Update content with improvements, then return to A/P/C menu
2088
+ - If no: Keep original content, then return to A/P/C menu
2089
+
2090
+ #### If 'P' (Party Mode):
2091
+
2092
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current design direction
2093
+ - Process the collaborative design insights that come back
2094
+ - Ask user: "Accept these changes to the design direction? (y/n)"
2095
+ - If yes: Update content with improvements, then return to A/P/C menu
2096
+ - If no: Keep original content, then return to A/P/C menu
2097
+
2098
+ #### If 'C' (Continue):
2099
+
2100
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
2101
+ - Update frontmatter: append step to end of stepsCompleted array
2102
+ - Load `./step-10-user-journeys.md`
2103
+
2104
+ ## APPEND TO DOCUMENT:
2105
+
2106
+ When user selects 'C', append the content directly to the document using the structure from step 6.
2107
+
2108
+ ## SUCCESS METRICS:
2109
+
2110
+ ✅ Multiple design direction variations generated
2111
+ ✅ HTML showcase created with interactive elements
2112
+ ✅ Design evaluation criteria clearly established
2113
+ ✅ User able to explore and compare directions effectively
2114
+ ✅ Design direction decision made with clear rationale
2115
+ ✅ A/P/C menu presented and handled correctly
2116
+ ✅ Content properly appended to document when C selected
2117
+
2118
+ ## FAILURE MODES:
2119
+
2120
+ ❌ Not creating enough variation in design directions
2121
+ ❌ Design directions not aligned with established foundation
2122
+ ❌ Missing interactive elements in HTML showcase
2123
+ ❌ Not providing clear evaluation criteria
2124
+ ❌ Rushing decision without thorough exploration
2125
+ ❌ Not presenting A/P/C menu after content generation
2126
+ ❌ Appending content without user selecting 'C'
2127
+
2128
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
2129
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
2130
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
2131
+
2132
+ ## NEXT STEP:
2133
+
2134
+ After user selects 'C' and content is saved to document, load `./step-10-user-journeys.md` to design user journey flows.
2135
+
2136
+ Remember: Do NOT proceed to step-10 until user explicitly selects 'C' from the A/P/C menu and content is saved!
2137
+
2138
+
2139
+ # Step 10: User Journey Flows
2140
+
2141
+ ## MANDATORY EXECUTION RULES (READ FIRST):
2142
+
2143
+ - 🛑 NEVER generate content without user input
2144
+
2145
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
2146
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
2147
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
2148
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
2149
+ - 💬 FOCUS on designing user flows and journey interactions
2150
+ - 🎯 COLLABORATIVE flow design, not assumption-based layouts
2151
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
2152
+
2153
+ ## EXECUTION PROTOCOLS:
2154
+
2155
+ - 🎯 Show your analysis before taking any action
2156
+ - ⚠️ Present A/P/C menu after generating user journey content
2157
+ - 💾 ONLY save when user chooses C (Continue)
2158
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
2159
+ - 🚫 FORBIDDEN to load next step until C is selected
2160
+
2161
+ ## COLLABORATION MENUS (A/P/C):
2162
+
2163
+ This step will generate content and present choices:
2164
+
2165
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper journey insights
2166
+ - **P (Party Mode)**: Bring multiple perspectives to design user flows
2167
+ - **C (Continue)**: Save the content to the document and proceed to next step
2168
+
2169
+ ## PROTOCOL INTEGRATION:
2170
+
2171
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
2172
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
2173
+ - PROTOCOLS always return to this step's A/P/C menu
2174
+ - User accepts/rejects protocol changes before proceeding
2175
+
2176
+ ## CONTEXT BOUNDARIES:
2177
+
2178
+ - Current document and frontmatter from previous steps are available
2179
+ - Design direction from step 9 informs flow layout and visual design
2180
+ - Core experience from step 7 defines key journey interactions
2181
+ - Focus on designing detailed user flows with Mermaid diagrams
2182
+
2183
+ ## YOUR TASK:
2184
+
2185
+ Design detailed user journey flows for critical user interactions.
2186
+
2187
+ ## USER JOURNEY FLOWS SEQUENCE:
2188
+
2189
+ ### 1. Load PRD User Journeys as Foundation
2190
+
2191
+ Start with user journeys already defined in the PRD:
2192
+ "Great! Since we have the PRD available, let's build on the user journeys already documented there.
2193
+
2194
+ **Existing User Journeys from PRD:**
2195
+ I've already loaded these user journeys from your PRD:
2196
+ [Journey narratives from PRD input documents]
2197
+
2198
+ These journeys tell us **who** users are and **why** they take certain actions. Now we need to design **how** those journeys work in detail.
2199
+
2200
+ **Critical Journeys to Design Flows For:**
2201
+ Looking at the PRD journeys, I need to design detailed interaction flows for:
2202
+
2203
+ - [Critical journey 1 identified from PRD narratives]
2204
+ - [Critical journey 2 identified from PRD narratives]
2205
+ - [Critical journey 3 identified from PRD narratives]
2206
+
2207
+ The PRD gave us the stories - now we design the mechanics!"
2208
+
2209
+ ### 2. Design Each Journey Flow
2210
+
2211
+ For each critical journey, design detailed flow:
2212
+
2213
+ **For [Journey Name]:**
2214
+ "Let's design the flow for users accomplishing [journey goal].
2215
+
2216
+ **Flow Design Questions:**
2217
+
2218
+ - How do users start this journey? (entry point)
2219
+ - What information do they need at each step?
2220
+ - What decisions do they need to make?
2221
+ - How do they know they're progressing successfully?
2222
+ - What does success look like for this journey?
2223
+ - Where might they get confused or stuck?
2224
+ - How do they recover from errors?"
2225
+
2226
+ ### 3. Create Flow Diagrams
2227
+
2228
+ Visualize each journey with Mermaid diagrams:
2229
+ "I'll create detailed flow diagrams for each journey showing:
2230
+
2231
+ **[Journey Name] Flow:**
2232
+
2233
+ - Entry points and triggers
2234
+ - Decision points and branches
2235
+ - Success and failure paths
2236
+ - Error recovery mechanisms
2237
+ - Progressive disclosure of information
2238
+
2239
+ Each diagram will map the complete user experience from start to finish."
2240
+
2241
+ ### 4. Optimize for Efficiency and Delight
2242
+
2243
+ Refine flows for optimal user experience:
2244
+ "**Flow Optimization:**
2245
+ For each journey, let's ensure we're:
2246
+
2247
+ - Minimizing steps to value (getting users to success quickly)
2248
+ - Reducing cognitive load at each decision point
2249
+ - Providing clear feedback and progress indicators
2250
+ - Creating moments of delight or accomplishment
2251
+ - Handling edge cases and error recovery gracefully
2252
+
2253
+ **Specific Optimizations:**
2254
+
2255
+ - [Optimization 1 for journey efficiency]
2256
+ - [Optimization 2 for user delight]
2257
+ - [Optimization 3 for error handling]"
2258
+
2259
+ ### 5. Document Journey Patterns
2260
+
2261
+ Extract reusable patterns across journeys:
2262
+ "**Journey Patterns:**
2263
+ Across these flows, I'm seeing some common patterns we can standardize:
2264
+
2265
+ **Navigation Patterns:**
2266
+
2267
+ - [Navigation pattern 1]
2268
+ - [Navigation pattern 2]
2269
+
2270
+ **Decision Patterns:**
2271
+
2272
+ - [Decision pattern 1]
2273
+ - [Decision pattern 2]
2274
+
2275
+ **Feedback Patterns:**
2276
+
2277
+ - [Feedback pattern 1]
2278
+ - [Feedback pattern 2]
2279
+
2280
+ These patterns will ensure consistency across all user experiences."
2281
+
2282
+ ### 6. Generate User Journey Content
2283
+
2284
+ Prepare the content to append to the document:
2285
+
2286
+ #### Content Structure:
2287
+
2288
+ When saving to document, append these Level 2 and Level 3 sections:
2289
+
2290
+ ```markdown
2291
+ ## User Journey Flows
2292
+
2293
+ ### [Journey 1 Name]
2294
+
2295
+ [Journey 1 description and Mermaid diagram]
2296
+
2297
+ ### [Journey 2 Name]
2298
+
2299
+ [Journey 2 description and Mermaid diagram]
2300
+
2301
+ ### Journey Patterns
2302
+
2303
+ [Journey patterns identified based on conversation]
2304
+
2305
+ ### Flow Optimization Principles
2306
+
2307
+ [Flow optimization principles based on conversation]
2308
+ ```
2309
+
2310
+ ### 7. Present Content and Menu
2311
+
2312
+ Show the generated user journey content and present choices:
2313
+ "I've designed detailed user journey flows for {{project_name}}. These flows will guide the detailed design of each user interaction.
2314
+
2315
+ **Here's what I'll add to the document:**
2316
+
2317
+ [Show the complete markdown content from step 6]
2318
+
2319
+ **What would you like to do?**
2320
+ [A] Advanced Elicitation - Let's refine our user journey designs
2321
+ [P] Party Mode - Bring different perspectives on user flows
2322
+ [C] Continue - Save this to the document and move to component strategy
2323
+
2324
+ ### 8. Handle Menu Selection
2325
+
2326
+ #### If 'A' (Advanced Elicitation):
2327
+
2328
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current user journey content
2329
+ - Process the enhanced journey insights that come back
2330
+ - Ask user: "Accept these improvements to the user journeys? (y/n)"
2331
+ - If yes: Update content with improvements, then return to A/P/C menu
2332
+ - If no: Keep original content, then return to A/P/C menu
2333
+
2334
+ #### If 'P' (Party Mode):
2335
+
2336
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current user journeys
2337
+ - Process the collaborative journey insights that come back
2338
+ - Ask user: "Accept these changes to the user journeys? (y/n)"
2339
+ - If yes: Update content with improvements, then return to A/P/C menu
2340
+ - If no: Keep original content, then return to A/P/C menu
2341
+
2342
+ #### If 'C' (Continue):
2343
+
2344
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
2345
+ - Update frontmatter: append step to end of stepsCompleted array
2346
+ - Load `./step-11-component-strategy.md`
2347
+
2348
+ ## APPEND TO DOCUMENT:
2349
+
2350
+ When user selects 'C', append the content directly to the document using the structure from step 6.
2351
+
2352
+ ## SUCCESS METRICS:
2353
+
2354
+ ✅ Critical user journeys identified and designed
2355
+ ✅ Detailed flow diagrams created for each journey
2356
+ ✅ Flows optimized for efficiency and user delight
2357
+ ✅ Common journey patterns extracted and documented
2358
+ ✅ A/P/C menu presented and handled correctly
2359
+ ✅ Content properly appended to document when C selected
2360
+
2361
+ ## FAILURE MODES:
2362
+
2363
+ ❌ Not identifying all critical user journeys
2364
+ ❌ Flows too complex or not optimized for user success
2365
+ ❌ Missing error recovery paths
2366
+ ❌ Not extracting reusable patterns across journeys
2367
+ ❌ Flow diagrams unclear or incomplete
2368
+ ❌ Not presenting A/P/C menu after content generation
2369
+ ❌ Appending content without user selecting 'C'
2370
+
2371
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
2372
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
2373
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
2374
+
2375
+ ## NEXT STEP:
2376
+
2377
+ After user selects 'C' and content is saved to document, load `./step-11-component-strategy.md` to define component library strategy.
2378
+
2379
+ Remember: Do NOT proceed to step-11 until user explicitly selects 'C' from the A/P/C menu and content is saved!
2380
+
2381
+
2382
+ # Step 11: Component Strategy
2383
+
2384
+ ## MANDATORY EXECUTION RULES (READ FIRST):
2385
+
2386
+ - 🛑 NEVER generate content without user input
2387
+
2388
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
2389
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
2390
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
2391
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
2392
+ - 💬 FOCUS on defining component library strategy and custom components
2393
+ - 🎯 COLLABORATIVE component planning, not assumption-based design
2394
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
2395
+
2396
+ ## EXECUTION PROTOCOLS:
2397
+
2398
+ - 🎯 Show your analysis before taking any action
2399
+ - ⚠️ Present A/P/C menu after generating component strategy content
2400
+ - 💾 ONLY save when user chooses C (Continue)
2401
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
2402
+ - 🚫 FORBIDDEN to load next step until C is selected
2403
+
2404
+ ## COLLABORATION MENUS (A/P/C):
2405
+
2406
+ This step will generate content and present choices:
2407
+
2408
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper component insights
2409
+ - **P (Party Mode)**: Bring multiple perspectives to define component strategy
2410
+ - **C (Continue)**: Save the content to the document and proceed to next step
2411
+
2412
+ ## PROTOCOL INTEGRATION:
2413
+
2414
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
2415
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
2416
+ - PROTOCOLS always return to this step's A/P/C menu
2417
+ - User accepts/rejects protocol changes before proceeding
2418
+
2419
+ ## CONTEXT BOUNDARIES:
2420
+
2421
+ - Current document and frontmatter from previous steps are available
2422
+ - Design system choice from step 6 determines available components
2423
+ - User journeys from step 10 identify component needs
2424
+ - Focus on defining custom components and implementation strategy
2425
+
2426
+ ## YOUR TASK:
2427
+
2428
+ Define component library strategy and design custom components not covered by the design system.
2429
+
2430
+ ## COMPONENT STRATEGY SEQUENCE:
2431
+
2432
+ ### 1. Analyze Design System Coverage
2433
+
2434
+ Review what components are available vs. needed:
2435
+ "Based on our chosen design system [design system from step 6], let's identify what components are already available and what we need to create custom.
2436
+
2437
+ **Available from Design System:**
2438
+ [List of components available in chosen design system]
2439
+
2440
+ **Components Needed for {{project_name}}:**
2441
+ Looking at our user journeys and design direction, we need:
2442
+
2443
+ - [Component need 1 from journey analysis]
2444
+ - [Component need 2 from design requirements]
2445
+ - [Component need 3 from core experience]
2446
+
2447
+ **Gap Analysis:**
2448
+
2449
+ - [Gap 1 - needed but not available]
2450
+ - [Gap 2 - needed but not available]"
2451
+
2452
+ ### 2. Design Custom Components
2453
+
2454
+ For each custom component needed, design thoroughly:
2455
+
2456
+ **For each custom component:**
2457
+ "**[Component Name] Design:**
2458
+
2459
+ **Purpose:** What does this component do for users?
2460
+ **Content:** What information or data does it display?
2461
+ **Actions:** What can users do with this component?
2462
+ **States:** What different states does it have? (default, hover, active, disabled, error, etc.)
2463
+ **Variants:** Are there different sizes or styles needed?
2464
+ **Accessibility:** What ARIA labels and keyboard support needed?
2465
+
2466
+ Let's walk through each custom component systematically."
2467
+
2468
+ ### 3. Document Component Specifications
2469
+
2470
+ Create detailed specifications for each component:
2471
+
2472
+ **Component Specification Template:**
2473
+
2474
+ ```markdown
2475
+ ### [Component Name]
2476
+
2477
+ **Purpose:** [Clear purpose statement]
2478
+ **Usage:** [When and how to use]
2479
+ **Anatomy:** [Visual breakdown of parts]
2480
+ **States:** [All possible states with descriptions]
2481
+ **Variants:** [Different sizes/styles if applicable]
2482
+ **Accessibility:** [ARIA labels, keyboard navigation]
2483
+ **Content Guidelines:** [What content works best]
2484
+ **Interaction Behavior:** [How users interact]
2485
+ ```
2486
+
2487
+ ### 4. Define Component Strategy
2488
+
2489
+ Establish overall component library approach:
2490
+ "**Component Strategy:**
2491
+
2492
+ **Foundation Components:** (from design system)
2493
+
2494
+ - [Foundation component 1]
2495
+ - [Foundation component 2]
2496
+
2497
+ **Custom Components:** (designed in this step)
2498
+
2499
+ - [Custom component 1 with rationale]
2500
+ - [Custom component 2 with rationale]
2501
+
2502
+ **Implementation Approach:**
2503
+
2504
+ - Build custom components using design system tokens
2505
+ - Ensure consistency with established patterns
2506
+ - Follow accessibility best practices
2507
+ - Create reusable patterns for common use cases"
2508
+
2509
+ ### 5. Plan Implementation Roadmap
2510
+
2511
+ Define how and when to build components:
2512
+ "**Implementation Roadmap:**
2513
+
2514
+ **Phase 1 - Core Components:**
2515
+
2516
+ - [Component 1] - needed for [critical flow]
2517
+ - [Component 2] - needed for [critical flow]
2518
+
2519
+ **Phase 2 - Supporting Components:**
2520
+
2521
+ - [Component 3] - enhances [user experience]
2522
+ - [Component 4] - supports [design pattern]
2523
+
2524
+ **Phase 3 - Enhancement Components:**
2525
+
2526
+ - [Component 5] - optimizes [user journey]
2527
+ - [Component 6] - adds [special feature]
2528
+
2529
+ This roadmap helps prioritize development based on user journey criticality."
2530
+
2531
+ ### 6. Generate Component Strategy Content
2532
+
2533
+ Prepare the content to append to the document:
2534
+
2535
+ #### Content Structure:
2536
+
2537
+ When saving to document, append these Level 2 and Level 3 sections:
2538
+
2539
+ ```markdown
2540
+ ## Component Strategy
2541
+
2542
+ ### Design System Components
2543
+
2544
+ [Analysis of available design system components based on conversation]
2545
+
2546
+ ### Custom Components
2547
+
2548
+ [Custom component specifications based on conversation]
2549
+
2550
+ ### Component Implementation Strategy
2551
+
2552
+ [Component implementation strategy based on conversation]
2553
+
2554
+ ### Implementation Roadmap
2555
+
2556
+ [Implementation roadmap based on conversation]
2557
+ ```
2558
+
2559
+ ### 7. Present Content and Menu
2560
+
2561
+ Show the generated component strategy content and present choices:
2562
+ "I've defined the component strategy for {{project_name}}. This balances using proven design system components with custom components for your unique needs.
2563
+
2564
+ **Here's what I'll add to the document:**
2565
+
2566
+ [Show the complete markdown content from step 6]
2567
+
2568
+ **What would you like to do?**
2569
+ [A] Advanced Elicitation - Let's refine our component strategy
2570
+ [P] Party Mode - Bring technical perspectives on component design
2571
+ [C] Continue - Save this to the document and move to UX patterns
2572
+
2573
+ ### 8. Handle Menu Selection
2574
+
2575
+ #### If 'A' (Advanced Elicitation):
2576
+
2577
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current component strategy content
2578
+ - Process the enhanced component insights that come back
2579
+ - Ask user: "Accept these improvements to the component strategy? (y/n)"
2580
+ - If yes: Update content with improvements, then return to A/P/C menu
2581
+ - If no: Keep original content, then return to A/P/C menu
2582
+
2583
+ #### If 'P' (Party Mode):
2584
+
2585
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current component strategy
2586
+ - Process the collaborative component insights that come back
2587
+ - Ask user: "Accept these changes to the component strategy? (y/n)"
2588
+ - If yes: Update content with improvements, then return to A/P/C menu
2589
+ - If no: Keep original content, then return to A/P/C menu
2590
+
2591
+ #### If 'C' (Continue):
2592
+
2593
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
2594
+ - Update frontmatter: append step to end of stepsCompleted array
2595
+ - Load `./step-12-ux-patterns.md`
2596
+
2597
+ ## APPEND TO DOCUMENT:
2598
+
2599
+ When user selects 'C', append the content directly to the document using the structure from step 6.
2600
+
2601
+ ## SUCCESS METRICS:
2602
+
2603
+ ✅ Design system coverage properly analyzed
2604
+ ✅ All custom components thoroughly specified
2605
+ ✅ Component strategy clearly defined
2606
+ ✅ Implementation roadmap prioritized by user need
2607
+ ✅ Accessibility considered for all components
2608
+ ✅ A/P/C menu presented and handled correctly
2609
+ ✅ Content properly appended to document when C selected
2610
+
2611
+ ## FAILURE MODES:
2612
+
2613
+ ❌ Not analyzing design system coverage properly
2614
+ ❌ Custom components not thoroughly specified
2615
+ ❌ Missing accessibility considerations
2616
+ ❌ Component strategy not aligned with user journeys
2617
+ ❌ Implementation roadmap not prioritized effectively
2618
+ ❌ Not presenting A/P/C menu after content generation
2619
+ ❌ Appending content without user selecting 'C'
2620
+
2621
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
2622
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
2623
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
2624
+
2625
+ ## NEXT STEP:
2626
+
2627
+ After user selects 'C' and content is saved to document, load `./step-12-ux-patterns.md` to define UX consistency patterns.
2628
+
2629
+ Remember: Do NOT proceed to step-12 until user explicitly selects 'C' from the A/P/C menu and content is saved!
2630
+
2631
+
2632
+ # Step 12: UX Consistency Patterns
2633
+
2634
+ ## MANDATORY EXECUTION RULES (READ FIRST):
2635
+
2636
+ - 🛑 NEVER generate content without user input
2637
+
2638
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
2639
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
2640
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
2641
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
2642
+ - 💬 FOCUS on establishing consistency patterns for common UX situations
2643
+ - 🎯 COLLABORATIVE pattern definition, not assumption-based design
2644
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
2645
+
2646
+ ## EXECUTION PROTOCOLS:
2647
+
2648
+ - 🎯 Show your analysis before taking any action
2649
+ - ⚠️ Present A/P/C menu after generating UX patterns content
2650
+ - 💾 ONLY save when user chooses C (Continue)
2651
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
2652
+ - 🚫 FORBIDDEN to load next step until C is selected
2653
+
2654
+ ## COLLABORATION MENUS (A/P/C):
2655
+
2656
+ This step will generate content and present choices:
2657
+
2658
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper pattern insights
2659
+ - **P (Party Mode)**: Bring multiple perspectives to define UX patterns
2660
+ - **C (Continue)**: Save the content to the document and proceed to next step
2661
+
2662
+ ## PROTOCOL INTEGRATION:
2663
+
2664
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
2665
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
2666
+ - PROTOCOLS always return to this step's A/P/C menu
2667
+ - User accepts/rejects protocol changes before proceeding
2668
+
2669
+ ## CONTEXT BOUNDARIES:
2670
+
2671
+ - Current document and frontmatter from previous steps are available
2672
+ - Component strategy from step 11 informs pattern decisions
2673
+ - User journeys from step 10 identify common pattern needs
2674
+ - Focus on consistency patterns for common UX situations
2675
+
2676
+ ## YOUR TASK:
2677
+
2678
+ Establish UX consistency patterns for common situations like buttons, forms, navigation, and feedback.
2679
+
2680
+ ## UX PATTERNS SEQUENCE:
2681
+
2682
+ ### 1. Identify Pattern Categories
2683
+
2684
+ Determine which patterns need definition for your product:
2685
+ "Let's establish consistency patterns for how {{project_name}} behaves in common situations.
2686
+
2687
+ **Pattern Categories to Define:**
2688
+
2689
+ - Button hierarchy and actions
2690
+ - Feedback patterns (success, error, warning, info)
2691
+ - Form patterns and validation
2692
+ - Navigation patterns
2693
+ - Modal and overlay patterns
2694
+ - Empty states and loading states
2695
+ - Search and filtering patterns
2696
+
2697
+ Which categories are most critical for your product? We can go through each thoroughly or focus on the most important ones."
2698
+
2699
+ ### 2. Define Critical Patterns First
2700
+
2701
+ Focus on patterns most relevant to your product:
2702
+
2703
+ **For [Critical Pattern Category]:**
2704
+ "**[Pattern Type] Patterns:**
2705
+ What should users see/do when they need to [pattern action]?
2706
+
2707
+ **Considerations:**
2708
+
2709
+ - Visual hierarchy (primary vs. secondary actions)
2710
+ - Feedback mechanisms
2711
+ - Error recovery
2712
+ - Accessibility requirements
2713
+ - Mobile vs. desktop considerations
2714
+
2715
+ **Examples:**
2716
+
2717
+ - [Example 1 for this pattern type]
2718
+ - [Example 2 for this pattern type]
2719
+
2720
+ How should {{project_name}} handle [pattern type] interactions?"
2721
+
2722
+ ### 3. Establish Pattern Guidelines
2723
+
2724
+ Document specific design decisions:
2725
+
2726
+ **Pattern Guidelines Template:**
2727
+
2728
+ ```markdown
2729
+ ### [Pattern Type]
2730
+
2731
+ **When to Use:** [Clear usage guidelines]
2732
+ **Visual Design:** [How it should look]
2733
+ **Behavior:** [How it should interact]
2734
+ **Accessibility:** [A11y requirements]
2735
+ **Mobile Considerations:** [Mobile-specific needs]
2736
+ **Variants:** [Different states or styles if applicable]
2737
+ ```
2738
+
2739
+ ### 4. Design System Integration
2740
+
2741
+ Ensure patterns work with chosen design system:
2742
+ "**Integration with [Design System]:**
2743
+
2744
+ - How do these patterns complement our design system components?
2745
+ - What customizations are needed?
2746
+ - How do we maintain consistency while meeting unique needs?
2747
+
2748
+ **Custom Pattern Rules:**
2749
+
2750
+ - [Custom rule 1]
2751
+ - [Custom rule 2]
2752
+ - [Custom rule 3]"
2753
+
2754
+ ### 5. Create Pattern Documentation
2755
+
2756
+ Generate comprehensive pattern library:
2757
+
2758
+ **Pattern Library Structure:**
2759
+
2760
+ - Clear usage guidelines for each pattern
2761
+ - Visual examples and specifications
2762
+ - Implementation notes for developers
2763
+ - Accessibility checklists
2764
+ - Mobile-first considerations
2765
+
2766
+ ### 6. Generate UX Patterns Content
2767
+
2768
+ Prepare the content to append to the document:
2769
+
2770
+ #### Content Structure:
2771
+
2772
+ When saving to document, append these Level 2 and Level 3 sections:
2773
+
2774
+ ```markdown
2775
+ ## UX Consistency Patterns
2776
+
2777
+ ### Button Hierarchy
2778
+
2779
+ [Button hierarchy patterns based on conversation]
2780
+
2781
+ ### Feedback Patterns
2782
+
2783
+ [Feedback patterns based on conversation]
2784
+
2785
+ ### Form Patterns
2786
+
2787
+ [Form patterns based on conversation]
2788
+
2789
+ ### Navigation Patterns
2790
+
2791
+ [Navigation patterns based on conversation]
2792
+
2793
+ ### Additional Patterns
2794
+
2795
+ [Additional patterns based on conversation]
2796
+ ```
2797
+
2798
+ ### 7. Present Content and Menu
2799
+
2800
+ Show the generated UX patterns content and present choices:
2801
+ "I've established UX consistency patterns for {{project_name}}. These patterns ensure users have a consistent, predictable experience across all interactions.
2802
+
2803
+ **Here's what I'll add to the document:**
2804
+
2805
+ [Show the complete markdown content from step 6]
2806
+
2807
+ **What would you like to do?**
2808
+ [A] Advanced Elicitation - Let's refine our UX patterns
2809
+ [P] Party Mode - Bring different perspectives on consistency patterns
2810
+ [C] Continue - Save this to the document and move to responsive design
2811
+
2812
+ ### 8. Handle Menu Selection
2813
+
2814
+ #### If 'A' (Advanced Elicitation):
2815
+
2816
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current UX patterns content
2817
+ - Process the enhanced pattern insights that come back
2818
+ - Ask user: "Accept these improvements to the UX patterns? (y/n)"
2819
+ - If yes: Update content with improvements, then return to A/P/C menu
2820
+ - If no: Keep original content, then return to A/P/C menu
2821
+
2822
+ #### If 'P' (Party Mode):
2823
+
2824
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current UX patterns
2825
+ - Process the collaborative pattern insights that come back
2826
+ - Ask user: "Accept these changes to the UX patterns? (y/n)"
2827
+ - If yes: Update content with improvements, then return to A/P/C menu
2828
+ - If no: Keep original content, then return to A/P/C menu
2829
+
2830
+ #### If 'C' (Continue):
2831
+
2832
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
2833
+ - Update frontmatter: append step to end of stepsCompleted array
2834
+ - Load `./step-13-responsive-accessibility.md`
2835
+
2836
+ ## APPEND TO DOCUMENT:
2837
+
2838
+ When user selects 'C', append the content directly to the document using the structure from step 6.
2839
+
2840
+ ## SUCCESS METRICS:
2841
+
2842
+ ✅ Critical pattern categories identified and prioritized
2843
+ ✅ Consistency patterns clearly defined and documented
2844
+ ✅ Patterns integrated with chosen design system
2845
+ ✅ Accessibility considerations included for all patterns
2846
+ ✅ Mobile-first approach incorporated
2847
+ ✅ A/P/C menu presented and handled correctly
2848
+ ✅ Content properly appended to document when C selected
2849
+
2850
+ ## FAILURE MODES:
2851
+
2852
+ ❌ Not identifying the most critical pattern categories
2853
+ ❌ Patterns too generic or not actionable
2854
+ ❌ Missing accessibility considerations
2855
+ ❌ Patterns not aligned with design system
2856
+ ❌ Not considering mobile differences
2857
+ ❌ Not presenting A/P/C menu after content generation
2858
+ ❌ Appending content without user selecting 'C'
2859
+
2860
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
2861
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
2862
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
2863
+
2864
+ ## NEXT STEP:
2865
+
2866
+ After user selects 'C' and content is saved to document, load `./step-13-responsive-accessibility.md` to define responsive design and accessibility strategy.
2867
+
2868
+ Remember: Do NOT proceed to step-13 until user explicitly selects 'C' from the A/P/C menu and content is saved!
2869
+
2870
+
2871
+ # Step 13: Responsive Design & Accessibility
2872
+
2873
+ ## MANDATORY EXECUTION RULES (READ FIRST):
2874
+
2875
+ - 🛑 NEVER generate content without user input
2876
+
2877
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
2878
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
2879
+ - ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
2880
+ - 📋 YOU ARE A UX FACILITATOR, not a content generator
2881
+ - 💬 FOCUS on responsive design strategy and accessibility compliance
2882
+ - 🎯 COLLABORATIVE strategy definition, not assumption-based design
2883
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
2884
+
2885
+ ## EXECUTION PROTOCOLS:
2886
+
2887
+ - 🎯 Show your analysis before taking any action
2888
+ - ⚠️ Present A/P/C menu after generating responsive/accessibility content
2889
+ - 💾 ONLY save when user chooses C (Continue)
2890
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted.
2891
+ - 🚫 FORBIDDEN to load next step until C is selected
2892
+
2893
+ ## COLLABORATION MENUS (A/P/C):
2894
+
2895
+ This step will generate content and present choices:
2896
+
2897
+ - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper responsive/accessibility insights
2898
+ - **P (Party Mode)**: Bring multiple perspectives to define responsive/accessibility strategy
2899
+ - **C (Continue)**: Save the content to the document and proceed to final step
2900
+
2901
+ ## PROTOCOL INTEGRATION:
2902
+
2903
+ - When 'A' selected: Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
2904
+ - When 'P' selected: Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md
2905
+ - PROTOCOLS always return to this step's A/P/C menu
2906
+ - User accepts/rejects protocol changes before proceeding
2907
+
2908
+ ## CONTEXT BOUNDARIES:
2909
+
2910
+ - Current document and frontmatter from previous steps are available
2911
+ - Platform requirements from step 3 inform responsive design
2912
+ - Design direction from step 9 influences responsive layout choices
2913
+ - Focus on cross-device adaptation and accessibility compliance
2914
+
2915
+ ## YOUR TASK:
2916
+
2917
+ Define responsive design strategy and accessibility requirements for the product.
2918
+
2919
+ ## RESPONSIVE & ACCESSIBILITY SEQUENCE:
2920
+
2921
+ ### 1. Define Responsive Strategy
2922
+
2923
+ Establish how the design adapts across devices:
2924
+ "Let's define how {{project_name}} adapts across different screen sizes and devices.
2925
+
2926
+ **Responsive Design Questions:**
2927
+
2928
+ **Desktop Strategy:**
2929
+
2930
+ - How should we use extra screen real estate?
2931
+ - Multi-column layouts, side navigation, or content density?
2932
+ - What desktop-specific features can we include?
2933
+
2934
+ **Tablet Strategy:**
2935
+
2936
+ - Should we use simplified layouts or touch-optimized interfaces?
2937
+ - How do gestures and touch interactions work on tablets?
2938
+ - What's the optimal information density for tablet screens?
2939
+
2940
+ **Mobile Strategy:**
2941
+
2942
+ - Bottom navigation or hamburger menu?
2943
+ - How do layouts collapse on small screens?
2944
+ - What's the most critical information to show mobile-first?"
2945
+
2946
+ ### 2. Establish Breakpoint Strategy
2947
+
2948
+ Define when and how layouts change:
2949
+ "**Breakpoint Strategy:**
2950
+ We need to define screen size breakpoints where layouts adapt.
2951
+
2952
+ **Common Breakpoints:**
2953
+
2954
+ - Mobile: 320px - 767px
2955
+ - Tablet: 768px - 1023px
2956
+ - Desktop: 1024px+
2957
+
2958
+ **For {{project_name}}, should we:**
2959
+
2960
+ - Use standard breakpoints or custom ones?
2961
+ - Focus on mobile-first or desktop-first design?
2962
+ - Have specific breakpoints for your key use cases?"
2963
+
2964
+ ### 3. Design Accessibility Strategy
2965
+
2966
+ Define accessibility requirements and compliance level:
2967
+ "**Accessibility Strategy:**
2968
+ What level of WCAG compliance does {{project_name}} need?
2969
+
2970
+ **WCAG Levels:**
2971
+
2972
+ - **Level A (Basic)** - Essential accessibility for legal compliance
2973
+ - **Level AA (Recommended)** - Industry standard for good UX
2974
+ - **Level AAA (Highest)** - Exceptional accessibility (rarely needed)
2975
+
2976
+ **Based on your product:**
2977
+
2978
+ - [Recommendation based on user base, legal requirements, etc.]
2979
+
2980
+ **Key Accessibility Considerations:**
2981
+
2982
+ - Color contrast ratios (4.5:1 for normal text)
2983
+ - Keyboard navigation support
2984
+ - Screen reader compatibility
2985
+ - Touch target sizes (minimum 44x44px)
2986
+ - Focus indicators and skip links"
2987
+
2988
+ ### 4. Define Testing Strategy
2989
+
2990
+ Plan how to ensure responsive design and accessibility:
2991
+ "**Testing Strategy:**
2992
+
2993
+ **Responsive Testing:**
2994
+
2995
+ - Device testing on actual phones/tablets
2996
+ - Browser testing across Chrome, Firefox, Safari, Edge
2997
+ - Real device network performance testing
2998
+
2999
+ **Accessibility Testing:**
3000
+
3001
+ - Automated accessibility testing tools
3002
+ - Screen reader testing (VoiceOver, NVDA, JAWS)
3003
+ - Keyboard-only navigation testing
3004
+ - Color blindness simulation testing
3005
+
3006
+ **User Testing:**
3007
+
3008
+ - Include users with disabilities in testing
3009
+ - Test with diverse assistive technologies
3010
+ - Validate with actual target devices"
3011
+
3012
+ ### 5. Document Implementation Guidelines
3013
+
3014
+ Create specific guidelines for developers:
3015
+ "**Implementation Guidelines:**
3016
+
3017
+ **Responsive Development:**
3018
+
3019
+ - Use relative units (rem, %, vw, vh) over fixed pixels
3020
+ - Implement mobile-first media queries
3021
+ - Test touch targets and gesture areas
3022
+ - Optimize images and assets for different devices
3023
+
3024
+ **Accessibility Development:**
3025
+
3026
+ - Semantic HTML structure
3027
+ - ARIA labels and roles
3028
+ - Keyboard navigation implementation
3029
+ - Focus management and skip links
3030
+ - High contrast mode support"
3031
+
3032
+ ### 6. Generate Responsive & Accessibility Content
3033
+
3034
+ Prepare the content to append to the document:
3035
+
3036
+ #### Content Structure:
3037
+
3038
+ When saving to document, append these Level 2 and Level 3 sections:
3039
+
3040
+ ```markdown
3041
+ ## Responsive Design & Accessibility
3042
+
3043
+ ### Responsive Strategy
3044
+
3045
+ [Responsive strategy based on conversation]
3046
+
3047
+ ### Breakpoint Strategy
3048
+
3049
+ [Breakpoint strategy based on conversation]
3050
+
3051
+ ### Accessibility Strategy
3052
+
3053
+ [Accessibility strategy based on conversation]
3054
+
3055
+ ### Testing Strategy
3056
+
3057
+ [Testing strategy based on conversation]
3058
+
3059
+ ### Implementation Guidelines
3060
+
3061
+ [Implementation guidelines based on conversation]
3062
+ ```
3063
+
3064
+ ### 7. Present Content and Menu
3065
+
3066
+ Show the generated responsive and accessibility content and present choices:
3067
+ "I've defined the responsive design and accessibility strategy for {{project_name}}. This ensures your product works beautifully across all devices and is accessible to all users.
3068
+
3069
+ **Here's what I'll add to the document:**
3070
+
3071
+ [Show the complete markdown content from step 6]
3072
+
3073
+ **What would you like to do?**
3074
+ [A] Advanced Elicitation - Let's refine our responsive/accessibility strategy
3075
+ [P] Party Mode - Bring different perspectives on inclusive design
3076
+ [C] Continue - Save this to the document and complete the workflow
3077
+
3078
+ ### 8. Handle Menu Selection
3079
+
3080
+ #### If 'A' (Advanced Elicitation):
3081
+
3082
+ - Read fully and follow: {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with the current responsive/accessibility content
3083
+ - Process the enhanced insights that come back
3084
+ - Ask user: "Accept these improvements to the responsive/accessibility strategy? (y/n)"
3085
+ - If yes: Update content with improvements, then return to A/P/C menu
3086
+ - If no: Keep original content, then return to A/P/C menu
3087
+
3088
+ #### If 'P' (Party Mode):
3089
+
3090
+ - Read fully and follow: {project-root}/_bmad/core/workflows/party-mode/workflow.md with the current responsive/accessibility strategy
3091
+ - Process the collaborative insights that come back
3092
+ - Ask user: "Accept these changes to the responsive/accessibility strategy? (y/n)"
3093
+ - If yes: Update content with improvements, then return to A/P/C menu
3094
+ - If no: Keep original content, then return to A/P/C menu
3095
+
3096
+ #### If 'C' (Continue):
3097
+
3098
+ - Append the final content to `{planning_artifacts}/ux-design-specification.md`
3099
+ - Update frontmatter: append step to end of stepsCompleted array
3100
+ - Load `./step-14-complete.md`
3101
+
3102
+ ## APPEND TO DOCUMENT:
3103
+
3104
+ When user selects 'C', append the content directly to the document using the structure from step 6.
3105
+
3106
+ ## SUCCESS METRICS:
3107
+
3108
+ ✅ Responsive strategy clearly defined for all device types
3109
+ ✅ Appropriate breakpoint strategy established
3110
+ ✅ Accessibility requirements determined and documented
3111
+ ✅ Comprehensive testing strategy planned
3112
+ ✅ Implementation guidelines provided for development team
3113
+ ✅ A/P/C menu presented and handled correctly
3114
+ ✅ Content properly appended to document when C selected
3115
+
3116
+ ## FAILURE MODES:
3117
+
3118
+ ❌ Not considering all device types and screen sizes
3119
+ ❌ Accessibility requirements not properly researched
3120
+ ❌ Testing strategy not comprehensive enough
3121
+ ❌ Implementation guidelines too generic or unclear
3122
+ ❌ Not addressing specific accessibility challenges for your product
3123
+ ❌ Not presenting A/P/C menu after content generation
3124
+ ❌ Appending content without user selecting 'C'
3125
+
3126
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
3127
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
3128
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
3129
+
3130
+ ## NEXT STEP:
3131
+
3132
+ After user selects 'C' and content is saved to document, load `./step-14-complete.md` to finalize the UX design workflow.
3133
+
3134
+ Remember: Do NOT proceed to step-14 until user explicitly selects 'C' from the A/P/C menu and content is saved!
3135
+
3136
+
3137
+ # Step 14: Workflow Completion
3138
+
3139
+ ## MANDATORY EXECUTION RULES (READ FIRST):
3140
+
3141
+ - ✅ THIS IS A FINAL STEP - Workflow completion required
3142
+
3143
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
3144
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
3145
+ - 🛑 NO content generation - this is a wrap-up step
3146
+ - 📋 FINALIZE document and update workflow status
3147
+ - 💬 FOCUS on completion, validation, and next steps
3148
+ - 🎯 UPDATE workflow status files with completion information
3149
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
3150
+
3151
+ ## EXECUTION PROTOCOLS:
3152
+
3153
+ - 🎯 Show your analysis before taking any action
3154
+ - 💾 Update the main workflow status file with completion information
3155
+ - 📖 Suggest potential next workflow steps for the user
3156
+ - 🚫 DO NOT load additional steps after this one
3157
+
3158
+ ## TERMINATION STEP PROTOCOLS:
3159
+
3160
+ - This is a FINAL step - workflow completion required
3161
+ - 📖 Update output file frontmatter, adding this step to the end of the list of stepsCompleted to indicate all is finished..
3162
+ - Output completion summary and next step guidance
3163
+ - Update the main workflow status file with finalized document
3164
+ - Suggest potential next workflow steps for the user
3165
+ - Mark workflow as complete in status tracking
3166
+
3167
+ ## CONTEXT BOUNDARIES:
3168
+
3169
+ - Complete UX design specification is available from all previous steps
3170
+ - Workflow frontmatter shows all completed steps
3171
+ - All collaborative content has been generated and saved
3172
+ - Focus on completion, validation, and next steps
3173
+
3174
+ ## YOUR TASK:
3175
+
3176
+ Complete the UX design workflow, update status files, and suggest next steps for the project.
3177
+
3178
+ ## WORKFLOW COMPLETION SEQUENCE:
3179
+
3180
+ ### 1. Announce Workflow Completion
3181
+
3182
+ Inform user that the UX design is complete:
3183
+ "🎉 **UX Design Complete, {{user_name}}!**
3184
+
3185
+ I've successfully collaborated with you to create a comprehensive UX design specification for {{project_name}}.
3186
+
3187
+ **What we've accomplished:**
3188
+
3189
+ - ✅ Project understanding and user insights
3190
+ - ✅ Core experience and emotional response definition
3191
+ - ✅ UX pattern analysis and inspiration
3192
+ - ✅ Design system choice and implementation strategy
3193
+ - ✅ Core interaction definition and experience mechanics
3194
+ - ✅ Visual design foundation (colors, typography, spacing)
3195
+ - ✅ Design direction mockups and visual explorations
3196
+ - ✅ User journey flows and interaction design
3197
+ - ✅ Component strategy and custom component specifications
3198
+ - ✅ UX consistency patterns for common interactions
3199
+ - ✅ Responsive design and accessibility strategy
3200
+
3201
+ **The complete UX design specification is now available at:** `{planning_artifacts}/ux-design-specification.md`
3202
+
3203
+ **Supporting Visual Assets:**
3204
+
3205
+ - Color themes visualizer: `{planning_artifacts}/ux-color-themes.html`
3206
+ - Design directions mockups: `{planning_artifacts}/ux-design-directions.html`
3207
+
3208
+ This specification is now ready to guide visual design, implementation, and development."
3209
+
3210
+ ### 2. Workflow Status Update
3211
+
3212
+ Update the main workflow status file:
3213
+
3214
+ - Load `{status_file}` from workflow configuration (if exists)
3215
+ - Update workflow_status["create-ux-design"] = "{default_output_file}"
3216
+ - Save file, preserving all comments and structure
3217
+ - Mark current timestamp as completion time
3218
+
3219
+ ### 3. Suggest Next Steps
3220
+
3221
+ UX Design complete. Read fully and follow: `_bmad/core/tasks/bmad-help.md` with argument `Create UX`.
3222
+
3223
+ ### 5. Final Completion Confirmation
3224
+
3225
+ Congratulate the user on the completion you both completed together of the UX.
3226
+
3227
+
3228
+
3229
+ ## SUCCESS METRICS:
3230
+
3231
+ ✅ UX design specification contains all required sections
3232
+ ✅ All collaborative content properly saved to document
3233
+ ✅ Workflow status file updated with completion information
3234
+ ✅ Clear next step guidance provided to user
3235
+ ✅ Document quality validation completed
3236
+ ✅ User acknowledges completion and understands next options
3237
+
3238
+ ## FAILURE MODES:
3239
+
3240
+ ❌ Not updating workflow status file with completion information
3241
+ ❌ Missing clear next step guidance for user
3242
+ ❌ Not confirming document completeness with user
3243
+ ❌ Workflow not properly marked as complete in status tracking
3244
+ ❌ User unclear about what happens next
3245
+
3246
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
3247
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
3248
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
3249
+
3250
+ ## WORKFLOW COMPLETION CHECKLIST:
3251
+
3252
+ ### Design Specification Complete:
3253
+
3254
+ - [ ] Executive summary and project understanding
3255
+ - [ ] Core experience and emotional response definition
3256
+ - [ ] UX pattern analysis and inspiration
3257
+ - [ ] Design system choice and strategy
3258
+ - [ ] Core interaction mechanics definition
3259
+ - [ ] Visual design foundation (colors, typography, spacing)
3260
+ - [ ] Design direction decisions and mockups
3261
+ - [ ] User journey flows and interaction design
3262
+ - [ ] Component strategy and specifications
3263
+ - [ ] UX consistency patterns documentation
3264
+ - [ ] Responsive design and accessibility strategy
3265
+
3266
+ ### Process Complete:
3267
+
3268
+ - [ ] All steps completed with user confirmation
3269
+ - [ ] All content saved to specification document
3270
+ - [ ] Frontmatter properly updated with all steps
3271
+ - [ ] Workflow status file updated with completion
3272
+ - [ ] Next steps clearly communicated
3273
+
3274
+ ## NEXT STEPS GUIDANCE:
3275
+
3276
+ **Immediate Options:**
3277
+
3278
+ 1. **Wireframe Generation** - Create low-fidelity layouts based on UX spec
3279
+ 2. **Interactive Prototype** - Build clickable prototypes for testing
3280
+ 3. **Solution Architecture** - Technical design with UX context
3281
+ 4. **Figma Visual Design** - High-fidelity UI implementation
3282
+ 5. **Epic Creation** - Break down UX requirements for development
3283
+
3284
+ **Recommended Sequence:**
3285
+ For design-focused teams: Wireframes → Prototypes → Figma Design → Development
3286
+ For technical teams: Architecture → Epic Creation → Development
3287
+
3288
+ Consider team capacity, timeline, and whether user validation is needed before implementation.
3289
+
3290
+ ## WORKFLOW FINALIZATION:
3291
+
3292
+ - Set `lastStep = 14` in document frontmatter
3293
+ - Update workflow status file with completion timestamp
3294
+ - Provide completion summary to user
3295
+ - Do NOT load any additional steps
3296
+
3297
+ ## FINAL REMINDER:
3298
+
3299
+ This UX design workflow is now complete. The specification serves as the foundation for all visual and development work. All design decisions, patterns, and requirements are documented to ensure consistent, accessible, and user-centered implementation.
3300
+
3301
+ **Congratulations on completing the UX Design Specification for {{project_name}}!** 🎉
3302
+
3303
+ **Core Deliverables:**
3304
+
3305
+ - ✅ UX Design Specification: `{planning_artifacts}/ux-design-specification.md`
3306
+ - ✅ Color Themes Visualizer: `{planning_artifacts}/ux-color-themes.html`
3307
+ - ✅ Design Directions: `{planning_artifacts}/ux-design-directions.html`
3308
+