openai/figma-generate-library
Build or update a professional-grade design system in Figma from a codebase
by openaiFree
Description
figma-generate-library is an agent skill from OpenAI's curated skills collection that guides an assistant through building or updating a complete design system in Figma from a codebase. It covers the whole workflow: extracting design tokens, creating variable collections with light and dark mode support, building component libraries with proper variant matrices, and keeping code and Figma in sync. It works alongside the figma-use skill, which handles the Plugin API calls. A manual build of a design system across dozens or hundreds of operations is error-prone and hard to resume, so the skill enforces a phased workflow with checkpoints, state tracking and idempotency rules, which prevent the structural failures that come from unstructured work. Typical uses include generating Figma variable collections from the CSS custom properties in a codebase, building a component library page with typed variants and auto-layout, setting up light and dark mode semantic tokens tied to primitive values, auditing a Figma file for hard-coded fills and replacing them with variable bindings, and reconciling token naming between a design file and production code. It suits teams that want their design file and their code to share one source of tokens. Because the build changes a Figma file at scale, run it on a copy first and review the checkpoints it reports. The skill is listed on officialskills.sh and installs from the openai/skills repository. Install it with npx skills add https://github.com/openai/skills --skill figma-generate-library.…
Highlights
- Extracts tokens and builds variable collections with light and dark modes
- Component libraries with typed variants and auto-layout
- Phased workflow with checkpoints and state tracking
- Audits hard-coded fills and replaces them with variable bindings
Ratings & Reviews
No ratings yet
Be the first to rate openai/figma-generate-library.
People also visit

figma-generate-library
Build or update a professional-grade design system library in Figma
openai/figma-generate-design
Translate app pages and layouts into Figma using design system tokens
openai/figma-create-design-system-rules
Rules for implementing Figma designs using the Figma MCP server

figma-code-connect-components
Connect Figma design components to code components using Code Connect
openai/figma-implement-design
Translate Figma designs into production-ready code with 1:1 visual fidelity

figma-create-design-system-rules
Generate project-specific design system rules for Figma-to-code workflows
openai/figma-generate-library FAQ
What does it build?
Variable collections and tokens, light and dark mode semantic aliases, and component libraries with variant matrices.
How is a large build kept on track?
A phased workflow with checkpoints, state tracking and idempotency rules.
Should I try it on a copy?
Yes. The build changes a Figma file at scale, so run it on a copy first and review the checkpoints.
How do I install it?
Run npx skills add https://github.com/openai/skills --skill figma-generate-library.
What are the best openai/figma-generate-library alternatives?
Popular alternatives to openai/figma-generate-library include figma-generate-library, openai/figma-generate-design and openai/figma-create-design-system-rules. See all openai/figma-generate-library alternatives






