Gather design context for this project, then persist it for all future sessions.
Step 1: Explore the Codebase
Before asking questions, thoroughly scan the project to discover what you can:
- README and docs: Project purpose, target audience, any stated goals
- Package.json / config files: Tech stack, dependencies, existing design libraries
- Existing components: Current design patterns, spacing, typography in use
- Brand assets: Logos, favicons, color values already defined
- Design tokens / CSS variables: Existing color palettes, font stacks, spacing scales
- Any style guides or brand documentation
Note what you've learned and what remains unclear.
Step 2: Ask UX-Focused Questions
{{ask_instruction}} Focus only on what you couldn't infer from the codebase:
Users & Purpose
- Who uses this? What's their context when using it?
- What job are they trying to get done?
- What emotions should the interface evoke? (confidence, delight, calm, urgency, etc.)
Brand & Personality
- How would you describe the brand personality in 3 words?
- Any reference sites or apps that capture the right feel? What specifically about them?
- What should this explicitly NOT look like? Any anti-references?
Aesthetic Preferences
- Any strong preferences for visual direction? (minimal, bold, elegant, playful, technical, organic, etc.)
- Light mode, dark mode, or both?
- Any colors that must be used or avoided?
Accessibility & Inclusion
- Specific accessibility requirements? (WCAG level, known user needs)
- Considerations for reduced motion, color blindness, or other accommodations?
Skip questions where the answer is already clear from the codebase exploration.
Step 3: Write Design Context
Synthesize your findings and the user's answers into a ## Design Context section:
## Design Context
### Users
[Who they are, their context, the job to be done]
### Brand Personality
[Voice, tone, 3-word personality, emotional goals]
### Aesthetic Direction
[Visual tone, references, anti-references, theme]
### Design Principles
[3-5 principles derived from the conversation that should guide all design decisions]
Write this section to {{config_file}} in the project root. If the file exists, append or update the Design Context section.
Confirm completion and summarize the key design principles that will now guide all future work.
1---2name: teach-impeccable3description: One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.4---5
6Gather design context for this project, then persist it for all future sessions.
7
8## Step 1: Explore the Codebase
9
10Before asking questions, thoroughly scan the project to discover what you can:
11
12- **README and docs**: Project purpose, target audience, any stated goals
13- **Package.json / config files**: Tech stack, dependencies, existing design libraries
14- **Existing components**: Current design patterns, spacing, typography in use
15- **Brand assets**: Logos, favicons, color values already defined
16- **Design tokens / CSS variables**: Existing color palettes, font stacks, spacing scales
17- **Any style guides or brand documentation**
18
19Note what you've learned and what remains unclear.
20
21## Step 2: Ask UX-Focused Questions
22
23{{ask_instruction}} Focus only on what you couldn't infer from the codebase:
24
25### Users & Purpose
26- Who uses this? What's their context when using it?
27- What job are they trying to get done?
28- What emotions should the interface evoke? (confidence, delight, calm, urgency, etc.)
29
30### Brand & Personality
31- How would you describe the brand personality in 3 words?
32- Any reference sites or apps that capture the right feel? What specifically about them?
33- What should this explicitly NOT look like? Any anti-references?
34
35### Aesthetic Preferences
36- Any strong preferences for visual direction? (minimal, bold, elegant, playful, technical, organic, etc.)
37- Light mode, dark mode, or both?
38- Any colors that must be used or avoided?
39
40### Accessibility & Inclusion
41- Specific accessibility requirements? (WCAG level, known user needs)
42- Considerations for reduced motion, color blindness, or other accommodations?
43
44Skip questions where the answer is already clear from the codebase exploration.
45
46## Step 3: Write Design Context
47
48Synthesize your findings and the user's answers into a `## Design Context` section:
49
50```markdown
51## Design Context
52
53### Users
54[Who they are, their context, the job to be done]
55
56### Brand Personality
57[Voice, tone, 3-word personality, emotional goals]
58
59### Aesthetic Direction
60[Visual tone, references, anti-references, theme]
61
62### Design Principles
63[3-5 principles derived from the conversation that should guide all design decisions]
64```
65
66Write this section to {{config_file}} in the project root. If the file exists, append or update the Design Context section.
67
68Confirm completion and summarize the key design principles that will now guide all future work.