plugin87/ux-ui-agent-skills

Design-system skills for Claude Code, Codex, Cursor, Copilot and Gemini CLI: DTCG tokens, WCAG 2.2 AA to AAA, 2,144 design systems, 26 skills, any-framework code, and 52 gates that fail the build instead of taking the agent's word for it.

UX/UI Agent Skills (also called XIAS) is a toolkit that helps AI coding agents build user interfaces to a senior designer's standard. It does this in two ways: it gives agents a set of rules and design tokens to follow, and then it checks what they actually produced with 52 objective gates — automated tests that measure things like color contrast, button sizes, keyboard navigation, and whether the page breaks on narrow screens. Thirty-four of those gates open a real browser to inspect the page, so they don't just trust the agent's word; they look at the rendered result.

The kit includes:

  • 26 runnable skills — commands the agent can invoke (e.g., design-tokens, a11y-audit, data-dashboard) to generate or review UI.
  • 2,144 design systems — a library of real-world design patterns (2,087 measured from live sites) to help the agent vary layouts and avoid generic "slop" designs.
  • Design tokens — standardized values for colors, typography, spacing, etc., in a 3-tier structure (primitive → semantic → component) that work across any framework.
  • Framework adapters — support for React, Next.js, SwiftUI, Vue, Svelte, Angular, and more, so the same rules apply everywhere.

How it works: You install the kit into your project (or as a plugin for Claude Code, Codex, Cursor, etc.). The agent reads the doctrine (rules in CLAUDE.md or AGENTS.md) and uses the skills to build UI. Afterward, you can run the gates to verify the result. The gates catch real problems — for example, a "Delete Account" button that's blue instead of red, text with too little contrast, or a page that overflows on a 280px-wide screen. The README shows a side-by-side comparison where a typical AI-generated dashboard fails 10 gates, while the same dashboard built with the kit passes all 52.

Installation options:

  • Claude Code plugin (recommended) — two commands in Claude Code, no files copied into your repo.
  • MCP server — lets any MCP client run the gates.
  • Homebrew — brew install plugin87/tap/ux-ui-agent-skills.
  • npx — npx ux-ui-agent-skills@3.1.0 init drops the kit into any project.

There's also a live demo with 56 pages you can click through without installing anything.

The project is open-source (MIT license) and current version is 3.1.0. It requires Node.js 20+ and Python 3, plus Chrome for the browser-based gates (or it can download a Playwright-managed Chrome). The README emphasizes that the gates never report a pass if they can't measure — they either skip or fail, so you always know when something wasn't checked.

A notable feature: the kit was tested "blind" — two subagents were given a brief and the kit, with no extra hints, and both scored 14/14 on the gates. The outputs also went through a critic that found non-measurable issues (like a loading state that looks disabled), which led to improvements in the kit itself.

In short, XIAS is a way to make AI coding agents produce consistent, accessible, and visually polished UI, with hard evidence that they did so.

Related

  • Project
  • Project
  • Project
  • Project
  • Project