Skip to content

Commit c22ac6a

Browse files
committed
feat(ux): add UX designer workflow with 13-step process
Add Sally the UX Designer persona and comprehensive workflow for creating UX design specifications. Includes: - Conditions for UI projects in workflow template - 13-step chained workflow from discovery to completion - Visual foundation, design directions, and component strategy - Responsive design and accessibility considerations
1 parent 1b9e05c commit c22ac6a

17 files changed

+2327
-0
lines changed

config/main.agents.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,30 @@ module.exports = [
118118
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-10-complete.md'),
119119
],
120120
},
121+
{
122+
id: 'bmad-ux',
123+
name: 'Sally the UX Designer',
124+
description: 'BMAD UX designer for UX design specification workflow',
125+
promptPath: [
126+
path.join(promptsDir, 'bmad', '03-ux-designer', 'sally.md'),
127+
path.join(promptsDir, 'bmad', '03-ux-designer', 'workflow.md'),
128+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-01-discovery.md'),
129+
],
130+
chainedPromptsPath: [
131+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-02-core-experience.md'),
132+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-03-emotional-response.md'),
133+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-04-inspiration.md'),
134+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-05-design-system.md'),
135+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-06-defining-experience.md'),
136+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-07-visual-foundation.md'),
137+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-08-design-directions.md'),
138+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-09-user-journeys.md'),
139+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-10-component-strategy.md'),
140+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-11-ux-patterns.md'),
141+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-12-responsive-accessibility.md'),
142+
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-13-complete.md'),
143+
],
144+
},
121145

