Design & FrontendOfficial · openai

Figma Generate Library skill for Claude

Build or update a professional-grade design system in Figma from a codebase.

When Claude uses it

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.

Figma Generate Library SKILL.md

A preview of the skill file from openai/skills.

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

Read the full SKILL.md on GitHub →

How to install Figma Generate Library

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit openai/skills/skills/.curated/figma-generate-library#main ~/.claude/skills/figma-generate-library

Codex

npx degit openai/skills/skills/.curated/figma-generate-library#main ~/.codex/skills/figma-generate-library

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Figma Generate Library skill do?

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.

+How do I install Figma Generate Library in Claude Code?

Copy the skill folder into ~/.claude/skills/figma-generate-library, for example with "npx degit openai/skills/skills/.curated/figma-generate-library#main ~/.claude/skills/figma-generate-library". Claude Code loads it automatically and uses it when a task matches.

+Does Figma Generate Library work with ChatGPT or Codex?

Yes. Figma Generate Library uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/figma-generate-library. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Figma Generate Library free?

Figma Generate Library is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Figma Implement Design

    Official

    Translates Figma designs into production-ready application code with 1:1 visual fidelity.

    openai/skills★ 29k
  5. Hatch Pet

    Official

    Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated…

    openai/skills★ 29k
  6. Imagegen

    Official

    Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites,…

    openai/skills★ 29k
  7. Winui App

    Official

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI…

    openai/skills★ 29k
  8. Design Md

    Official

    Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files

    google-labs-code/stitch-skills★ 10k
  9. React Vite Dashboard

    Official

    Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready…

    google-labs-code/stitch-skills★ 10k

See all design & frontend skills →

More skills from openai

  1. Gh Address Comments

    Official

    Help address review/issue comments on the open GitHub PR for the current branch using gh CLI;

    openai/skills★ 29k
  2. Gh Fix Ci

    Official

    Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions;

    openai/skills★ 29k

All skills by openai →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.