Skip to content

Commit cb464ec

Browse files
committed
refactor(ux-designer): improve step completion flow and document handling
- Add "Save Previous Step Content" section to all steps - Change immediate saving to draft review before confirmation - Update PO controller to clarify review process - Streamline initial discovery step content generation
1 parent 973b8b5 commit cb464ec

15 files changed

+159
-129
lines changed

prompts/templates/bmad/03-ux-designer/chained/step-01-discovery.md

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description: 'Understand project context and user needs for UX design'
2020

2121
## CONTEXT BOUNDARIES:
2222

23-
- PRD and product brief already loaded in workflow context
23+
- PRD and product brief content is provided above
2424
- This step creates the UX Design Specification document with initial content
2525
- **Output Path:** `.codemachine/artifacts/ux-design-spec-{date}.md`
2626

@@ -30,25 +30,23 @@ Understand the project context, target users, and what makes this product specia
3030

3131
## PROJECT DISCOVERY SEQUENCE:
3232

33-
### 1. Review Loaded Context
33+
### 1. Leverage Input Documents
3434

35-
Start by analyzing what we know from the loaded documents:
36-
"Based on the project documentation we have loaded, let me confirm what I'm understanding about {{project_name}}.
35+
**If PRD and Product Brief exist (content visible above):**
36+
"Based on your project documentation, here's what I understand about {{project_name}}:
3737

38-
**From the documents:**
39-
{summary of key insights from loaded PRD, briefs, and other context documents}
38+
**Project Vision:**
39+
{{extracted_vision_summary}}
4040

4141
**Target Users:**
42-
{summary of user information from loaded documents}
42+
{{extracted_users_summary}}
4343

4444
**Key Features/Goals:**
45-
{summary of main features and goals from loaded documents}
45+
{{extracted_features_summary}}
4646

47-
Does this match your understanding? Are there any corrections or additions you'd like to make?"
47+
Does this match your understanding? Any corrections or additions?"
4848

49-
### 2. Fill Context Gaps (If no documents or gaps exist)
50-
51-
If no documents were loaded or key information is missing:
49+
**If documents are empty or missing:**
5250
"Since we don't have complete documentation, let's start with the essentials:
5351

5452
**What are you building?** (Describe your product in 1-2 sentences)
@@ -59,7 +57,7 @@ If no documents were loaded or key information is missing:
5957

6058
**What's the main thing users will do with this?** (Core user action or goal)"
6159

62-
### 3. Explore User Context Deeper
60+
### 2. Explore User Context Deeper
6361

6462
Dive into user understanding:
6563
"Let me understand your users better to inform the UX design:
@@ -73,7 +71,7 @@ Dive into user understanding:
7371
- What devices will they use most?
7472
- When/where will they use this product?"
7573

76-
### 4. Identify UX Design Challenges
74+
### 3. Identify UX Design Challenges
7775

7876
Surface the key UX challenges to address:
7977
"From what we've discussed, I'm seeing some key UX design considerations:
@@ -91,7 +89,7 @@ Surface the key UX challenges to address:
9189

9290
Does this capture the key UX considerations we need to address?"
9391

94-
### 5. Generate UX Design Specification Document
92+
### 4. Generate UX Design Specification Document
9593

9694
Based on the conversation, prepare the content to create the document:
9795