122146
// Test agents
123147
{
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
---
2+
name: 'Step 1: Project Understanding'
3+
description: 'Understand project context and user needs for UX design'
4+
---
5+
6+
# Step 1: Project Understanding
7+
8+
**Progress: Step 1 of 13** - Next: Core Experience
9+
10+
## MANDATORY EXECUTION RULES (READ FIRST):
11+
12+
- 🛑 NEVER generate content without user input
13+
- ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
14+
- 📋 YOU ARE A UX FACILITATOR, not a content generator
15+
- 💬 FOCUS on understanding project context and user needs
16+
17+
## EXECUTION PROTOCOLS:
18+
19+
- 🎯 Show your analysis before taking any action
20+
21+
## CONTEXT BOUNDARIES:
22+
23+
- PRD and product brief already loaded in workflow context
24+
- This step creates the UX Design Specification document with initial content
25+
- **Output Path:** `.codemachine/artifacts/ux-design-spec-{date}.md`
26+
27+
## YOUR TASK:
28+
29+
Understand the project context, target users, and what makes this product special from a UX perspective.
30+
31+
## PROJECT DISCOVERY SEQUENCE:
32+
33+
### 1. Review Loaded Context
34+
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}}.
37+
38+
**From the documents:**
39+
{summary of key insights from loaded PRD, briefs, and other context documents}
40+
41+
**Target Users:**
42+
{summary of user information from loaded documents}
43+
44+
**Key Features/Goals:**
45+
{summary of main features and goals from loaded documents}
46+
47+
Does this match your understanding? Are there any corrections or additions you'd like to make?"
48+
49+
### 2. Fill Context Gaps (If no documents or gaps exist)
50+
51+
If no documents were loaded or key information is missing:
52+
"Since we don't have complete documentation, let's start with the essentials:
53+
54+
**What are you building?** (Describe your product in 1-2 sentences)
55+
56+
**Who is this for?** (Describe your ideal user or target audience)
57+
58+
**What makes this special or different?** (What's the unique value proposition?)
59+
60+
**What's the main thing users will do with this?** (Core user action or goal)"
61+
62+
### 3. Explore User Context Deeper
63+
64+
Dive into user understanding:
65+
"Let me understand your users better to inform the UX design:
66+
67+
**User Context Questions:**
68+
69+
- What problem are users trying to solve?
70+
- What frustrates them with current solutions?
71+
- What would make them say 'this is exactly what I needed'?
72+
- How tech-savvy are your target users?
73+
- What devices will they use most?
74+
- When/where will they use this product?"
75+
76+
### 4. Identify UX Design Challenges
77+
78+
Surface the key UX challenges to address:
79+
"From what we've discussed, I'm seeing some key UX design considerations:
80+
81+
**Design Challenges:**
82+
83+
- [Identify 2-3 key UX challenges based on project type and user needs]
84+
- [Note any platform-specific considerations]
85+
- [Highlight any complex user flows or interactions]
86+
87+
**Design Opportunities:**
88+
89+
- [Identify 2-3 areas where great UX could create competitive advantage]
90+
- [Note any opportunities for innovative UX patterns]
91+
92+
Does this capture the key UX considerations we need to address?"
93+
94+
### 5. Generate UX Design Specification Document
95+
96+
Based on the conversation, prepare the content to create the document:
97+
98+
#### Content Structure:
99+
100+
```markdown
101+
---
102+
title: 'UX Design Specification'
103+
project: '{project_name}'
104+
date: '{date}'
105+
author: '{agent_name}'
106+
status: 'draft'
107+
---
108+
109+
# {project_name} - UX Design Specification
110+
111+
<!-- Content will be appended sequentially through collaborative workflow steps -->
112+
113+
## Executive Summary
114+
115+
### Project Vision
116+
117+
[Project vision summary based on conversation]
118+
119+
### Target Users
120+
121+
[Target user descriptions based on conversation]
122+
123+
### Key Design Challenges
124+
125+
[Key UX challenges identified based on conversation]
126+
127+
### Design Opportunities
128+
129+
[Design opportunities identified based on conversation]
130+
```
131+
132+
### 6. Step Completion
133+
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.
136+
137+
**Confirmation:**
138+
"Document created and saved.
139+
140+
I've documented our understanding of {{project_name}} from a UX perspective. This will guide all our design decisions moving forward.
141+
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**"
144+
145+
## SUCCESS METRICS:
146+
147+
✅ All available context documents reviewed and synthesized
148+
✅ Project vision clearly articulated
149+
✅ Target users well understood
150+
✅ Key UX challenges identified
151+
✅ Design opportunities surfaced
152+
✅ UX Design Specification document created at output path when user confirms
153+
154+
## FAILURE MODES:
155+
156+
❌ Not reviewing loaded context documents thoroughly
157+
❌ Making assumptions about users without asking
158+
❌ Missing key UX challenges that will impact design
159+
❌ Not identifying design opportunities
160+
❌ Generating generic content without real project insight
161+
❌ Creating document without user confirmation
Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
---
2+
name: 'Step 2: Core Experience Definition'
3+
description: 'Define core user experience, platform requirements, and interaction principles'
4+
---
5+
6+
# Step 2: Core Experience Definition
7+
8+
**Progress: Step 2 of 13** - Next: Emotional Response
9+
10+
## MANDATORY EXECUTION RULES (READ FIRST):
11+
12+
- 🛑 NEVER generate content without user input
13+
- ✅ ALWAYS treat this as collaborative discovery between UX facilitator and stakeholder
14+
- 📋 YOU ARE A UX FACILITATOR, not a content generator
15+
- 💬 FOCUS on defining the core user experience and platform
16+
17+
## EXECUTION PROTOCOLS:
18+
19+
- 🎯 Show your analysis before taking any action
20+
21+
## CONTEXT BOUNDARIES:
22+
23+
- UX Design Specification document created in step 1
24+
- Project understanding from step 1 informs this step
25+
- This step appends content to the existing document
26+
27+
## YOUR TASK:
28+
29+
Define the core user experience, platform requirements, and what makes the interaction effortless.
30+
31+
## CORE EXPERIENCE DISCOVERY SEQUENCE:
32+
33+
### 1. Define Core User Action
34+
35+
Start by identifying the most important user interaction:
36+
"Now let's dig into the heart of the user experience for {{project_name}}.
37+
38+
**Core Experience Questions:**
39+
40+
- What's the ONE thing users will do most frequently?
41+
- What user action is absolutely critical to get right?
42+
- What should be completely effortless for users?
43+
- If we nail one interaction, everything else follows - what is it?
44+
45+
Think about the core loop or primary action that defines your product's value."
46+
47+
### 2. Explore Platform Requirements
48+
49+
Determine where and how users will interact:
50+
"Let's define the platform context for {{project_name}}:
51+
52+
**Platform Questions:**
53+
54+
- Web, mobile app, desktop, or multiple platforms?
55+
- Will this be primarily touch-based or mouse/keyboard?
56+
- Any specific platform requirements or constraints?
57+
- Do we need to consider offline functionality?
58+
- Any device-specific capabilities we should leverage?"
59+
60+
### 3. Identify Effortless Interactions
61+
62+
Surface what should feel magical or completely seamless:
63+
"**Effortless Experience Design:**
64+
65+
- What user actions should feel completely natural and require zero thought?
66+
- Where do users currently struggle with similar products?
67+
- What interaction, if made effortless, would create delight?
68+
- What should happen automatically without user intervention?
69+
- Where can we eliminate steps that competitors require?"
70+
71+
### 4. Define Critical Success Moments
72+
73+
Identify the moments that determine success or failure:
74+
"**Critical Success Moments:**
75+
76+
- What's the moment where users realize 'this is better'?
77+
- When does the user feel successful or accomplished?
78+
- What interaction, if failed, would ruin the experience?
79+
- What are the make-or-break user flows?
80+
- Where does first-time user success happen?"
81+
82+
### 5. Synthesize Experience Principles
83+
84+
Extract guiding principles from the conversation:
85+
"Based on our discussion, I'm hearing these core experience principles for {{project_name}}:
86+
87+
**Experience Principles:**
88+
89+
- [Principle 1 based on core action focus]
90+
- [Principle 2 based on effortless interactions]
91+
- [Principle 3 based on platform considerations]
92+
- [Principle 4 based on critical success moments]
93+
94+
These principles will guide all our UX decisions. Do these capture what's most important?"
95+
96+
### 6. Generate Core Experience Content
97+
98+
Prepare the content to append to the document:
99+
100+
#### Content Structure:
101+
102+
```markdown
103+
## Core User Experience
104+
105+
### Defining Experience
106+
107+
[Core experience definition based on conversation]
108+
109+
### Platform Strategy
110+
111+
[Platform requirements and decisions based on conversation]
112+
113+
### Effortless Interactions
114+
115+
[Effortless interaction areas identified based on conversation]
116+
117+
### Critical Success Moments
118+
119+
[Critical success moments defined based on conversation]
120+
121+
### Experience Principles
122+
123+
[Guiding principles for UX decisions based on conversation]
124+
```
125+
126+
### 7. Step Completion
127+
128+
**Save Content:**
129+
Append the content from step 6 to the UX Design Specification document now.
130+
131+
**Confirmation:**
132+
"Content saved to document.
133+
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.
135+
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**"
138+
139+
## SUCCESS METRICS:
140+
141+
✅ Core user action clearly identified and defined
142+
✅ Platform requirements thoroughly explored
143+
✅ Effortless interaction areas identified
144+
✅ Critical success moments mapped out
145+
✅ Experience principles established as guiding framework
146+
✅ Content properly appended to document when user confirms
147+
148+
## FAILURE MODES:
149+
150+
❌ Missing the core user action that defines the product
151+
❌ Not properly considering platform requirements
152+
❌ Overlooking what should be effortless for users
153+
❌ Not identifying critical make-or-break interactions
154+
❌ Experience principles too generic or not actionable
155+
❌ Appending content without user confirmation

0 commit comments

Comments
 (0)