Frontend UI/UX Design
Overview
This skill enables creation of production-ready frontend UI/UX designs from research through implementation. Follow a structured design process that balances user needs, business goals, technical constraints, and accessibility requirements.
Design Workflow
1. Understand Requirements
Gather Context:
- Project goals and success metrics
- Target audience and user personas
- Technical constraints (frameworks, browsers, devices)
- Brand guidelines and design language
- Accessibility requirements (WCAG level)
Clarify Scope:
- Type of deliverable (wireframes, mockups, design system, component library)
- Fidelity level (low, medium, high)
- Responsive breakpoints needed
- Browser and device support
2. Research & Strategy
User Research:
- Analyze user needs, goals, and pain points
- Review existing analytics or user feedback
- Identify key user journeys and scenarios
- Define information architecture
For complete research process: See uiux-design-process.md for detailed research, personas, journey mapping, and information architecture guidelines.
3. Design & Prototype
Create Wireframes:
- Start with low-fidelity layouts
- Focus on content hierarchy and structure
- Define user flows for key tasks
- Iterate based on feedback
Apply Visual Design:
- Define color palette (primary, secondary, semantic colors)
- Establish typography scale and spacing system
- Design components with variants and states
- Ensure visual hierarchy and consistency
For design principles: See design-principles.md for visual hierarchy, consistency, simplicity, feedback, and error prevention guidelines.
For design systems: See design-systems.md when building comprehensive design systems with design tokens, governance, and documentation.
4. Ensure Accessibility
WCAG Compliance:
- Minimum contrast ratios (4.5:1 for text, 3:1 for large text/UI)
- Keyboard navigation support
- Screen reader compatibility (semantic HTML, ARIA labels)
- Focus indicators and skip links
- Alternative text for images
For complete accessibility guidance: See accessibility-guide.md for WCAG 2.1/2.2 standards, ARIA patterns, keyboard navigation, testing tools, and compliance checklists.
5. Design Responsive Layouts
Mobile-First Approach:
- Start with mobile design (320px minimum)
- Progressively enhance for tablets (768px+)
- Optimize for desktop (1024px+, 1440px+)
- Use fluid grids and flexible images
- Apply appropriate layout patterns
For responsive patterns: See responsive-design.md for breakpoints, layout patterns (fluid grid, column drop, off-canvas), responsive navigation, typography, images, tables, forms, and container queries.
6. Build Component Libraries
Component Design:
- Design atomic components (buttons, inputs, icons)
- Create molecule components (form fields, cards, menus)
- Build organism components (headers, forms, sections)
- Define component variants, states, and props
- Document component usage patterns
For component details: See component-library.md and component-patterns.md for comprehensive component catalogs with specifications, variants, states, and usage guidelines.
7. Optimize Performance
Performance Considerations:
- Optimize images (WebP/AVIF, lazy loading, responsive images)
- Minimize CSS/JS bundle sizes
- Implement critical CSS for above-the-fold content
- Use efficient animations (transform, opacity)
- Monitor Core Web Vitals (LCP, FID, CLS)
For optimization details: See performance-optimization.md for image optimization, code splitting, caching strategies, and performance budgets.
8. Document & Handoff
Design Deliverables:
- Design specifications (colors, typography, spacing)
- Component documentation with variants
- Responsive breakpoint designs
- Accessibility report and compliance checklist
- Implementation guidelines and design tokens
For output format: See output-format.md for structured deliverable formats including design briefs, wireframes, visual designs, component libraries, and developer handoff materials.
Quick Reference
When to Load References
- uiux-design-process.md - Full design process from research through prototyping and user testing
- design-principles.md - Core design principles (hierarchy, consistency, simplicity, feedback)
- design-systems.md - Building comprehensive design systems with tokens and governance
- accessibility-guide.md - WCAG compliance, ARIA patterns, keyboard navigation, testing
- responsive-design.md - Breakpoints, layout patterns, responsive components
- component-library.md - Atomic/molecular component catalog with specifications
- component-patterns.md - Component patterns (forms, navigation, data display, feedback)
- performance-optimization.md - Image optimization, code splitting, Core Web Vitals
- design-tools-and-resources.md - Design tools, frameworks, icon libraries, resources
- output-format.md - Structured deliverable formats for handoff
- examples.md - Real-world design examples and patterns
- design-checklist.md - Quality checklist before finalizing designs
Key Principles
1. User-Centered Design
- Always start with user needs and goals
- Validate assumptions through research and testing
- Prioritize usability over aesthetics
2. Accessibility First
- Design for all users, including those with disabilities
- Follow WCAG 2.1 AA standards minimum
- Test with keyboard navigation and screen readers
3. Mobile-First Responsive
- Start with smallest screen sizes
- Progressively enhance for larger screens
- Ensure touch-friendly interactions (44x44px minimum)
4. Design System Thinking
- Build reusable, consistent components
- Document patterns and usage guidelines
- Maintain design token systems
5. Performance Matters
- Optimize images and assets
- Keep bundle sizes small
- Monitor and improve Core Web Vitals
6. Iterative Process
- Start with low-fidelity, iterate to high-fidelity
- Gather feedback early and often
- Refine based on user testing and metrics
1---2name: frontend-ui-ux-design3description: Creates comprehensive frontend UI/UX designs including user interfaces, design systems, component libraries, responsive layouts, and accessibility implementations. Produces wireframes, mockups, design specifications, and implementation guidelines. Use when designing user interfaces, creating design systems, building component libraries, implementing responsive designs, ensuring accessibility compliance, or when users mention UI design, UX design, interface design, design systems, user experience, or frontend design patterns.4---5
6# Frontend UI/UX Design
7
8## Overview
9
10This skill enables creation of production-ready frontend UI/UX designs from research through implementation. Follow a structured design process that balances user needs, business goals, technical constraints, and accessibility requirements.
11
12## Design Workflow
13
14## 1. Understand Requirements
15
16**Gather Context:**
17
18- Project goals and success metrics
19- Target audience and user personas
20- Technical constraints (frameworks, browsers, devices)
21- Brand guidelines and design language
22- Accessibility requirements (WCAG level)
23
24**Clarify Scope:**
25
26- Type of deliverable (wireframes, mockups, design system, component library)
27- Fidelity level (low, medium, high)
28- Responsive breakpoints needed
29- Browser and device support
30
31### 2. Research & Strategy
32
33**User Research:**
34
35- Analyze user needs, goals, and pain points
36- Review existing analytics or user feedback
37- Identify key user journeys and scenarios
38- Define information architecture
39
40**For complete research process**: See [uiux-design-process.md](references/uiux-design-process.md) for detailed research, personas, journey mapping, and information architecture guidelines.
41
42### 3. Design & Prototype
43
44**Create Wireframes:**
45
46- Start with low-fidelity layouts
47- Focus on content hierarchy and structure
48- Define user flows for key tasks
49- Iterate based on feedback
50
51**Apply Visual Design:**
52
53- Define color palette (primary, secondary, semantic colors)
54- Establish typography scale and spacing system
55- Design components with variants and states
56- Ensure visual hierarchy and consistency
57
58**For design principles**: See [design-principles.md](references/design-principles.md) for visual hierarchy, consistency, simplicity, feedback, and error prevention guidelines.
59
60**For design systems**: See [design-systems.md](references/design-systems.md) when building comprehensive design systems with design tokens, governance, and documentation.
61
62### 4. Ensure Accessibility
63
64**WCAG Compliance:**
65
66- Minimum contrast ratios (4.5:1 for text, 3:1 for large text/UI)
67- Keyboard navigation support
68- Screen reader compatibility (semantic HTML, ARIA labels)
69- Focus indicators and skip links
70- Alternative text for images
71
72**For complete accessibility guidance**: See [accessibility-guide.md](references/accessibility-guide.md) for WCAG 2.1/2.2 standards, ARIA patterns, keyboard navigation, testing tools, and compliance checklists.
73
74### 5. Design Responsive Layouts
75
76**Mobile-First Approach:**
77
78- Start with mobile design (320px minimum)
79- Progressively enhance for tablets (768px+)
80- Optimize for desktop (1024px+, 1440px+)
81- Use fluid grids and flexible images
82- Apply appropriate layout patterns
83
84**For responsive patterns**: See [responsive-design.md](references/responsive-design.md) for breakpoints, layout patterns (fluid grid, column drop, off-canvas), responsive navigation, typography, images, tables, forms, and container queries.
85
86### 6. Build Component Libraries
87
88**Component Design:**
89
90- Design atomic components (buttons, inputs, icons)
91- Create molecule components (form fields, cards, menus)
92- Build organism components (headers, forms, sections)
93- Define component variants, states, and props
94- Document component usage patterns
95
96**For component details**: See [component-library.md](references/component-library.md) and [component-patterns.md](references/component-patterns.md) for comprehensive component catalogs with specifications, variants, states, and usage guidelines.
97
98### 7. Optimize Performance
99
100**Performance Considerations:**
101
102- Optimize images (WebP/AVIF, lazy loading, responsive images)
103- Minimize CSS/JS bundle sizes
104- Implement critical CSS for above-the-fold content
105- Use efficient animations (transform, opacity)
106- Monitor Core Web Vitals (LCP, FID, CLS)
107
108**For optimization details**: See [performance-optimization.md](references/performance-optimization.md) for image optimization, code splitting, caching strategies, and performance budgets.
109
110### 8. Document & Handoff
111
112**Design Deliverables:**
113
114- Design specifications (colors, typography, spacing)
115- Component documentation with variants
116- Responsive breakpoint designs
117- Accessibility report and compliance checklist
118- Implementation guidelines and design tokens
119
120**For output format**: See [output-format.md](references/output-format.md) for structured deliverable formats including design briefs, wireframes, visual designs, component libraries, and developer handoff materials.
121
122## Quick Reference
123
124### When to Load References
125
126- **[uiux-design-process.md](references/uiux-design-process.md)** - Full design process from research through prototyping and user testing
127- **[design-principles.md](references/design-principles.md)** - Core design principles (hierarchy, consistency, simplicity, feedback)
128- **[design-systems.md](references/design-systems.md)** - Building comprehensive design systems with tokens and governance
129- **[accessibility-guide.md](references/accessibility-guide.md)** - WCAG compliance, ARIA patterns, keyboard navigation, testing
130- **[responsive-design.md](references/responsive-design.md)** - Breakpoints, layout patterns, responsive components
131- **[component-library.md](references/component-library.md)** - Atomic/molecular component catalog with specifications
132- **[component-patterns.md](references/component-patterns.md)** - Component patterns (forms, navigation, data display, feedback)
133- **[performance-optimization.md](references/performance-optimization.md)** - Image optimization, code splitting, Core Web Vitals
134- **[design-tools-and-resources.md](references/design-tools-and-resources.md)** - Design tools, frameworks, icon libraries, resources
135- **[output-format.md](references/output-format.md)** - Structured deliverable formats for handoff
136- **[examples.md](references/examples.md)** - Real-world design examples and patterns
137- **[design-checklist.md](references/design-checklist.md)** - Quality checklist before finalizing designs
138
139## Key Principles
140
141**1. User-Centered Design**
142
143- Always start with user needs and goals
144- Validate assumptions through research and testing
145- Prioritize usability over aesthetics
146
147**2. Accessibility First**
148
149- Design for all users, including those with disabilities
150- Follow WCAG 2.1 AA standards minimum
151- Test with keyboard navigation and screen readers
152
153**3. Mobile-First Responsive**
154
155- Start with smallest screen sizes
156- Progressively enhance for larger screens
157- Ensure touch-friendly interactions (44x44px minimum)
158
159**4. Design System Thinking**
160
161- Build reusable, consistent components
162- Document patterns and usage guidelines
163- Maintain design token systems
164
165**5. Performance Matters**
166
167- Optimize images and assets
168- Keep bundle sizes small
169- Monitor and improve Core Web Vitals
170
171**6. Iterative Process**
172
173- Start with low-fidelity, iterate to high-fidelity
174- Gather feedback early and often
175- Refine based on user testing and metrics