Skip to content
Design
Skill

/figma-designer

Design inside Figma the way this designer does: real variables, text styles, auto layout and components, on a fixed visual system (Tailwind type and radius scale, spacing tokens, two-layer color tokens, button and state rules). Use this skill whenever you create, edit or review

From plugin
ai-design-skills
16k2 skills

Claude Code

$ npx -y skills add elayadesign/ai-design-skills --skill figma-designer --agent claude-code

SKILL.md

figma-designer.SKILL.md
name: figma-designer
description: "Design inside Figma the way this designer does: real variables, text styles, auto layout and components, on a fixed visual system (Tailwind type and radius scale, spacing tokens, two-layer color tokens, button and state rules). Use this skill whenever you create, edit or review anything in a Figma file through the Figma MCP: screens, landing pages, components, mockups, design systems, tokens, or any UI. Use it even when the user doesn't name the skill and only says things like 'design a page in Figma', 'make a button component', 'mock this up' or shares a figma.com link. Load it before writing any use_figma code."

Figma Designer

These are the designer's own rules for working in Figma. They sit on top of the official Figma skills and don't replace them.

  • **Load `figma-use` before any `use_figma` call.** It holds the Plugin API rules (color ranges, font loading, layout sizing). This skill only adds design rules.
  • For full screens and pages, also load `figma-generate-design`. For component libraries and tokens, also load `figma-generate-library`.
  • Exact token names and values are in [Token reference](#token-reference) at the end of this file. Read it before you create or bind any variable or text style.

Workflow

1. **Check the file first.** List local variable collections and text styles, and search the file's libraries (`search_design_system`) for variables, styles and components. Reuse what exists before creating anything. 2. **Set up foundations if missing.** Create everything below before you build any screen:

  • the `spacing` and `radius` variables
  • the two color layers (`Core Colors`, then `Color System` with Light and Dark modes)
  • the text styles

Light and dark are variable modes, never two sets of hardcoded colors.

  • **Show the tokens on the canvas.** Place a `Foundations` frame on the `Foundations` page, the same way components sit in their own frame. Inside it, add one auto layout section for each collection:
  • `Core Colors`: one row per palette, one swatch per shade
  • `Color System`: one row per group, with the Light and Dark modes side by side using explicit variable modes on two columns
  • `spacing`: a bar per token, sized to its value
  • `radius`: a square per token, with that radius
  • Text styles: one sample line per style
  • **Bind the samples so they update with the tokens.** Every swatch fill is bound to its variable. Every spacing bar and radius sample is bound to its variable. Every text sample uses its style. When the user edits a token, the frame updates by itself.
  • **Labels:** each sample is labeled with its token name and, for Color System, its alias (`Surface/Primary → Grayscale/870`). Text can't bind to a color value, so hex labels don't update by themselves. Re-sync the labels whenever you create, rename or change tokens.

3. **Build section by section.** Do the hero first, then one section per step. Never build a whole page in one pass. Screenshot after each section and fix it before moving on. 4. **Use auto layout everywhere.** Every frame with children uses auto layout. Padding and gap are bound to spacing variables, never typed numbers. 5. **Bind, don't type.**

  • Bind every fill, stroke, radius, padding and gap to a variable.
  • Every text layer uses a text style.
  • Bind designs to `Color System` tokens only, never to `Core Colors` directly.

6. **Self check before finishing.** Run the checklist at the end of this file, fix every failure, then report what was built and what was skipped.

Typography

  • **Fonts:** any font is allowed. Use the one the user or brand names; check it with `figma.listAvailableFontsAsync()` before loading.
  • **One typeface per file** unless the user asks for a pair. Geist Mono is allowed beside the main font only for code, data or numbers.
  • **No italic styles. No weights above bold.**
  • **Sizes come from the Tailwind type scale only:** 12, 14, 16, 18, 20, 24, 30, 36, 48, 60, 72, 96, 128. If a size falls between steps, snap to the step below and take its line height.
  • **Text styles.** Create the named styles in [Token reference → Text styles](#text-styles) (Heading 1 to 6, Title 1 to 5, Body 1 to 6, Button-lg/md/sm/Xsm, Caption 1 to 5). Use the names exactly, including capitalization.
  • Group them in folders by type, so the panel reads `Heading / Heading 1`, `Body / Body 4`, `Button / Button-md`.
  • Every text layer uses one of these styles. Never set a loose size or weight; changing the weight on a styled layer detaches the style.
  • **Which group to use:**
  • **Heading:** page and section headings, largest to smallest. Heading 1 is the hero.
  • **Title:** card titles, list item titles, labels that lead a block, nav items.
  • **Body:** running text. Within each size, 1 is the strongest weight and the last is regular.
  • **Button:** text inside buttons only. Main buttons use Button-md; small header buttons use Button-sm.
  • **Caption:** metadata, helper text, badges, timestamps, fine print.
  • **New styles.** If a project needs one, add the next number in its group (for example Body 7), built from a scale step. Never invent a new name or an off-scale size.
  • **Copy:**
  • No hyphens inside text.
  • No single word alone on a heading's last line. Break headings by hand at meaningful points (use a line break in the text, not a narrower frame).
  • The hero heading (Heading 1) has no periods, neither at the end nor between phrases. Split two ideas with a line break: `See the slop` / `Decide what to fix`, not `See the slop. Decide what to fix.`

Spacing

  • Use only the `spacing/*` number variables: 0, 2, 4, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96. Nothing in between.
  • Bind `paddingTop/Right/Bottom/Left` and `itemSpacing` to them with `setBoundVariable`. Give spacing variables the `GAP` scope, which covers both padding and gap.
  • When a design value falls between tokens, snap it to the nearest token and bind it.
  • Main bu
Read more
@elayadesign
Ships withai-design-skills

A growing collection of design skills for AI coding tools — Claude Code, Cursor, Codex, Windsurf, and anything else that reads a markdown rules file. Each skill is a self-contained folder. Install the ones you need.

Stars on GitHub

Momentum

stars in total
15.6k
Star history of elayadesign/ai-design-skills on GitHub, a chart by star-history.com

Other skills on ai-design-skills.

More skills from other plugins.

impeccable

impeccable

Use to design, redesign, critique, audit, polish or animate a frontend: websites, landing pages, dashboards, app UI, components,…

@pbakaus@pbakausInstall Skill

Questions about figma-designer.

Which coding agents can use figma-designer?
figma-designer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.