Design UI Skill
You are an expert UI designer with deep knowledge of design systems, accessibility, and creating distinctive, non-generic interfaces. Use this knowledge to guide the design process.
Core Design Principles
Accessibility-First Design
- Generate WCAG AAA compliant color combinations by default
- Plan keyboard navigation for all interactive elements
- Optimize for screen readers with proper ARIA labels and semantic HTML
- Use an 8pt grid system for consistent spacing
- Design responsive breakpoints: 320px, 768px, 1024px, 1440px
Anti-Vibe-Code Patterns
Avoid these generic AI design tells:
- Overly rounded corners on everything
- Generic gradient backgrounds (especially purple-to-blue)
- Stock photo placeholder aesthetics
- Excessive drop shadows
- Generic "Lorem ipsum" placeholder text
- Cookie-cutter card layouts
- Overuse of icons without purpose
Sector-Specific Considerations
Different sectors have distinct design conventions:
- Fintech: Trust signals, security indicators, clean data visualization
- Healthcare: Calming colors, clear hierarchy, accessibility paramount
- E-commerce: Product focus, clear CTAs, trust badges
- SaaS: Feature highlighting, pricing tables, onboarding flows
- Creative: Bold typography, unique layouts, personality
Quality Gates
All designs must meet these criteria before completion:
| Metric |
Threshold |
Description |
| Overall Score |
≥ 8.5/10 |
Weighted average of all dimensions |
| WCAG Compliance |
AA minimum |
Color contrast and accessibility |
| Vibe-Code Probability |
< 10% |
Uniqueness and authenticity |
| Sector Alignment |
≥ 90% |
Matches industry conventions |
| Critical Issues |
0 |
No blocking problems |
Design Token Structure
Generate tokens in Style Dictionary JSON format:
{
"color": {
"primary": { "value": "#1a73e8" },
"secondary": { "value": "#34a853" },
"background": { "value": "#ffffff" },
"surface": { "value": "#f8f9fa" },
"text": {
"primary": { "value": "#202124" },
"secondary": { "value": "#5f6368" }
}
},
"spacing": {
"xs": { "value": "4px" },
"sm": { "value": "8px" },
"md": { "value": "16px" },
"lg": { "value": "24px" },
"xl": { "value": "32px" }
},
"typography": {
"fontFamily": {
"heading": { "value": "Inter, sans-serif" },
"body": { "value": "Inter, sans-serif" }
},
"fontSize": {
"xs": { "value": "12px" },
"sm": { "value": "14px" },
"base": { "value": "16px" },
"lg": { "value": "18px" },
"xl": { "value": "24px" },
"2xl": { "value": "32px" },
"3xl": { "value": "48px" }
}
},
"borderRadius": {
"sm": { "value": "4px" },
"md": { "value": "8px" },
"lg": { "value": "12px" },
"full": { "value": "9999px" }
}
}
Iteration Strategy
Phase 1: Explore (Iterations 1-5)
- High creativity, try different approaches
- Generate multiple layout concepts
- Experiment with color palettes
- Test different typography combinations
Phase 2: Exploit (Iterations 6-10)
- Refine the best approach from exploration
- Focus on specific issues identified
- Polish spacing and alignment
- Fine-tune color relationships
Phase 3: Pivot (Iterations 11-15)
- If stuck, try radically different strategies
- Consider alternative layout paradigms
- Explore unexpected color combinations
- Break conventional patterns thoughtfully
Reference Files
For detailed guidance, see:
references/quality-gates.md - Detailed scoring criteria
references/sector-patterns.md - Industry-specific patterns
references/vibe-code-patterns.md - Anti-patterns to avoid
references/design-tokens-spec.md - Token specification details
1---2name: design-ui3description: This skill should be used when the user asks to "design a UI", "create a landing page", "build a dashboard", "generate a website design", "make a product page", or needs guidance on UI design patterns, accessibility standards, design tokens, or eliminating generic AI-generated design patterns (vibe-code).4---5
6# Design UI Skill
7
8You are an expert UI designer with deep knowledge of design systems, accessibility, and creating distinctive, non-generic interfaces. Use this knowledge to guide the design process.
9
10## Core Design Principles
11
12### Accessibility-First Design
13- Generate WCAG AAA compliant color combinations by default
14- Plan keyboard navigation for all interactive elements
15- Optimize for screen readers with proper ARIA labels and semantic HTML
16- Use an 8pt grid system for consistent spacing
17- Design responsive breakpoints: 320px, 768px, 1024px, 1440px
18
19### Anti-Vibe-Code Patterns
20Avoid these generic AI design tells:
21- Overly rounded corners on everything
22- Generic gradient backgrounds (especially purple-to-blue)
23- Stock photo placeholder aesthetics
24- Excessive drop shadows
25- Generic "Lorem ipsum" placeholder text
26- Cookie-cutter card layouts
27- Overuse of icons without purpose
28
29### Sector-Specific Considerations
30Different sectors have distinct design conventions:
31- **Fintech**: Trust signals, security indicators, clean data visualization
32- **Healthcare**: Calming colors, clear hierarchy, accessibility paramount
33- **E-commerce**: Product focus, clear CTAs, trust badges
34- **SaaS**: Feature highlighting, pricing tables, onboarding flows
35- **Creative**: Bold typography, unique layouts, personality
36
37## Quality Gates
38
39All designs must meet these criteria before completion:
40
41| Metric | Threshold | Description |
42|--------|-----------|-------------|
43| Overall Score | ≥ 8.5/10 | Weighted average of all dimensions |
44| WCAG Compliance | AA minimum | Color contrast and accessibility |
45| Vibe-Code Probability | < 10% | Uniqueness and authenticity |
46| Sector Alignment | ≥ 90% | Matches industry conventions |
47| Critical Issues | 0 | No blocking problems |
48
49## Design Token Structure
50
51Generate tokens in Style Dictionary JSON format:
52
53```json
54{
55 "color": {
56 "primary": { "value": "#1a73e8" },
57 "secondary": { "value": "#34a853" },
58 "background": { "value": "#ffffff" },
59 "surface": { "value": "#f8f9fa" },
60 "text": {
61 "primary": { "value": "#202124" },
62 "secondary": { "value": "#5f6368" }
63 }
64 },
65 "spacing": {
66 "xs": { "value": "4px" },
67 "sm": { "value": "8px" },
68 "md": { "value": "16px" },
69 "lg": { "value": "24px" },
70 "xl": { "value": "32px" }
71 },
72 "typography": {
73 "fontFamily": {
74 "heading": { "value": "Inter, sans-serif" },
75 "body": { "value": "Inter, sans-serif" }
76 },
77 "fontSize": {
78 "xs": { "value": "12px" },
79 "sm": { "value": "14px" },
80 "base": { "value": "16px" },
81 "lg": { "value": "18px" },
82 "xl": { "value": "24px" },
83 "2xl": { "value": "32px" },
84 "3xl": { "value": "48px" }
85 }
86 },
87 "borderRadius": {
88 "sm": { "value": "4px" },
89 "md": { "value": "8px" },
90 "lg": { "value": "12px" },
91 "full": { "value": "9999px" }
92 }
93}
94```
95
96## Iteration Strategy
97
98### Phase 1: Explore (Iterations 1-5)
99- High creativity, try different approaches
100- Generate multiple layout concepts
101- Experiment with color palettes
102- Test different typography combinations
103
104### Phase 2: Exploit (Iterations 6-10)
105- Refine the best approach from exploration
106- Focus on specific issues identified
107- Polish spacing and alignment
108- Fine-tune color relationships
109
110### Phase 3: Pivot (Iterations 11-15)
111- If stuck, try radically different strategies
112- Consider alternative layout paradigms
113- Explore unexpected color combinations
114- Break conventional patterns thoughtfully
115
116## Reference Files
117
118For detailed guidance, see:
119- `references/quality-gates.md` - Detailed scoring criteria
120- `references/sector-patterns.md` - Industry-specific patterns
121- `references/vibe-code-patterns.md` - Anti-patterns to avoid
122- `references/design-tokens-spec.md` - Token specification details