Agent skill · AI Design Skills
/figma-designer Have agents build Figma files with real tokens and components
This skill adds one designer's working rules on top of Figma's official agent skills. The agent checks the file for existing variables and styles, sets up spacing, radius and two color collections with light and dark modes, shows them on a bound Foundations frame, then builds screens section by section with auto layout, named text styles and components that carry every state.
Works with
- Claude Code, Cursor, Codex and other agents
- Claude Code
- Cursor
When to use it
- You drive Figma through the Figma MCP and want screens built on variables rather than typed values.
- You need a starting design system: tokens, text styles and button variants in one file.
- You want light and dark themes handled as variable modes instead of duplicate frames.
How it works
- 1Inspect the file
Lists local variable collections and text styles and searches linked libraries so existing assets are reused first.
- 2Create foundations
Adds spacing and radius variables, Core Colors and an aliased Color System collection, and the named text styles from the token reference.
- 3Show tokens on canvas
Places a Foundations frame whose swatches, bars and samples are bound to their variables, and keeps the labels in sync.
- 4Build and bind
Builds one section at a time with auto layout, binding every fill, stroke, radius, padding and gap, and screenshots after each section.
- 5Self check
Runs a checklist on styles, bindings, contrast, component states and layer names, then reports what was built and skipped.
What it steers the agent away from
- Hardcoded hex values and loose font sizes that detach from styles.
- Buttons and inputs missing hover, pressed, focus or disabled variants.
- Layers left with default names such as Frame or Group.
Install this skill
It installs with the AI Design Skills pack.
Claude Code, Cursor, Codex and other agents (skills CLI)Prompts for skills and agents unless you pass flags; update later with npx skills update.
npx skills add elayadesign/ai-design-skills
npx skills add elayadesign/ai-design-skills --skill landing-page-design
npx skills add elayadesign/ai-design-skills -a claude-code -a cursor
npx skills add elayadesign/ai-design-skills -gClaude Code (manual)Replace the placeholder with the folder name of the skill you want.
mkdir -p .claude/skills
git clone https://github.com/elayadesign/ai-design-skills.git /tmp/ai-design-skills
cp -r /tmp/ai-design-skills/skills/<skill-name> .claude/skills/Cursor (manual)Saves one skill as a Cursor rule; pasting it into the Rules for AI setting also works.
mkdir -p .cursor/rules
curl -o .cursor/rules/<skill-name>.md \
https://raw.githubusercontent.com/elayadesign/ai-design-skills/main/skills/<skill-name>/SKILL.mdCommands come from the author’s README; check it for changes before you run them.
Questions
Does it replace Figma's own skills?
No. It sits on top of them: the agent is told to load figma-use first, and figma-generate-design or figma-generate-library for full screens or component libraries.
Can I use my brand colors?
Yes. Token names and structure are fixed, but the hex values in Core Colors follow your brand, and designs only bind to the Color System layer.
More guides from AI Design Skills
Summary by trendhub. The skill itself lives in elayadesign/ai-design-skills/skills/figma-designer by Elaya (MIT); read the full, current text there.