@@ -129,22 +127,22 @@ status: 'draft'
129127
[Design opportunities identified based on conversation]
130128
```
131129

132-
### 6. Step Completion
130+
### 5. Step Completion
133131

134-
**Save Content:**
135-
Create the UX Design Specification document at `.codemachine/artifacts/ux-design-spec-{date}.md` using the structure from step 5 now.
132+
**Show Draft:**
133+
Present the content from step 4 to the user for review.
136134

137135
**Confirmation:**
138-
"Document created and saved.
136+
"Here's what I'll save to the UX Design Specification document:
139137

140-
I've documented our understanding of {{project_name}} from a UX perspective. This will guide all our design decisions moving forward.
138+
[Show the complete markdown content from step 4]
141139

142-
- If you want to **modify or add details**, just tell me what you'd like to change
143-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
140+
- If you want to **modify or add details**, tell me what you'd like to change
141+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
144142

145143
## SUCCESS METRICS:
146144

147-
All available context documents reviewed and synthesized
145+
PRD and product brief content analyzed and synthesized
148146
✅ Project vision clearly articulated
149147
✅ Target users well understood
150148
✅ Key UX challenges identified
@@ -153,7 +151,7 @@ I've documented our understanding of {{project_name}} from a UX perspective. Thi
153151

154152
## FAILURE MODES:
155153

156-
❌ Not reviewing loaded context documents thoroughly
154+
❌ Not analyzing the PRD and product brief content provided
157155
❌ Making assumptions about users without asking
158156
❌ Missing key UX challenges that will impact design
159157
❌ Not identifying design opportunities

prompts/templates/bmad/03-ux-designer/chained/step-02-core-experience.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Define the core user experience, platform requirements, and what makes the inter
3030

3131
## CORE EXPERIENCE DISCOVERY SEQUENCE:
3232

33+
### 0. Save Previous Step Content
34+
35+
**First Action:** Create the UX Design Specification document at `.codemachine/artifacts/ux-design-spec-{date}.md` using the content confirmed in Step 1.
36+
3337
### 1. Define Core User Action
3438

3539
Start by identifying the most important user interaction:
@@ -125,16 +129,16 @@ Prepare the content to append to the document:
125129

126130
### 7. Step Completion
127131

128-
**Save Content:**
129-
Append the content from step 6 to the UX Design Specification document now.
132+
**Show Draft:**
133+
Present the content from step 6 to the user for review.
130134

131135
**Confirmation:**
132-
"Content saved to document.
136+
"Here's what I'll append to the UX Design Specification:
133137

134-
I've defined the core user experience for {{project_name}} based on our conversation. This establishes the foundation for all our UX design decisions.
138+
[Show the complete markdown content from step 6]
135139

136-
- If you want to **modify or add details**, just tell me what you'd like to change
137-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
140+
- If you want to **modify or add details**, tell me what you'd like to change
141+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
138142

139143
## SUCCESS METRICS:
140144

prompts/templates/bmad/03-ux-designer/chained/step-03-emotional-response.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Define the desired emotional responses users should feel when using the product.
3030

3131
## EMOTIONAL RESPONSE DISCOVERY SEQUENCE:
3232

33+
### 0. Save Previous Step Content
34+
35+
**First Action:** Append the confirmed content from Step 2 to the UX Design Specification document.
36+
3337
### 1. Explore Core Emotional Goals
3438

3539
Start by understanding the emotional objectives:
@@ -128,16 +132,16 @@ Prepare the content to append to the document:
128132

129133
### 7. Step Completion
130134

131-
**Save Content:**
132-
Append the content from step 6 to the UX Design Specification document now.
135+
**Show Draft:**
136+
Present the content from step 6 to the user for review.
133137

134138
**Confirmation:**
135-
"Content saved to document.
139+
"Here's what I'll append to the UX Design Specification:
136140

137-
I've defined the desired emotional responses for {{project_name}}. These emotional goals will guide our design decisions to create the right user experience.
141+
[Show the complete markdown content from step 6]
138142

139-
- If you want to **modify or add details**, just tell me what you'd like to change
140-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
143+
- If you want to **modify or add details**, tell me what you'd like to change
144+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
141145

142146
## SUCCESS METRICS:
143147

prompts/templates/bmad/03-ux-designer/chained/step-04-inspiration.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Analyze inspiring products and UX patterns to inform design decisions for the cu
3030

3131
## INSPIRATION ANALYSIS SEQUENCE:
3232

33+
### 0. Save Previous Step Content
34+
35+
**First Action:** Append the confirmed content from Step 3 to the UX Design Specification document.
36+
3337
### 1. Identify User's Favorite Apps
3438

3539
Start by gathering inspiration sources:
@@ -143,16 +147,16 @@ Prepare the content to append to the document:
143147

144148
### 7. Step Completion
145149

146-
**Save Content:**
147-
Append the content from step 6 to the UX Design Specification document now.
150+
**Show Draft:**
151+
Present the content from step 6 to the user for review.
148152

149153
**Confirmation:**
150-
"Content saved to document.
154+
"Here's what I'll append to the UX Design Specification:
151155

152-
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.
156+
[Show the complete markdown content from step 6]
153157

154-
- If you want to **modify or add details**, just tell me what you'd like to change
155-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
158+
- If you want to **modify or add details**, tell me what you'd like to change
159+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
156160

157161
## SUCCESS METRICS:
158162

prompts/templates/bmad/03-ux-designer/chained/step-05-design-system.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Choose appropriate design system approach based on project requirements and cons
3131

3232
## DESIGN SYSTEM CHOICE SEQUENCE:
3333

34+
### 0. Save Previous Step Content
35+
36+
**First Action:** Append the confirmed content from Step 4 to the UX Design Specification document.
37+
3438
### 1. Present Design System Options
3539

3640
Educate about design system approaches:
@@ -162,16 +166,16 @@ Prepare the content to append to the document:
162166

163167
### 7. Step Completion
164168

165-
**Save Content:**
166-
Append the content from step 6 to the UX Design Specification document now.
169+
**Show Draft:**
170+
Present the content from step 6 to the user for review.
167171

168172
**Confirmation:**
169-
"Content saved to document.
173+
"Here's what I'll append to the UX Design Specification:
170174

171-
I've documented our design system choice for {{project_name}}. This foundation will ensure consistency and speed up development.
175+
[Show the complete markdown content from step 6]
172176

173-
- If you want to **modify or add details**, just tell me what you'd like to change
174-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
177+
- If you want to **modify or add details**, tell me what you'd like to change
178+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
175179

176180
## SUCCESS METRICS:
177181

prompts/templates/bmad/03-ux-designer/chained/step-06-defining-experience.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Define the core interaction that, if nailed, makes everything else follow in the
3131

3232
## DEFINING EXPERIENCE SEQUENCE:
3333

34+
### 0. Save Previous Step Content
35+
36+
**First Action:** Append the confirmed content from Step 5 to the UX Design Specification document.
37+
3438
### 1. Identify the Defining Experience
3539

3640
Focus on the core interaction:
@@ -164,16 +168,16 @@ Prepare the content to append to the document:
164168

165169
### 7. Step Completion
166170

167-
**Save Content:**
168-
Append the content from step 6 to the UX Design Specification document now.
171+
**Show Draft:**
172+
Present the content from step 6 to the user for review.
169173

170174
**Confirmation:**
171-
"Content saved to document.
175+
"Here's what I'll append to the UX Design Specification:
172176

173-
I've defined the core experience for {{project_name}} - the interaction that will make users love this product.
177+
[Show the complete markdown content from step 6]
174178

175-
- If you want to **modify or add details**, just tell me what you'd like to change
176-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
179+
- If you want to **modify or add details**, tell me what you'd like to change
180+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
177181

178182
## SUCCESS METRICS:
179183

prompts/templates/bmad/03-ux-designer/chained/step-07-visual-foundation.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Establish the visual design foundation including color themes, typography, and s
3131

3232
## VISUAL FOUNDATION SEQUENCE:
3333

34+
### 0. Save Previous Step Content
35+
36+
**First Action:** Append the confirmed content from Step 6 to the UX Design Specification document.
37+
3438
### 1. Brand Guidelines Assessment
3539

3640
Check for existing brand requirements:
@@ -134,17 +138,17 @@ Prepare the content to append to the document:
134138

135139
### 7. Step Completion
136140

137-
**Save Content:**
138-
1. Create HTML color theme visualizer at `.codemachine/artifacts/ux-color-themes.html`
139-
2. Append content from step 6 to the UX Design Specification document
141+
**Show Draft:**
142+
1. Generate HTML color theme visualizer at `.codemachine/artifacts/ux-color-themes.html`
143+
2. Present the content from step 6 to the user for review.
140144

141145
**Confirmation:**
142-
"Content saved to document and color theme visualizer generated.
146+
"Here's what I'll append to the UX Design Specification:
143147

144-
I've established the visual design foundation for {{project_name}}. This provides the building blocks for consistent, beautiful design.
148+
[Show the complete markdown content from step 6]
145149

146-
- If you want to **modify or add details**, just tell me what you'd like to change
147-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
150+
- If you want to **modify or add details**, tell me what you'd like to change
151+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
148152

149153
## SUCCESS METRICS:
150154

prompts/templates/bmad/03-ux-designer/chained/step-08-design-directions.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Generate comprehensive design direction mockups showing different visual approac
3131

3232
## DESIGN DIRECTIONS SEQUENCE:
3333

34+
### 0. Save Previous Step Content
35+
36+
**First Action:** Append the confirmed content from Step 7 to the UX Design Specification document.
37+
3438
### 1. Generate Design Direction Variations
3539

3640
Create diverse visual explorations:
@@ -134,17 +138,17 @@ Prepare the content to append to the document:
134138

135139
### 7. Step Completion
136140

137-
**Save Content:**
138-
1. Create HTML showcase at `.codemachine/artifacts/ux-design-directions.html`
139-
2. Append content from step 6 to the document
141+
**Show Draft:**
142+
1. Generate HTML showcase at `.codemachine/artifacts/ux-design-directions.html`
143+
2. Present the content from step 6 to the user for review.
140144

141145
**Confirmation:**
142-
"Content saved to document and HTML mockups generated.
146+
"Here's what I'll append to the UX Design Specification:
143147

144-
I've documented our design direction decision for {{project_name}}. This visual approach will guide all our detailed design work.
148+
[Show the complete markdown content from step 6]
145149

146-
- If you want to **modify or add details**, just tell me what you'd like to change
147-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
150+
- If you want to **modify or add details**, tell me what you'd like to change
151+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
148152

149153
## SUCCESS METRICS:
150154

prompts/templates/bmad/03-ux-designer/chained/step-09-user-journeys.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ Design detailed user journey flows for critical user interactions.
3131

3232
## USER JOURNEY FLOWS SEQUENCE:
3333

34+
### 0. Save Previous Step Content
35+
36+
**First Action:** Append the confirmed content from Step 8 to the UX Design Specification document.
37+
3438
### 1. Load PRD User Journeys as Foundation
3539

3640
Start with user journeys already defined in the PRD:
3741
"Great! Since we have the PRD available, let's build on the user journeys already documented there.
3842

3943
**Existing User Journeys from PRD:**
40-
I've already loaded these user journeys from your PRD:
44+
Here are the user journeys from your PRD:
4145
[Journey narratives from PRD input documents]
4246

4347
These journeys tell us **who** users are and **why** they take certain actions. Now we need to design **how** those journeys work in detail.
@@ -152,16 +156,16 @@ Prepare the content to append to the document:
152156

153157
### 7. Step Completion
154158

155-
**Save Content:**
156-
Append the content from step 6 to the UX Design Specification document now.
159+
**Show Draft:**
160+
Present the content from step 6 to the user for review.
157161

158162
**Confirmation:**
159-
"Content saved to document.
163+
"Here's what I'll append to the UX Design Specification:
160164

161-
I've designed detailed user journey flows for {{project_name}}. These flows will guide the detailed design of each user interaction.
165+
[Show the complete markdown content from step 6]
162166

163-
- If you want to **modify or add details**, just tell me what you'd like to change
164-
- If you're satisfied, **press Enter in the promptbox to go to the next step**"
167+
- If you want to **modify or add details**, tell me what you'd like to change
168+
- If you're satisfied, **press Enter to confirm** - your content will be saved at the start of the next step before we continue"
165169

166170
## SUCCESS METRICS:
167171

0 commit comments

Comments
 (0)