Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Design Code Generator (design-code)

Generates production-ready, token-driven and accessible UI component code for almost any framework, from React+Tailwind to SwiftUI and Flutter.

Design & UIIntermediate★ 1,520⑂ 162AI score 8/10Last updated: Sep 16, 2026

What it does

  • Picks the right adapter for your target stack (React+Tailwind, Next.js, SwiftUI, Vue, Svelte, Angular, Solid, Lit, React Native, Flutter, Jetpack Compose, vanilla CSS, CSS-in-JS) and writes the component or screen.
  • Resolves every color, size, radius and font to your project's single shared token theme instead of hardcoded values.
  • Ships all applicable of the 8 states (Default/Hover/Focus/Active/Disabled/Loading/Error/Selected), dark mode, mobile-first layout and reduced-motion fallbacks.
  • Enforces ARIA patterns, one shared Modal/Button primitive with focus trap and focus return, and real friction for destructive actions.
  • Requires running the verification gates (lint_hardcodes.py, contrast.py, verify_states.mjs, taste_audit.mjs) and reporting their actual output before declaring done.

Who it's for

  • Frontend engineers and teams maintaining a design system or UI kit.
  • Anyone tired of AI-generated UI that invents new colors per page and skips accessibility.
  • Projects that need visual consistency across many screens from one theme layer.

Examples

  1. "Build a payment confirmation modal in Next.js + Tailwind" → complete file using the shared Modal primitive with role="dialog", Escape handling and focus return.
  2. "Delete account screen" → destructive flow where the confirm button reads "Delete account" plus a type-to-confirm step.
  3. "Port this Button component to SwiftUI" → token mapping via the SwiftUI adapter with per-state styling rebuilt.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/plugin87/ux-ui-agent-skills/HEAD/.claude/skills/design-code/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the .claude/skills/design-code folder from the GitHub repo plugin87/ux-ui-agent-skills into my ~/.claude/skills/design-code/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/plugin87/ux-ui-agent-skills.git && mkdir -p ~/.claude/skills && cp -r ux-ui-agent-skills/.claude/skills/* ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/plugin87/ux-ui-agent-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the whole skills tree (this skill depends on sibling frameworks/, tokens/, scripts/ files, so don't copy just one folder): cp -r ux-ui-agent-skills/.claude/skills/* ~/.claude/skills/
  5. Make sure Node.js and Python 3 are installed for the verification scripts: node -v && python3 -V
  6. Restart Claude Code, then ask with an explicit stack, e.g. "Create an accessible Button component in React + Tailwind" — the skill triggers automatically.