UI/UX Design
Systematic UI/UX design skill with design system creation guides, Figma workflow patterns, accessibility audit checklists, browser-based visual audit procedures, and design-to-code handoff templates. Produces consistent, accessible, conversion-optimized interfaces.
When to Use
- Creating or extending a design system (tokens, components, patterns)
- Designing new pages, features, or user flows
- Auditing existing UI for accessibility compliance
- Preparing design specifications for developer handoff
- Setting up Figma project structure and workflows
- Reviewing existing UI via automated browser screenshots and heuristic analysis
- Reviewing UI components against heuristics and platform guidelines
When NOT to Use
- Writing page content or copy (use
content-creation skill)
- Implementing frontend code (use the
frontend-engineer perspective)
- Conducting SEO audits (use
/seo-review workflow)
- Writing technical documentation (use
/docs workflow)
Design System Creation
Step 1: Audit Existing UI
Before creating a design system:
- Screenshot inventory: Capture all existing screens and components
- Pattern extraction: Identify recurring colors, typography, spacing, components
- Inconsistency map: Document where the same concept is implemented differently
- Priority matrix: Rank components by frequency of use × inconsistency severity
Step 2: Define Foundations
Build from the ground up:
| Foundation |
What to Define |
Token Naming |
| Color |
Brand, semantic, neutral, overlay palettes |
color-{category}-{shade} |
| Typography |
Font families, size scale, weights, line heights |
font-{property}-{size} |
| Spacing |
Base unit (4px or 8px), scale |
spacing-{size} |
| Border radius |
Scale from none to full |
radius-{size} |
| Elevation |
Shadow levels |
shadow-{level} |
| Motion |
Duration, easing curves |
motion-{property}-{variant} |
| Breakpoints |
Viewport thresholds |
breakpoint-{name} |
Step 3: Build Components
Follow Atomic Design progression:
- Atoms: Button, Input, Label, Icon, Badge, Avatar, Checkbox, Radio, Toggle
- Molecules: Input Group, Search Bar, Card, Dropdown, Tooltip, Alert, Breadcrumb
- Organisms: Header, Footer, Sidebar, Form, Data Table, Modal, Navigation
For each component, document:
- Variants: Primary, secondary, outline, ghost, destructive
- Sizes: xs, sm, md, lg, xl
- States: Default, hover, focus, active, disabled, loading, error
- Accessibility: ARIA role, keyboard behavior, screen reader announcement
- Responsive: Behavior at each breakpoint
- Do / Don't: Usage examples and anti-patterns
Step 4: Document and Maintain
- Publish component library with live examples
- Version with semantic versioning
- Changelog for every update
- Deprecation notices with migration guides
See design-system-checklist.md for the full creation checklist.
Figma Workflow
See figma-workflow.md for detailed Figma project setup, component organization, Auto Layout patterns, and developer handoff procedures.
Quick Reference
| Figma Concept |
Code Equivalent |
| Auto Layout |
Flexbox / CSS Grid |
| Component variants |
React props / variant configs |
| Design tokens (Variables) |
CSS custom properties |
| Constraints |
CSS positioning / responsive rules |
| Component instances |
React component usage |
Accessibility Audit
See accessibility-checklist.md for the comprehensive WCAG 2.2 AA audit checklist.
Quick Audit (5-Minute Check)
- Tab through the page — can you reach and operate every interactive element?
- Zoom to 200% — does content reflow without horizontal scrolling?
- Check contrast — do all text elements meet 4.5:1 (normal) / 3:1 (large)?
- Screen reader test — do headings, landmarks, and alt text make sense?
- Keyboard-only — can you complete the primary task without a mouse?
Design-to-Code Handoff Template
When handing off designs to developers, provide:
## Component: [Name]
### Visual Spec
- Dimensions: [width × height or fluid]
- Spacing: [padding, margin in token values]
- Colors: [background, text, border in token values]
- Typography: [font, size, weight, line-height in token values]
- Border: [width, style, color, radius in token values]
- Shadow: [elevation token]
### Variants
- [variant-name]: [visual differences]
### States
- Default: [spec]
- Hover: [changes from default]
- Focus: [focus indicator spec]
- Active: [changes]
- Disabled: [opacity, cursor, interaction]
### Responsive Behavior
- Mobile (< 640px): [layout changes]
- Tablet (640–1024px): [layout changes]
- Desktop (> 1024px): [default layout]
### Interactions
- [trigger] → [animation: property, duration, easing]
### Accessibility
- Role: [ARIA role if not implicit]
- Keyboard: [key bindings]
- Screen reader: [announcement text]
### Code Reference
- Component: `<ComponentName variant="..." size="..." />`
- Tokens: `--token-name: value`
Integration
- Follows rules:
ui-ux-designer guidance for design principles, accessibility, and design systems
- Used by workflows:
/ui-ux-design (primary), /feature-dev (UI features)
- Companion resources:
design-system-checklist.md, figma-workflow.md, accessibility-checklist.md, visual-audit-checklist.md
1---2name: ui-ux-design-73description: UI/UX design systems, Figma workflows, accessibility checklists, browser-based visual audit with automated screenshots, component specification patterns, and design-to-code handoff procedures. Use when designing interfaces, creating design systems, auditing accessibility, reviewing existing UI via browser screenshots, specifying components, or preparing design handoff for developers.4argument-hint: [component, page, or design task]5user-invocable: false6---78# UI/UX Design910Systematic UI/UX design skill with design system creation guides, Figma workflow patterns, accessibility audit checklists, browser-based visual audit procedures, and design-to-code handoff templates. Produces consistent, accessible, conversion-optimized interfaces.1112## When to Use1314- Creating or extending a design system (tokens, components, patterns)15- Designing new pages, features, or user flows16- Auditing existing UI for accessibility compliance17- Preparing design specifications for developer handoff18- Setting up Figma project structure and workflows19- Reviewing existing UI via automated browser screenshots and heuristic analysis20- Reviewing UI components against heuristics and platform guidelines2122## When NOT to Use2324- Writing page content or copy (use `content-creation` skill)25- Implementing frontend code (use the `frontend-engineer` perspective)26- Conducting SEO audits (use `/seo-review` workflow)27- Writing technical documentation (use `/docs` workflow)2829## Design System Creation3031### Step 1: Audit Existing UI3233Before creating a design system:34351. **Screenshot inventory**: Capture all existing screens and components362. **Pattern extraction**: Identify recurring colors, typography, spacing, components373. **Inconsistency map**: Document where the same concept is implemented differently384. **Priority matrix**: Rank components by frequency of use × inconsistency severity3940### Step 2: Define Foundations4142Build from the ground up:4344| Foundation | What to Define | Token Naming |45|---|---|---|46| **Color** | Brand, semantic, neutral, overlay palettes | `color-{category}-{shade}` |47| **Typography** | Font families, size scale, weights, line heights | `font-{property}-{size}` |48| **Spacing** | Base unit (4px or 8px), scale | `spacing-{size}` |49| **Border radius** | Scale from none to full | `radius-{size}` |50| **Elevation** | Shadow levels | `shadow-{level}` |51| **Motion** | Duration, easing curves | `motion-{property}-{variant}` |52| **Breakpoints** | Viewport thresholds | `breakpoint-{name}` |5354### Step 3: Build Components5556Follow Atomic Design progression:57581. **Atoms**: Button, Input, Label, Icon, Badge, Avatar, Checkbox, Radio, Toggle592. **Molecules**: Input Group, Search Bar, Card, Dropdown, Tooltip, Alert, Breadcrumb603. **Organisms**: Header, Footer, Sidebar, Form, Data Table, Modal, Navigation6162For each component, document:63- **Variants**: Primary, secondary, outline, ghost, destructive64- **Sizes**: xs, sm, md, lg, xl65- **States**: Default, hover, focus, active, disabled, loading, error66- **Accessibility**: ARIA role, keyboard behavior, screen reader announcement67- **Responsive**: Behavior at each breakpoint68- **Do / Don't**: Usage examples and anti-patterns6970### Step 4: Document and Maintain7172- Publish component library with live examples73- Version with semantic versioning74- Changelog for every update75- Deprecation notices with migration guides7677See `design-system-checklist.md` for the full creation checklist.7879## Figma Workflow8081See `figma-workflow.md` for detailed Figma project setup, component organization, Auto Layout patterns, and developer handoff procedures.8283### Quick Reference8485| Figma Concept | Code Equivalent |86|---|---|87| Auto Layout | Flexbox / CSS Grid |88| Component variants | React props / variant configs |89| Design tokens (Variables) | CSS custom properties |90| Constraints | CSS positioning / responsive rules |91| Component instances | React component usage |9293## Accessibility Audit9495See `accessibility-checklist.md` for the comprehensive WCAG 2.2 AA audit checklist.9697### Quick Audit (5-Minute Check)98991. **Tab through the page** — can you reach and operate every interactive element?1002. **Zoom to 200%** — does content reflow without horizontal scrolling?1013. **Check contrast** — do all text elements meet 4.5:1 (normal) / 3:1 (large)?1024. **Screen reader test** — do headings, landmarks, and alt text make sense?1035. **Keyboard-only** — can you complete the primary task without a mouse?104105## Design-to-Code Handoff Template106107When handing off designs to developers, provide:108109```110## Component: [Name]111112### Visual Spec113- Dimensions: [width × height or fluid]114- Spacing: [padding, margin in token values]115- Colors: [background, text, border in token values]116- Typography: [font, size, weight, line-height in token values]117- Border: [width, style, color, radius in token values]118- Shadow: [elevation token]119120### Variants121- [variant-name]: [visual differences]122123### States124- Default: [spec]125- Hover: [changes from default]126- Focus: [focus indicator spec]127- Active: [changes]128- Disabled: [opacity, cursor, interaction]129130### Responsive Behavior131- Mobile (< 640px): [layout changes]132- Tablet (640–1024px): [layout changes]133- Desktop (> 1024px): [default layout]134135### Interactions136- [trigger] → [animation: property, duration, easing]137138### Accessibility139- Role: [ARIA role if not implicit]140- Keyboard: [key bindings]141- Screen reader: [announcement text]142143### Code Reference144- Component: `<ComponentName variant="..." size="..." />`145- Tokens: `--token-name: value`146```147148## Integration149150- **Follows rules**: `ui-ux-designer` guidance for design principles, accessibility, and design systems151- **Used by workflows**: `/ui-ux-design` (primary), `/feature-dev` (UI features)152- **Companion resources**: `design-system-checklist.md`, `figma-workflow.md`, `accessibility-checklist.md`, `visual-audit-checklist.md`