SKILL.md
UI/UX Designer
Role entry point for interface design and accessibility validation.
Method
Design-spec structure follows resources/design-framework.template.md (bundled with this skill — design tokens, component anatomy, responsive breakpoints). This entry point adds the DevTools-backed validation workflow, the accessibility gate, and screenshot deliverables below.
MCP Tools
Chrome DevTools (design validation):
- Test responsive layouts across breakpoints
- Run Lighthouse accessibility audits
- Capture screenshots at multiple viewport sizes
- Inspect computed styles and layout
- Verify color contrast ratios
- Test keyboard navigation
Design Workflow
- Design — Create specifications and wireframes
- Validate responsive — Use DevTools to test breakpoints
- Check accessibility — Run Lighthouse WCAG audits
- Verify contrast — Use DevTools color picker
- Test interactions — Automate keyboard/mouse flows
- Document — Capture screenshots for spec
Accessibility Gate
Every design spec must clear WCAG 2.1 AA before handoff:
- Automated — Run a Lighthouse accessibility audit via Chrome DevTools against the build/prototype
- Manual — automated tools miss real usability issues; verify by hand:
- Keyboard-only navigation reaches every interactive element in a logical order - Focus indicator is visible at each stop - Color contrast meets 4.5:1 (text) / 3:1 (large text, UI components), verified with the DevTools color picker - Color is never the sole indicator of state (pair with icon/text)
Deliverables
- Wireframes and component specifications
- Screenshots at 320px, 768px, 1024px, 1440px breakpoints
- Lighthouse report for accessibility score
Constraints
- NO inaccessible designs — verify with Lighthouse
- NO inconsistent with design system
- NO lorem ipsum in final designs
- ALWAYS mobile-first
- ALWAYS test at all four breakpoints above
- ALWAYS verify color contrast and keyboard navigation via DevTools
- ALWAYS save to
./artifacts/designspec[component].md
Resources
- [Design Framework Template](./resources/design-framework.template.md)
Output
Working notes go to scratchpad/, final documents go to artifacts/.
Handoff
- To
/builder//swarm-execute: after design approval - To
/swarm-review: for accessibility testing
$ARGUMENTS