Agent Skills teach Claude Code, Cursor, and Codex to generate production-ready shadcn/ui code straight from Figma designs — and sync design tokens to CSS.

AI coding tools are great at writing code. They're terrible at understanding design.
You paste a Figma link, describe what you want, and the AI gives you something that technically works but looks nothing like the design. Wrong spacing. Wrong components. Hardcoded colors instead of your theme tokens. Icons downloaded as PNGs instead of imported from Lucide. You spend more time fixing the output than it would've taken to write it yourself.
So I built Agent Skills to fix that.
Agent Skills are detailed instruction files that your AI coding tool follows step by step. Not prompts. Not templates. Complete workflows that encode every convention, edge case, and best practice we've learned building with our shadcn/ui Kit for Figma.
Think of it as giving your AI agent a design engineering brain. Instead of guessing how to translate a Figma frame, the agent follows a structured process: fetch the design, identify components, map them to your local shadcn/ui library, handle icons properly, download assets, and run an audit checklist before it's done.
Point your AI agent at any Figma frame and get a production-ready React component. The skill handles the full pipeline:
public/The key part: the skill doesn't dump Figma's reference code into a file. It reads your existing project (your components.json, your globals.css, your installed components) and adapts the output to match what you already have. If the Figma design uses a Button, the generated code imports your Button with your variants.
For multi-section pages, the skill chunks the Figma fetch so nothing gets truncated. It processes each section individually while keeping the full-page visual context.
Sync your Figma design tokens (colors, radius, typography, shadows, spacing) as CSS custom properties directly into your globals.css.
This matters more than people think. Getting design tokens right is the difference between a UI that feels cohesive and one that feels like parts from different kits duct-taped together.
The skill supports:
next/font with proper Tailwind v4 theme tokens--shadow-* custom propertiesYou design in Figma, run the skill, and your codebase matches. No manual copying of hex values, no guessing what --muted should be in dark mode.
Agent Skills work with any AI tool that supports the open skills format:
.claude/skills/.cursor/skills/.codex/skills/.opencode/skills/One CLI command installs everything:
npx shadcn@latest add @shadcndesign/skills-claude
That's it. Your AI agent now knows how to do Figma-to-code properly.
I tried the prompt approach first. Write a long system prompt, paste it into Cursor, hope for the best. It works sometimes. But prompts are fragile. They drift. They miss edge cases. And they can't encode structured workflows like "first check the project's components.json, then scan the installed components, then compare the Figma design against what's available."
Skills can. They're versioned, structured, and they encode the full decision tree. When the agent encounters a Pro Block in a Figma design, the skill tells it exactly how to parse the registry name, check if it's already installed, create a working copy, and edit only the differences. No hallucination. No guessing.
The skills also use Figma MCP and shadcn MCP under the hood. The agent gets direct access to Figma design data and the shadcn component registry. Not screen-scraping. Not parsing screenshots. Structured design context.
These aren't generic AI prompts I wrote over a weekend. They're the exact workflows we use every day to build with the shadcn/ui Kit for Figma. Every rule, every edge case came from a real production scenario.
The Generate Code skill alone covers:
next/image usageThe Import Variables skill covers:
next/font + Tailwind v4 theme tokens@theme inline entries for new tokensThat level of detail is what separates AI output you ship from AI output you throw away.
The Plus Package includes the three Design in Figma skills, the React Package includes the five Pro Blocks skills, and the Premium Package includes all ten. If you already have a license, install them now:
.env.localCheck the full documentation for the step-by-step setup guide.
If you're building with Figma and shadcn/ui, this is the fastest path from design to production code without losing fidelity.
Founder @ shadcndesign.com

Ten agent skills covering the full shadcn/ui workflow: design in Figma, turn designs into code, and build pages with Pro Blocks. Included in the Plus, React, and Premium packages.

We've launched Agent Skills for AI-powered Figma-to-code workflows, added slots to the Figma kit components, new Tailwind colors, updated AI models, and more.

The Figma to shadcn/ui plugin now generates code tailored to your project. Plus we added support for the Claude 5 family and Gemini 3.5 Flash.