Agent skill

Figma Design System Builder

by warpdotdev in warpdotdev/warp

Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

AGPL-3.0Auto-check passedFrontend & Design

Install Figma Design System Builder

skills CLI
$ npx skills add warpdotdev/warp --skill figma-generate-library -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install warpdotdev/warp figma-generate-library --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/warpdotdev/warp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/bundled/mcp_skills/figma/figma-generate-library .claude/skills/figma-generate-library && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
figma-generate-library
GitHub stars
65k
Used in
2 other repos
Token cost
~4.4k tokens
SKILL.md length
1,533 words
Files
17 (incl. scripts, references)
Skills in repo
46
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

  • Works in 11 steps: The One Rule That Matters Most → Mandatory Workflow → Critical Rules → …
  • Creating Figma variables and tokens from a codebase's design tokens
  • SKILL.md covers 1. The One Rule That Matters…, 2. Mandatory Workflow, 3. Critical Rules and 4. State Management (Required…, plus 7 more sections
  • Runs JavaScript scripts from its folder

What it does

This skill supplies the domain knowledge and order of work for design systems in Figma, and it must be used alongside the `figma-use` skill, which covers the Plugin API syntax for each `use_figma` call. It is never a one-shot task: a build takes 20 to 100 or more calls across phases, with mandatory user checkpoints, and anything done in a single call risks broken or unrecoverable results.

Discovery comes first and writes nothing: the agent analyzes the codebase for tokens, components and naming conventions and inspects the Figma file's pages, variables, components and styles. Variables then come before components, since components bind to them, existing conventions are matched, and each component normally gets its own page. Plugin API rules are repeated, such as returning created node IDs, resetting the page context each call and loading fonts before writing text. Bundled scripts create variable collections, semantic tokens, components with variants and documentation pages, and handle validation and cleanup. References cover Code Connect setup, naming and error recovery.

When your agent uses it

  • Creating Figma variables and tokens from a codebase's design tokens
  • Building a component library in Figma that matches the code
  • Setting up light and dark theming in a Figma file
  • Reconciling gaps between code components and Figma

Example prompts

  • “Build a Figma variable collection from the design tokens in our codebase, then stop for my review.”
  • “Create a Figma Button component with size and variant properties that matches our React Button.”
  • “Add dark mode to the existing Figma variables and check what is missing against the code.”
  • “Audit our Figma file against the codebase and list the components that are missing.”

Requirements

  • A Figma file and the Figma MCP `use_figma` tool
  • The `figma-use` skill loaded alongside this one

Workflow steps

11 steps, taken from the step headings in SKILL.md.

  1. The One Rule That Matters Most
  2. Mandatory Workflow
  3. Critical Rules
  4. State Management (Required for Long Workflows)
  5. search_design_system — Reuse Decision Matrix
  6. User Checkpoints
  7. Naming Conventions
  8. Token Architecture
  9. Per-Phase Anti-Patterns
  10. Reference Docs
  11. Scripts

What it can do on your machine

Read from SKILL.md and the folder at commit f571865. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 9 files in scripts/ (JavaScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Figma Design System Builder loads about 4.4k tokens when it runs, and up to ~48k if it reads all its reference files. Until then it costs about 112 tokens; SKILL.md has 1,533 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~4.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~48k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from warpdotdev/warp at commit f571865, republished under its AGPL-3.0 licence (© warpdotdev). 1,533 words, ~4,422 tokens.

Download SKILL.mdSave it as .claude/skills/figma-generate-library/SKILL.md (or your agent's skills folder). This skill also uses 16 other files; get the full folder from GitHub.
name
figma-generate-library
description
Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. This skill teaches WHAT to build and in WHAT ORDER — it complements the `figma-use` skill which teaches HOW to call the Plugin API. Both skills should be loaded together.
disable-model-invocation
false

Design System Builder — Figma MCP Skill

Build professional-grade design systems in Figma that match code. This skill orchestrates multi-phase workflows across 20–100+ use_figma calls, enforcing quality patterns from real-world design systems (Material 3, Polaris, Figma UI3, Simple DS).

Prerequisites: The figma-use skill MUST also be loaded for every use_figma call. It provides Plugin API syntax rules (return pattern, page reset, ID return, font loading, color range). This skill provides design system domain knowledge and workflow orchestration.

Always pass skillNames: "figma-generate-library" when calling use_figma as part of this skill. This is a logging parameter — it does not affect execution.


1. The One Rule That Matters Most

This is NEVER a one-shot task. Building a design system requires 20–100+ use_figma calls across multiple phases, with mandatory user checkpoints between them. Any attempt to create everything in one call WILL produce broken, incomplete, or unrecoverable results. Break every operation to the smallest useful unit, validate, get feedback, proceed.


2. Mandatory Workflow

Every design system build follows this phase order. Skipping or reordering phases causes structural failures that are expensive to undo.

Phase 0: DISCOVERY (always first — no use_figma writes yet)
  0a. Analyze codebase → extract tokens, components, naming conventions
  0b. Inspect Figma file → pages, variables, components, styles, existing conventions
  0c. Search subscribed libraries → use search_design_system for reusable assets
  0d. Lock v1 scope → agree on exact token set + component list before any creation
  0e. Map code → Figma → resolve conflicts (code and Figma disagree = ask user)
  ✋ USER CHECKPOINT: present full plan, await explicit approval

Phase 1: FOUNDATIONS (tokens first — always before components)
  1a. Create variable collections and modes
  1b. Create primitive variables (raw values, 1 mode)
  1c. Create semantic variables (aliased to primitives, mode-aware)
  1d. Set scopes on ALL variables
  1e. Set code syntax on ALL variables
  1f. Create effect styles (shadows) and text styles (typography)
  → Exit criteria: every token from the agreed plan exists, all scopes set, all code syntax set
  ✋ USER CHECKPOINT: show variable summary, await approval

Phase 2: FILE STRUCTURE (before components)
  2a. Create page skeleton: Cover → Getting Started → Foundations → --- → Components → --- → Utilities
  2b. Create foundations documentation pages (color swatches, type specimens, spacing bars)
  → Exit criteria: all planned pages exist, foundations docs are navigable
  ✋ USER CHECKPOINT: show page list + screenshot, await approval

Phase 3: COMPONENTS (one at a time — never batch)
  For EACH component (in dependency order: atoms before molecules):
    3a. Create dedicated page
    3b. Build base component with auto-layout + full variable bindings
    3c. Create all variant combinations (combineAsVariants + grid layout)
    3d. Add component properties (TEXT, BOOLEAN, INSTANCE_SWAP)
    3e. Link properties to child nodes
    3f. Add page documentation (title, description, usage notes)
    3g. Validate: get_metadata (structure) + get_screenshot (visual)
    3h. Optional: lightweight Code Connect mapping while context is fresh
    → Exit criteria: variant count correct, all bindings verified, screenshot looks right
    ✋ USER CHECKPOINT per component: show screenshot, await approval before next component

Phase 4: INTEGRATION + QA (final pass)
  4a. Finalize all Code Connect mappings
  4b. Accessibility audit (contrast, min touch targets, focus visibility)
  4c. Naming audit (no duplicates, no unnamed nodes, consistent casing)
  4d. Unresolved bindings audit (no hardcoded fills/strokes remaining)
  4e. Final review screenshots of every page
  ✋ USER CHECKPOINT: complete sign-off

3. Critical Rules

Plugin API basics (from use_figma skill — enforced here too):

  • Use return to send data back (auto-serialized). Do NOT wrap in IIFE or call closePlugin.
  • Return ALL created/mutated node IDs in every return value
  • Page context resets each call — always await figma.setCurrentPageAsync(page) at start
  • figma.notify() throws — never use it
  • Colors are 0–1 range, not 0–255
  • Font MUST be loaded before any text write: await figma.loadFontAsync({family, style})

Design system rules:

  1. Variables BEFORE components — components bind to variables. No token = no component.
  2. Inspect before creating — run read-only use_figma to discover existing conventions. Match them.
  3. One page per component (default) — exception: tightly related families (e.g., Input + helpers) may share a page with clear section separation.
  4. Bind visual properties to variables (default) — fills, strokes, padding, radius, gap. Exceptions: intentionally fixed geometry (icon pixel-grid sizes, static dividers).
  5. Scopes on every variable — NEVER leave as ALL_SCOPES. Background: FRAME_FILL, SHAPE_FILL. Text: TEXT_FILL. Border: STROKE_COLOR. Spacing: GAP. Radii: CORNER_RADIUS. Primitives: [] (hidden).
  6. Code syntax on every variable — WEB syntax MUST use the var() wrapper: var(--color-bg-primary), not --color-bg-primary. Use the actual CSS variable name from the codebase. ANDROID/iOS do NOT use a wrapper.
  7. Alias semantics to primitives — { type: 'VARIABLE_ALIAS', id: primitiveVar.id }. Never duplicate raw values in semantic layer.
  8. Position variants after combineAsVariants — they stack at (0,0). Manually grid-layout + resize.
  9. INSTANCE_SWAP for icons — never create a variant per icon. Cap variant matrices: if Size × Style × State > 30 combinations, split into sub-component.
  10. Deterministic naming — use consistent, unique node names for idempotent cleanup and resumability. Track created node IDs via return values and the state ledger.
  11. No destructive cleanup — cleanup scripts identify nodes by name convention or returned IDs, not by guessing.
  12. Validate before proceeding — never build on unvalidated work. get_metadata after every create, get_screenshot after each component.
  13. NEVER parallelize use_figma calls — Figma state mutations must be strictly sequential. Even if your tool supports parallel calls, never run two use_figma calls simultaneously.
  14. Never hallucinate Node IDs — always read IDs from the state ledger returned by previous calls. Never reconstruct or guess an ID from memory.
  15. Use the helper scripts — embed scripts from scripts/ into your use_figma calls. Don't write 200-line inline scripts from scratch.
  16. Explicit phase approval — at each checkpoint, name the next phase explicitly. "looks good" is not approval to proceed to Phase 3 if you asked about Phase 1.

4. State Management (Required for Long Workflows)

getPluginData() / setPluginData() are NOT supported in use_figma. Use getSharedPluginData() / setSharedPluginData() instead (these ARE supported), or use name-based lookups and the state ledger (returned IDs).

Entity typeIdempotency keyHow to check existence
Scene nodes (pages, frames, components)setSharedPluginData('dsb', 'key', value) or unique namenode.getSharedPluginData('dsb', 'key') or page.findOne(n => n.name === 'Button')
VariablesName within collection(await figma.variables.getLocalVariablesAsync()).find(v => v.name === name && v.variableCollectionId === collId)
StylesNamegetLocalTextStyles().find(s => s.name === name)

Tag every created scene node immediately after creation:

javascript
node.setSharedPluginData('dsb', 'run_id', RUN_ID);        // identifies this build run
node.setSharedPluginData('dsb', 'phase', 'phase3');        // which phase created it
node.setSharedPluginData('dsb', 'key', 'component/button');// unique logical key

State persistence: Do NOT rely solely on conversation context for the state ledger. Write it to disk:

/tmp/dsb-state-{RUN_ID}.json

Re-read this file at the start of every turn. In long workflows, conversation context will be truncated — the file is the source of truth.

Maintain a state ledger tracking:

json
{
  "runId": "ds-build-2024-001",
  "phase": "phase3",
  "step": "component-button",
  "entities": {
    "collections": { "primitives": "id:...", "color": "id:..." },
    "variables": { "color/bg/primary": "id:...", "spacing/sm": "id:..." },
    "pages": { "Cover": "id:...", "Button": "id:..." },
    "components": { "Button": "id:..." }
  },
  "pendingValidations": ["Button:screenshot"],
  "completedSteps": ["phase0", "phase1", "phase2", "component-avatar"]
}

Idempotency check before every create: query by name + state ledger ID. If exists, skip or update — never duplicate.

Resume protocol: at session start or after context truncation, run a read-only use_figma to scan all pages, components, variables, and styles by name to reconstruct the {key → id} map. Then re-read the state file from disk if available.

Continuation prompt (give this to the user when resuming in a new chat):

"I'm continuing a design system build. Run ID: {RUN_ID}. Load the figma-generate-library skill and resume from the last completed step."


5. search_design_system — Reuse Decision Matrix

Search FIRST in Phase 0, then again immediately before each component creation.

search_design_system({ query, fileKey, includeComponents: true, includeVariables: true, includeStyles: true })

Reuse if all of these are true:

  • Component property API matches your needs (same variant axes, compatible types)
  • Token binding model is compatible (uses same or aliasable variables)
  • Naming conventions match the target file
  • Component is editable (not locked in a remote library you don't own)

Rebuild if any of these:

  • API incompatibility (different property names, wrong variant model)
  • Token model incompatible (hardcoded values, different variable schema)
  • Ownership issue (can't modify the library)

Wrap if visual match but API incompatible:

  • Import the library component as a nested instance inside a new wrapper component
  • Expose a clean API on the wrapper

Three-way priority: local existing → subscribed library import → create new.


Show full SKILL.md (619 more words)Show less

6. User Checkpoints

Mandatory. Design decisions require human judgment.

AfterRequired artifactsAsk
Discovery + scope lockToken list, component list, gap analysis"Here's my plan. Approve before I create anything?"
FoundationsVariable summary (N collections, M vars, K modes), style list"All tokens created. Review before file structure?"
File structurePage list + screenshot"Pages set up. Review before components?"
Each componentget_screenshot of component page"Here's [Component] with N variants. Correct?"
Each conflict (code ≠ Figma)Show both versions"Code says X, Figma has Y. Which wins?"
Final QAPer-page screenshots + audit report"Complete. Sign off?"

If user rejects: fix before moving on. Never build on rejected work.


7. Naming Conventions

Match existing file conventions. If starting fresh:

Variables (slash-separated):

color/bg/primary     color/text/secondary    color/border/default
spacing/xs  spacing/sm  spacing/md  spacing/lg  spacing/xl  spacing/2xl
radius/none  radius/sm  radius/md  radius/lg  radius/full
typography/body/font-size    typography/heading/line-height

Primitives: blue/50 → blue/900, gray/50 → gray/900

Component names: Button, Input, Card, Avatar, Badge, Checkbox, Toggle

Variant names: Property=Value, Property=Value — e.g., Size=Medium, Style=Primary, State=Default

Page separators: --- (most common) or ——— COMPONENTS ———

Full naming reference: naming-conventions.md


8. Token Architecture

ComplexityPattern
< 50 tokensSingle collection, 2 modes (Light/Dark)
50–200 tokensStandard: Primitives (1 mode) + Color semantic (Light/Dark) + Spacing (1 mode) + Typography (1 mode)
200+ tokensAdvanced: Multiple semantic collections, 4–8 modes (Light/Dark × Contrast × Brand). See M3 pattern in token-creation.md

Standard pattern (recommended starting point):

Collection: "Primitives"    modes: ["Value"]
  blue/500 = #3B82F6, gray/900 = #111827, ...

Collection: "Color"         modes: ["Light", "Dark"]
  color/bg/primary → Light: alias Primitives/white, Dark: alias Primitives/gray-900
  color/text/primary → Light: alias Primitives/gray-900, Dark: alias Primitives/white

Collection: "Spacing"       modes: ["Value"]
  spacing/xs = 4, spacing/sm = 8, spacing/md = 16, ...

9. Per-Phase Anti-Patterns

Phase 0 anti-patterns:

  • ❌ Starting to create anything before scope is locked with user
  • ❌ Ignoring existing file conventions and imposing new ones
  • ❌ Skipping search_design_system before planning component creation

Phase 1 anti-patterns:

  • ❌ Using ALL_SCOPES on any variable
  • ❌ Duplicating raw values in semantic layer instead of aliasing
  • ❌ Not setting code syntax (breaks Dev Mode and round-tripping)
  • ❌ Creating component tokens before agreeing on token taxonomy

Phase 2 anti-patterns:

  • ❌ Skipping the cover page or foundations docs
  • ❌ Putting multiple unrelated components on one page

Phase 3 anti-patterns:

  • ❌ Creating components before foundations exist
  • ❌ Hardcoding any fill/stroke/spacing/radius value in a component
  • ❌ Creating a variant per icon (use INSTANCE_SWAP instead)
  • ❌ Not positioning variants after combineAsVariants (they all stack at 0,0)
  • ❌ Building variant matrix > 30 without splitting (variant explosion)
  • ❌ Importing remote components then immediately detaching them

General anti-patterns:

  • ❌ Retrying a failed script without understanding the error first
  • ❌ Using name-prefix matching for cleanup (deletes user-owned nodes)
  • ❌ Building on unvalidated work from the previous step
  • ❌ Skipping user checkpoints to "save time"
  • ❌ Parallelizing use_figma calls (always sequential)
  • ❌ Guessing/hallucinating node IDs from memory (always read from state ledger)
  • ❌ Writing massive inline scripts instead of using the provided helper scripts
  • ❌ Starting Phase 3 because the user said "build the button" without completing Phases 0-2

10. Reference Docs

Load on demand — each reference is authoritative for its phase:

Use your file reading tool to read these docs when needed. Do not assume their contents from the filename.

DocPhaseRequired / OptionalLoad when
discovery-phase.md0RequiredStarting any build — codebase analysis + Figma inspection
token-creation.md1RequiredCreating variables, collections, modes, styles
documentation-creation.md2RequiredCreating cover page, foundations docs, swatches
component-creation.md3RequiredCreating any component or variant
code-connect-setup.md3–4RequiredSetting up Code Connect or variable code syntax
naming-conventions.mdAnyOptionalNaming anything — variables, pages, variants, styles
error-recovery.mdAnyRequired on errorScript fails, multi-step workflow recovery, cleanup of abandoned workflow state

11. Scripts

Reusable Plugin API helper functions. Embed in use_figma calls:

ScriptPurpose
inspectFileStructure.jsDiscover all pages, components, variables, styles; returns full inventory
createVariableCollection.jsCreate a named collection with modes; returns {collectionId, modeIds}
createSemanticTokens.jsCreate aliased semantic variables from a token map
createComponentWithVariants.jsBuild a component set from a variant matrix; handles grid layout
bindVariablesToComponent.jsBind design tokens to all component visual properties
createDocumentationPage.jsCreate a page with title + description + section structure
validateCreation.jsVerify created nodes match expected counts, names, structure
cleanupOrphans.jsRemove orphaned nodes by name convention or state ledger IDs
rehydrateState.jsScan file for all pages, components, variables by name; returns full {key → nodeId} map for state reconstruction

© warpdotdev, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 16 other files (scripts, references) in resources/bundled/mcp_skills/figma/figma-generate-library of warpdotdev/warp.

  • SKILL.md
  • references/code-connect-setup.md
  • references/component-creation.md
  • references/discovery-phase.md
  • references/documentation-creation.md
  • references/error-recovery.md
  • references/naming-conventions.md
  • references/token-creation.md
  • scripts/bindVariablesToComponent.js
  • scripts/cleanupOrphans.js
  • scripts/createComponentWithVariants.js
  • scripts/createDocumentationPage.js
  • scripts/createSemanticTokens.js
  • scripts/createVariableCollection.js
  • scripts/inspectFileStructure.js
  • scripts/rehydrateState.js
  • scripts/validateCreation.js

Open the folder on GitHubat commit f571865

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in warpdotdev/warp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Figma Design System Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Figma Design System Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Figma Design System Builder this skillwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Material Design 3 UI/UX Guideskydashnet/material-design-3-ui-skill130—~3kAutomated safety check: PassMIT
Qt Figma Token ExtractionTheQtCompanyRnD/agent-skills459—~7.3kAutomated safety check: PassBSD-3-Clause
Suede DesignJasonColapietro/suede-creator-skills127—~5.4kAutomated safety check: PassMIT
Design System Generatemohitagw15856/pm-claude-skills1.4k—~1.7kAutomated safety check: PassMIT
Scalar Design Systemscalar/scalar16k—~2.7kAutomated safety check: PassMIT

Similar skills

  • Material Design 3 UI/UX Guide

    skydashnet/material-design-3-ui-skill

    Guides designing, reviewing or implementing interfaces that follow Google's Material Design 3 system: semantic tokens, component states, adaptive layout and accessibility.

    130 GitHub stars~3k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Qt Figma Token Extraction

    TheQtCompanyRnD/agent-skills

    Extract design tokens, text styles, and variables from a Figma design system and produce a design-tokens.json plus ready-to-use QML singletons.

    459 GitHub stars~7.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Suede Design

    JasonColapietro/suede-creator-skills

    Suede AI design skill for making an interface feel intentional instead of templated: design tokens, color strategy, OKLCH ramps, type scale, fluid type, visual hierarchy, dark mode, spacing…

    127 GitHub stars~5.4k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Design System Generate

    mohitagw15856/pm-claude-skills

    Generate a complete, accessibility-checked design system from scratch — colour ramps, type scale, spacing, elevation, and exports for CSS, Tailwind, design tokens, Figma, VS Code and PowerPoint.

    1.4k GitHub stars~1.7k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.

    16k GitHub stars~2.7k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Extract Design

    Manavarya09/design-extract

    Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.

    4.2k GitHub stars~786 tokensUpdated 8 days ago
    Frontend & DesignAuto-check: notes

More from warpdotdev/warp

All 46 skills in this repo
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Auto-check passed
  • Warp Factory Files

    warpdotdev/warp

    Authors and edits file-based Warp software factory definitions rooted at factory.yaml, covering agents, automations, scorers and webhooks, and validates them before a pull request.

    65k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Figma Design to Code

    warpdotdev/warp

    Turns a Figma frame or component into production code that matches the design, using the Figma MCP server and the project's own design system.

    65k GitHub starsUsed in 4 repos~2.9k tokens
    Auto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Creates project-specific design system rules from your codebase so coding agents implement Figma designs with your components, naming and tokens.

    65k GitHub starsUsed in 3 repos~4.6k tokens
    Auto-check passed
  • Maps published Figma components to their code implementations with Code Connect, using the Figma MCP suggestion and mapping tools.

    65k GitHub starsUsed in 2 repos~4.2k tokens
    Auto-check passed

Works with

Questions about Figma Design System Builder

What does Figma Design System Builder do?

Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints. This skill supplies the domain knowledge and order of work for design systems in Figma, and it must be used alongside the `figma-use` skill, which covers the Plugin API syntax for each `use_figma` call. It is never a one-shot task: a build takes 20 to 100 or more calls across phases, with mandatory user checkpoints, and anything done in a single call risks broken or unrecoverable results.

When should I use Figma Design System Builder?

Figma Design System Builder fits situations like: creating Figma variables and tokens from a codebase's design tokens; building a component library in Figma that matches the code; setting up light and dark theming in a Figma file; reconciling gaps between code components and Figma.

How do I install Figma Design System Builder in Claude Code?

Run `npx skills add warpdotdev/warp --skill figma-generate-library -a claude-code`. Or copy the skill folder (resources/bundled/mcp_skills/figma/figma-generate-library in warpdotdev/warp) into .claude/skills/figma-generate-library in your project. Claude Code loads it when a task matches its description.

How do I install Figma Design System Builder in Codex?

Run `npx skills add warpdotdev/warp --skill figma-generate-library -a codex`. Or copy the skill folder (resources/bundled/mcp_skills/figma/figma-generate-library in warpdotdev/warp) into .agents/skills/figma-generate-library in your project. Codex loads it when a task matches its description.

Can I use Figma Design System Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add warpdotdev/warp --skill figma-generate-library -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/figma-generate-library, .gemini/skills/figma-generate-library, .github/skills/figma-generate-library and .opencode/skills/figma-generate-library in your project.

What does Figma Design System Builder need to run?

Going by SKILL.md and its folder, Figma Design System Builder needs JavaScript for the scripts in its folder. Our summary lists: A Figma file and the Figma MCP `use_figma` tool; The `figma-use` skill loaded alongside this one.

Does Figma Design System Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Figma Design System Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Figma Design System Builder use?

Figma Design System Builder is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Figma Design System Builder use?

About 4.4k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 44k tokens, read only when the agent opens those files.

What are the alternatives to Figma Design System Builder?

Skills that share tags, products or a category with Figma Design System Builder: Material Design 3 UI/UX Guide (skydashnet/material-design-3-ui-skill, 130 stars), Qt Figma Token Extraction (TheQtCompanyRnD/agent-skills, 459 stars), Suede Design (JasonColapietro/suede-creator-skills, 127 stars) and Design System Generate (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Figma Design System Builder?

warpdotdev (a GitHub organization) maintains it in warpdotdev/warp, which has 65,380 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 7, 2026.

Source: warpdotdev/warp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.