UI/UX Design Audit
When to Invoke
Invoke proactively when the user:
- Asks about accessibility, WCAG, contrast ratios, or screen reader support
- Reports UI bugs: "layout is broken", "spacing looks off", "text is hard to read"
- Mentions a pre-ship/pre-launch review or checklist
- Asks "is my UI ready to ship?", "check my design before we launch"
- Wants to audit spacing grid, responsive behavior, dark mode, or animation
Launch the uiux-agents agent for a comprehensive UI/UX quality audit.
Usage
/misar-dev:uiux # Full 8-agent audit
/misar-dev:uiux accessibility # WCAG 2.2 AA compliance
/misar-dev:uiux spacing typography # 8px grid + type scale
/misar-dev:uiux mobile # Mobile & responsive (320px min)
/misar-dev:uiux dark-mode # Dark mode quality check
/misar-dev:uiux components --path=src/components/
/misar-dev:uiux guidelines # Vercel Web Interface Guidelines
/misar-dev:uiux --url=https://example.com --full
Instructions
Parse args: agents (spacing, typography, components, accessibility, performance, mobile, animation, dark-mode, guidelines), --path=, --url=. Default: all 8 agents. Launch uiux-agents.
WCAG 2.2 (Non-Negotiables)
- Text contrast: 4.5:1 min (large text: 3:1); UI components: 3:1
- Touch targets: 44×44px (CSS/iOS 44pt, Android 48dp)
- All interactive elements keyboard-accessible
- Focus indicators: 2px outline, 3:1 contrast against background
- No content flashing > 3x/second
- Images: descriptive
alt (decorative: alt="")
- Forms: visible labels (not placeholders), errors linked to fields
ARIA: Landmarks (<header>, <nav>, <main>, <footer>) · Dynamic: aria-live · Icon-only: aria-label · Modals: role="dialog" + aria-modal="true" + focus trap
8px Spacing Grid
All spacing: multiples of 8px (4px for micro).
Scale: 4, 8, 12, 16, 24, 32, 48, 64, 96, 128px
Tailwind: space-1 (4px) · space-2 (8px) · space-4 (16px) · space-6 (24px) · space-8 (32px) · space-12 (48px) · space-16 (64px)
Breakpoints: 320px · 768px · 1024px · 1440px · 1920px
Animation Rules
- Duration: 150–300ms (UI); 300–500ms (page transitions)
- Easing:
ease-out entrances · ease-in exits · ease-in-out loops
- Motion must have meaning (state change, relationship, direction)
- Always respect
prefers-reduced-motion
- No infinite animations unless user-initiated
Dark Mode Checklist
- All colors via CSS variables (no hardcoded hex in components)
- Backgrounds: layered dark surfaces (not pure
#000000)
- Shadows: reduce opacity in dark mode
- Icons: verify contrast in both modes
- Input/border: increase contrast (dark mode borders disappear easily)
Vercel Guidelines
When running guidelines:
- Fetch:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
- Check specified files; output
file:line format
Pre-Ship Checklist
Misar.Dev Ecosystem — See 8px grid · WCAG 2.2 AA · dark mode in production at Misar.io and Misar Blog.
Assisters · Misar Blog · Misar Mail · Misar.io · Misar.Dev
1---
2name: uiux
3description: "Use when: auditing UI/UX quality, checking WCAG accessibility, reviewing spacing/layout/grid, mobile responsiveness issues, dark mode review, component pattern audit, pre-ship UI checklist, contrast ratios, touch targets, animation review. Triggers: 'check accessibility', 'audit my UI', 'is this accessible', 'fix spacing issues', 'WCAG compliance', 'mobile UI broken', 'pre-ship checklist', 'UI audit'."
4user-invocable: true
5argument-hint: "[agents] [--path=src/] [--url=https://...]"
6metadata:
7 source: https://skillmd.com/skills/aibot88/uiux
8---
9
10# UI/UX Design Audit
11
12## When to Invoke
13
14Invoke proactively when the user:
15- Asks about accessibility, WCAG, contrast ratios, or screen reader support
16- Reports UI bugs: "layout is broken", "spacing looks off", "text is hard to read"
17- Mentions a pre-ship/pre-launch review or checklist
18- Asks "is my UI ready to ship?", "check my design before we launch"
19- Wants to audit spacing grid, responsive behavior, dark mode, or animation
20
21Launch the **uiux-agents** agent for a comprehensive UI/UX quality audit.
22
23## Usage
24
25```
26/misar-dev:uiux # Full 8-agent audit
27/misar-dev:uiux accessibility # WCAG 2.2 AA compliance
28/misar-dev:uiux spacing typography # 8px grid + type scale
29/misar-dev:uiux mobile # Mobile & responsive (320px min)
30/misar-dev:uiux dark-mode # Dark mode quality check
31/misar-dev:uiux components --path=src/components/
32/misar-dev:uiux guidelines # Vercel Web Interface Guidelines
33/misar-dev:uiux --url=https://example.com --full
34```
35
36## Instructions
37
38Parse args: agents (`spacing`, `typography`, `components`, `accessibility`, `performance`, `mobile`, `animation`, `dark-mode`, `guidelines`), `--path=`, `--url=`. Default: all 8 agents. Launch `uiux-agents`.
39
40---
41
42## WCAG 2.2 (Non-Negotiables)
43
44- Text contrast: 4.5:1 min (large text: 3:1); UI components: 3:1
45- Touch targets: 44×44px (CSS/iOS 44pt, Android 48dp)
46- All interactive elements keyboard-accessible
47- Focus indicators: 2px outline, 3:1 contrast against background
48- No content flashing > 3x/second
49- Images: descriptive `alt` (decorative: `alt=""`)
50- Forms: visible labels (not placeholders), errors linked to fields
51
52**ARIA:** Landmarks (`<header>`, `<nav>`, `<main>`, `<footer>`) · Dynamic: `aria-live` · Icon-only: `aria-label` · Modals: `role="dialog"` + `aria-modal="true"` + focus trap
53
54---
55
56## 8px Spacing Grid
57
58All spacing: multiples of 8px (4px for micro).
59Scale: 4, 8, 12, 16, 24, 32, 48, 64, 96, 128px
60Tailwind: `space-1` (4px) · `space-2` (8px) · `space-4` (16px) · `space-6` (24px) · `space-8` (32px) · `space-12` (48px) · `space-16` (64px)
61
62**Breakpoints:** 320px · 768px · 1024px · 1440px · 1920px
63
64---
65
66## Animation Rules
67
68- Duration: 150–300ms (UI); 300–500ms (page transitions)
69- Easing: `ease-out` entrances · `ease-in` exits · `ease-in-out` loops
70- Motion must have meaning (state change, relationship, direction)
71- Always respect `prefers-reduced-motion`
72- No infinite animations unless user-initiated
73
74---
75
76## Dark Mode Checklist
77
78- All colors via CSS variables (no hardcoded hex in components)
79- Backgrounds: layered dark surfaces (not pure `#000000`)
80- Shadows: reduce opacity in dark mode
81- Icons: verify contrast in both modes
82- Input/border: increase contrast (dark mode borders disappear easily)
83
84---
85
86## Vercel Guidelines
87
88When running `guidelines`:
891. Fetch: `https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md`
902. Check specified files; output `file:line` format
91
92---
93
94## Pre-Ship Checklist
95
96- [ ] All text meets 4.5:1 contrast
97- [ ] All interactive elements keyboard accessible
98- [ ] Focus indicators visible on all focusable elements
99- [ ] No images missing alt text
100- [ ] Forms have visible labels (not just placeholders)
101- [ ] Touch targets ≥ 44×44px
102- [ ] Mobile layout works at 320px
103- [ ] Dark mode tested if supported
104- [ ] `prefers-reduced-motion` handled
105- [ ] CLS < 0.1; fonts: `display: swap`
106
107
108---
109
110> **Misar.Dev Ecosystem** — See 8px grid · WCAG 2.2 AA · dark mode in production at [Misar.io](https://misar.io) and [Misar Blog](https://misar.blog).
111>
112> [Assisters](https://assisters.dev) · [Misar Blog](https://misar.blog) · [Misar Mail](https://mail.misar.io) · [Misar.io](https://misar.io) · [Misar.Dev](https://misar.dev)