Skip to main content

figma-generate-library

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.

OpenAICuratedCustom

When figma-generate-library runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /figma-generate-library in Claude Code or $figma-generate-library in Codex.

The description says when to use 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.

Install figma-generate-library

Claude Code

Copy the figma-generate-library folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/openai/skills.git /tmp/openai-skills
mkdir -p .claude/skills
cp -r /tmp/openai-skills/skills/.curated/figma-generate-library .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if figma-generate-library does not appear.

git clone --depth 1 https://github.com/openai/skills.git /tmp/openai-skills
mkdir -p .agents/skills
cp -r /tmp/openai-skills/skills/.curated/figma-generate-library .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for figma-generate-library and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

figma-generate-library ships 23 files, 231.7 KB in total. Select a file to load it from GitHub.

SKILL.md17.4 KBView on GitHub ↗

All skills by OpenAI