๐จ UX/UI Agent Skills
Turn Claude into a Senior Design Architect โ 15+ years of expertise in design systems, accessibility, and production-ready component engineering.
A comprehensive kit of structured instructions, design tokens, runnable skills, and 138 brand-grade design systems that turn Claude into a UX/UI expert agent โ targeting any framework and any design system. Drop it into any project for consistent, accessible, token-driven design outputs, every time.
๐ Version
Current release: v2.2.1 ยท See the Changelog ยท All releases
No build tools, dependencies, or runtime required โ this is a pure instruction & knowledge layer for AI agents.
โจ What It Does
| Capability | Description |
|---|---|
| ๐ฏ Design Token Generation | Produces DTCG-format JSON tokens (colors, typography, spacing, shadows, borders, breakpoints, motion) with a 3-tier architecture: Primitive โ Semantic โ Component |
| ๐งฉ Component Design | Designs components from Atoms to Templates following Atomic Design, with anatomy, variants, states, token mapping, and accessibility specs |
| โจโฉ Code Generation (any framework) | Adapter Protocol targets any stack โ React+Tailwind, Next.js, SwiftUI, Vue, Svelte, Angular, Solid, Web Components/Lit, React Native, Flutter, Jetpack Compose, vanilla CSS, CSS-in-JS โ or generates a new adapter on demand |
| ๐ Design-System Interop | Maps to/from any design system (Material 3, Apple HIG, Fluent, Carbon, shadcn/ui, Radixโฆ) via a role-based crosswalk |
| โก Runnable Skills | 10 invocable /skills + real scripts (validate tokens, WCAG contrast checker, design-system browser, component scaffolder) |
| โฟ Accessibility Auditing | Evaluates against WCAG 2.2 AA/AAA with prioritized findings (P0/P1/P2) |
| โญ Design Review | Scores designs across 6 dimensions with Nielsen's 10 Heuristics and a structured findings table |
| ๐งช Prototyping & Research | Guides through a 5-level fidelity ladder, user journey mapping, and usability testing scripts |
| ๐๏ธ Motion Design | Tokenized durations, easing curves, transition presets, and reduced-motion strategy for accessible animation |
| โ๏ธ UX Writing | Voice & tone system with error/empty-state formulas, microcopy patterns, and inclusive language guidelines |
| ๐ญ Design Taste | Native anti-slop doctrine, aesthetic archetypes, and a library of 138 design systems for layout variance, editorial typography, and premium visual direction |
๐ Quick Start
Option A โ Install with npx (recommended)
Drop the kit into any project, no clone needed:
npx ux-ui-agent-skills init # full kit into the current folder
npx ux-ui-agent-skills add tokens taste design-systems # just some areas
npx ux-ui-agent-skills list # see all areas
Flags: --force (overwrite existing files) ยท --dry (preview, change nothing).
Option B โ Clone
git clone https://github.com/plugin87/ux-ui-agent-skills.git
cp -r ux-ui-agent-skills/ your-project/
Then start using โ open the project in Claude Code or any Claude-powered IDE. CLAUDE.md loads automatically, activating the agent persona with full access to every tokens / components / taste / design-system file and the runnable /skills.
๐ก Example prompts
"Design a notification component with all states and accessibility"
"Review this login page against WCAG 2.2 and Nielsen's heuristics"
"Generate React + Tailwind code for a data table with sorting and pagination"
"Create a color token palette for a fintech brand using blue as the primary"
"Audit this form for accessibility issues โ give me a prioritized findings table"
"Write the empty state and error copy for the onboarding flow"
"Spec the motion for the modal open/close with reduced-motion fallback"
๐ฎ How to Use
๐ New here? Read docs/WORKFLOW.md for the full end-to-end picture โ how the Request Router loads layers on demand, real usage scenarios, and the automated release pipeline.
There are three ways to drive the kit. Use whichever fits the moment.
1. Just ask (zero commands)
CLAUDE.md loads automatically, so plain requests already route to the right knowledge. Describe what you want and the agent self-routes via the built-in Request Router:
"Generate a Svelte button with all states and dark mode"
"Make this landing page feel like Linear"
"Migrate our Material 3 colors into this token system"
2. Run a skill explicitly (/skill)
Type a slash command to invoke a capability directly. Each skill loads only the files it needs and can run its own scripts.
| Command | What it does |
|---|---|
/design-tokens |
Generate / extend / validate DTCG tokens, palettes, multi-brand theming |
/design-component |
Spec a component (anatomy, variants, 8 states, a11y) |
/design-code |
Generate code for any framework via the Adapter Protocol |
/design-review |
Score a design (6 dimensions + Nielsen) with a findings table |
/a11y-audit |
WCAG 2.2 audit + contrast checks |
/apply-aesthetic |
Apply an archetype or one of 138 design systems |
/redesign |
Audit-first upgrade of an existing UI without breaking it |
/migrate-design-system |
Map to/from Material 3, Apple HIG, shadcn, Radix, etc. |
/prototype |
Move up the fidelity ladder + plan usability testing |
/ux-writing |
Write/review buttons, errors, empty states, microcopy |
/design-code a pricing card in Vue, dark-mode aware
/apply-aesthetic stripe โ make the dashboard feel like Stripe
/a11y-audit this checkout form
/migrate-design-system from Material 3 to our tokens
3. Run the scripts (real, no dependencies)
Plain python3 โ useful in the terminal or CI:
python3 scripts/validate_tokens.py # validate token JSON + alias refs
python3 scripts/validate_contrast.py # batch WCAG gate: token pairs, light + dark
python3 scripts/contrast.py "#1d1d1f" "#ffffff" # WCAG contrast ratio for one pair
python3 scripts/validate_component_spec.py # every component spec is complete
python3 scripts/lint_hardcodes.py src/ # no off-theme hex/px/timing (consistency)
python3 scripts/lint_taste.py page.html # heuristic anti-slop taste check
python3 scripts/design_systems.py list # browse the 138-system library
python3 scripts/scaffold_component.py "Date Picker" # emit a component spec stub
These are the same gates CI runs (.github/workflows/ci.yml) โ token validity, WCAG contrast in light + dark, spec completeness, and zero hardcoded values โ so theme/color stays consistent across every page and accessibility is enforced, not assumed.
Typical flow
1. /apply-aesthetic linear โ set the visual direction (tokens re-pointed)
2. /design-component Combobox โ spec it with states + a11y
3. /design-code Combobox in React + Tailwind โ production code
4. /a11y-audit โ verify contrast, keyboard, focus
5. /design-review โ score + findings before ship
Tip: skills compose.
apply-aestheticalways re-verifies contrast througha11y-audit;redesigncallsdesign-review+a11y-auditautomatically.
๐ Project Structure
.
โโโ CLAUDE.md # Agent persona & master instructions
โ
โโโ .claude/skills/ # โก Runnable skills โ invoke via /name
โ โโโ design-tokens ยท design-component ยท design-code ยท design-review ยท a11y-audit
โ apply-aesthetic ยท redesign ยท migrate-design-system ยท prototype ยท ux-writing
โ
โโโ scripts/ # Real helper scripts (python3, no deps)
โ โโโ validate_tokens.py # JSON + alias validation for tokens/
โ โโโ contrast.py # WCAG 2.2 contrast-ratio checker
โ โโโ design_systems.py # Browse/search the 138-system library
โ โโโ scaffold_component.py # Emit a component spec stub
โ
โโโ tokens/ # Design tokens (DTCG format) โ 13 files
โ โโโ colors ยท typography ยท spacing ยท shadows ยท borders ยท breakpoints ยท motion
โ โโโ gradients ยท opacity ยท blur ยท sizing ยท states ยท theming
โ
โโโ taste/ # ๐ญ Aesthetic judgment layer
โ โโโ design-taste.md # Anti-slop doctrine, banned defaults, pre-flight check
โ โโโ aesthetic-systems.md # Archetypes + catalog of 138 design systems
โ โโโ motion-choreography.md # Motion grammar + reduced-motion parity
โ
โโโ design-systems/ # ๐ Interop + brand library
โ โโโ interop-protocol.md # Map to/from ANY design system
โ โโโ crosswalk.md # Material 3 ยท Apple HIG ยท Fluent ยท Carbon ยท shadcn ยท Radix
โ โ # ยท Ant ยท Polaris ยท Primer ยท Atlassian ยท Bootstrap
โ โโโ library/<name>/ # 138 brand-grade DESIGN.md specs
โ
โโโ content/ # UX writing & content design
โ โโโ voice-tone.md # Voice & tone, error/empty-state copy, microcopy, inclusive language
โ
โโโ components/ # Component specs (Atomic Design) โ 50 components
โ โโโ atoms ยท molecules ยท organisms ยท templates
โ โโโ navigation ยท feedback ยท forms-advanced ยท overlays
โ โโโ data-display ยท data-viz ยท icon-system
โ
โโโ accessibility/ # WCAG & ARIA references + inclusive design
โ โโโ wcag-checklist.md # WCAG 2.2 checklist (POUR, P0/P1/P2)
โ โโโ aria-patterns.md # WAI-ARIA patterns for 19 components
โ โโโ cognitive.md ยท vision.md ยท i18n-rtl.md # cognitive ยท low-vision/CVD/forced-colors ยท RTL
โ โโโ wcag-aaa.md # AAA upgrade delta
โ
โโโ workflows/ # Design process + ops/pipeline guides
โ โโโ design-review.md ยท design-to-code.md ยท prototyping.md ยท redesign-audit.md
โ โโโ governance.md ยท token-build.md ยท figma-integration.md ยท design-qa.md ยท performance.md
โ
โโโ frameworks/ # Implementation patterns โ ANY framework
โโโ adapter-protocol.md # Universal translation contract
โโโ react-tailwind.md ยท nextjs.md ยท swiftui.md # full references
โโโ adapters/ # vue ยท svelte ยท angular ยท solid ยท web-components-lit ยท qwik ยท astro
# mui ยท mantine ยท chakra ยท bootstrap
# react-native ยท flutter ยท jetpack-compose ยท vanilla-css ยท css-in-js
[!NOTE] The design-taste layer (
taste/) and the 138-system library (design-systems/library/) set visual direction; the system (tokens, components, accessibility) keeps it correct. Taste serves the Aesthetics tier and never overrides accessibility. Skills under.claude/skills/run with agent permissions โ review before use.
๐จ Token Architecture
The design token system follows a 3-tier hierarchy using the DTCG standard:
โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ
โ COMPONENT TOKENS โ โโโบ โ SEMANTIC TOKENS โ โโโบ โ PRIMITIVE TOKENS โ
โ button-bg-primary โ โ action.primary โ โ blue.600 = #2563EB โ
โ (use in code) โ โ (use in design) โ โ (raw palette) โ
โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ
| Tier | Role | Example |
|---|---|---|
| Primitive | Raw color/size values โ never referenced directly | blue.600, space.4 |
| Semantic | Purpose-based aliases โ used in design | action.primary, text.secondary, surface.card |
| Component | Scoped to specific components โ used in code | button.primary-bg, input.border-focus |
Dark mode works by swapping semantic tokens โ primitives stay the same.
๐งฐ Supported Frameworks โ any
The Framework Adapter Protocol defines a universal tokenโframework contract, so the agent can target a stack even with no dedicated file (it generates an adapter on demand).
Full references
| Framework | Version | Key Patterns |
|---|---|---|
| React + Tailwind | React 19, Tailwind v4 | forwardRef, cva, cn(), CSS custom properties |
| Next.js | 15 (App Router) | Server/Client Components, next/font, next/image, Server Actions |
| SwiftUI | 6 (iOS 18+) | ButtonStyle, ViewModifier, @ScaledMetric, Dynamic Type |
Concise adapters โ Vue 3 ยท Svelte 5 ยท Angular ยท SolidJS ยท Web Components (Lit) ยท React Native ยท Flutter ยท Jetpack Compose ยท vanilla CSS ยท CSS-in-JS (emotion/vanilla-extract/Panda)
๐ Design-System Interop โ any
Adopt, build on, or migrate between external design systems via a role-based crosswalk (interop-protocol + crosswalk). Curated tables: Material Design 3 ยท Apple HIG ยท Fluent 2 ยท Carbon ยท shadcn/ui ยท Radix (others derived on demand). Plus a library of 138 brand-grade design systems (apple, linear, stripe, vercel, notion, spotify, teslaโฆ) under design-systems/library/.
โฟ Accessibility Standards
All outputs follow WCAG 2.2 Level AA as a minimum:
- โ Color contrast: 4.5:1 (text), 3:1 (UI components)
- โ Keyboard navigable with visible focus indicators
- โ Screen reader compatible with proper ARIA roles and live regions
- โ Touch targets: 24ร24px minimum (WCAG 2.5.8)
- โ WCAG 2.2 criteria: Focus Not Obscured, Target Size, Accessible Authentication
โญ Design Review Output
When reviewing designs, the agent scores across 6 weighted dimensions:
| Dimension | Weight | Dimension | Weight | |
|---|---|---|---|---|
| Visual Hierarchy | 20% | Usability | 20% | |
| Consistency | 20% | Responsiveness | 10% | |
| Accessibility | 20% | Performance | 10% |
Findings are categorized: ๐ด Critical (must fix) โ ๐ Major (fix this sprint) โ ๐ก Minor (when convenient) โ ๐ต Enhancement (backlog).
๐ ๏ธ Customization
This is a starter kit โ make it yours:
- Brand colors โ edit
tokens/colors.jsonprimitives, then update semantic references - Typography โ swap font families in
tokens/typography.jsonand framework files - Components โ add new components following the existing spec format in
components/ - Frameworks โ add new framework files in
frameworks/(e.g.,vue.md,flutter.md) - Workflows โ adapt review rubrics and checklists in
workflows/to your team's process
๐ Requirements
- Claude Code CLI or any Claude-powered IDE
- A Claude model with sufficient context (Sonnet, Opus, or Haiku)
๐ Changelog
v2.2.1
- ๐งช State-aware WCAG gate โ
scripts/verify_states.mjs(npm run test:states) measures real computed contrast of every interactive element in default / hover / focus (light + dark), catching state bugs the resting-state gate missed (e.g. a secondary button picking up the primary fill on hover). Wired intoaccuracy_report(now 11 checks, 100%). - ๐ Verification Protocol โ new top-of-CLAUDE.md rule: never report a quality number you didn't measure; verify all states; run the gate before declaring done; build with the gates.
design-codestep 13 anda11y-auditnow run the render gates instead of eyeballing. - ๐ฉน Fixed real hover-state AA failures in
examples/apple-demo; addedexamples/brandkit-demo(generated OKLCH foundation, light+dark, every state AA).
v2.2.0
- โก 2 new runnable skills (15 โ 17) โ
image-to-code(reference image/screenshot โ infer the design system โ token-driven, verified code) andbrandkit(brief โ complete primitiveโsemanticโcomponent DTCG token foundation + theme.css, light + dark, WCAG-verified). Both native, fit the kit's gates. - ๐จ Render-based taste audit โ
scripts/taste_audit.mjs(npm run taste) measures structural slop tells from real computed styles: timid type-scale contrast, uniform repetition, over-wide measure, palette sprawl. Wired into thedesign-codetaste pre-flight. Heuristic by design โ a strong signal, not proof (taste is subjective). - ๐งน De-emoji'd the taste doctrine itself; router rows + skills list updated.
v2.1.0
- โ
Accuracy report โ
npm run verify(scripts/accuracy_report.mjs) runs every objective correctness gate as one all-or-nothing, reproducible check: token validity + alias resolution, WCAG contrast (token pairs), component-spec completeness, no hardcoded values (golden + sample), theme-ref resolution, no-emoji, and real headless-Chrome WCAG measurement (sample-app, light + dark). PrintsN/N = 100%or the exact failures. - ๐งฑ Block-level lint exemption โ
scripts/lint_hardcodes.pysupportsds-allow-hardcode:start/:endfor justified illustration blocks (e.g. CSS product art), keeping the rest of the file strictly token-only.
v2.0.0 โ Enforcement layer (breaking)
Breaking: dark-mode token values changed (link, primary action) and
border.strongnow meets 3:1 โ re-verify any snapshots/visual tests. The kit moves from advisory guidance to enforced gates.
Theme consistency + real WCAG, enforced (driven by real-world audit feedback):
- ๐จ Single-theme consistency โ every page renders from ONE shared token theme; CLAUDE.md rule +
examples/golden/(theme.css with full color/type/spacing/breakpoint tokens, Button.tsx, Modal.tsx).design-code/redesignrequire consuming the one theme โ no per-page palettes. - ๐ซ Hardcode linter catches real drift โ
scripts/lint_hardcodes.pynow flags raw hex/px/ms, raw Tailwind palette utilities (bg-gray-500,text-blue-600), and literalfont-family(the 527-hardcode problem). - ๐ No floating tokens โ
scripts/validate_theme_refs.pyproves everyvar(--โฆ)a component uses is defined in the theme (precision/consistency gate). - โ
Real WCAG gate โ
scripts/validate_contrast.pychecks required text/action/border pairs in light + dark; fixed genuine dark-mode contrast bugs (link, primary action) and madeborder.strongmeet 3:1 for essential control borders. - ๐ช One Modal primitive โ golden
Modal.tsx+ hardened spec: focus trap,role="dialog",aria-modal, return-focus on close (fixes the 0/14-focus-trap class of bug, WCAG 2.4.3 + 2.1.2). - ๐ค One CI enforces all of it โ
.github/workflows/ci.ymlruns tokens + contrast + spec + hardcode + theme-ref +npm teston every push/PR. Drift, contrast regressions, off-theme colors, and floating tokens cannot merge. - โก 5 new runnable skills (10 โ 15) โ
governance,token-build,figma-integration,design-qa,performance; verification steps added todesign-code/prototype/ux-writing; router rows for all newer knowledge. - ๐งน
validate_component_spec.py+lint_taste.py; fixedvalidate_tokens.pycross-file aliases; atoms Button/Input document all 8 states.
v1.2.1
- ๐ Docs โ added
docs/WORKFLOW.md: end-to-end how-it-works guide (Request Router, on-demand layer loading, real usage scenarios, automated release pipeline) + linked from the README - ๐ค CI โ first release shipped fully automatically by the
release.ymlworkflow (GitHub Release notes from this changelog +npm publish --provenanceon tag push)
v1.2.0
- ๐งฉ 8 new component specs โ
data-display.md(Calendar, Carousel, Tree) +data-viz.md(Bar, Line/Area, Pie/Donut, Sparkline, Scatter) โ 50 components; pluscomponents/icon-system.md - ๐ Data-viz tokens โ
tokens/data-viz.json: color-blind-aware (OkabeโIto) categorical/sequential/diverging palettes + axis/grid/tooltip โ 14 token files - โจโฉ 6 new framework adapters โ Qwik, Astro, MUI, Mantine, Chakra, Bootstrap โ 16 adapters
- ๐ Extended interop crosswalks โ Ant Design 5, Shopify Polaris, GitHub Primer, Atlassian, Bootstrap (color-role tables + per-system notes)
- โฟ Accessibility depth โ
cognitive.md(load, plain language, dyslexia, reduced-data),i18n-rtl.md(logical properties, RTL mirroring, text expansion),vision.md(color blindness, low vision, forced-colors),wcag-aaa.md(AAA upgrade delta); +4 ARIA patterns (Carousel, Grid, Toolbar, Feed) - โ๏ธ Ops & pipeline workflows โ
governance.md(SemVer, contribution, deprecation),token-build.md(Style Dictionary / DTCG โ multi-platform),figma-integration.md(tokenโVariable sync, Figma MCP),design-qa.md(visual regression + a11y CI),performance.md(Core Web Vitals)
v1.1.0
- ๐ฆ npm package โ install into any project with
npx ux-ui-agent-skills init(zero-dependency CLI:init/add/list,--force/--dry) - โก Runnable skills โ 10 invocable
/skillsunder.claude/skills/+ real helper scripts (validate_tokens.py,contrast.py,design_systems.py,scaffold_component.py) - ๐ง Intelligence layer โ Request Router in
CLAUDE.md; Framework Adapter Protocol (target any framework) with 10 concise adapters; Design-System Interop Protocol + crosswalk (map to/from any design system) - ๐ญ Native design-taste โ
taste/(anti-slop doctrine, aesthetic archetypes, motion choreography) + a library of 138 brand-grade design systems - โ 6 new token categories โ gradients, opacity, blur, sizing, states, theming (multi-brand + density)
- ๐งฉ 16 new component specs โ Tabs, Breadcrumb, Pagination, Stepper, Menu, Toast, Banner, Skeleton, Progress, Empty State, Combobox, Select, Slider, Date Picker, File Upload, Popover, Command Palette, Divider
- ๐งน Removed the externally-bundled taste skills in favor of native, first-party content
v1.0.1
- โ Motion tokens โ
tokens/motion.json: duration scale, easing curves, transition presets, keyframes, reduced-motion strategy - โ UX writing guide โ
content/voice-tone.md: voice & tone system, error/empty-state formulas, microcopy patterns, inclusive language, pre-ship checklist - ๐จ Added
cover.htmlrepo cover image
v1.0.0
- ๐ Initial release โ agent persona, 6 token files, 26 components (Atomic Design), WCAG 2.2 + ARIA references, 3 workflow guides, 3 framework guides
๐ License
Released under the MIT License.
If this kit helps you, consider giving it a โญ