O

figma-generate-library

by openai

figma-generate-library helps turn a codebase into a Figma design system library with tokens, variables, components, theming, and documentation. Use the figma-generate-library skill when you need a phased workflow for Design Systems work, including install, setup, discovery, creation, validation, and reconciliation with code.

Stars0
Favorites0
Comments0
AddedMay 8, 2026
CategoryDesign Systems
Install Command
npx skills add openai/skills --skill figma-generate-library
Curation Score

This skill scores 84/100, which means it is a solid directory listing for users who want a Figma design-system workflow rather than a generic prompt. The repository shows a real multi-phase orchestration skill with explicit trigger guidance, supporting references, and executable scripts, so install value is clear even though it depends on a companion skill and a Figma MCP setup.

84/100
Strengths
  • Explicit use case and trigger: build or update Figma design systems, tokens, components, theming, and documentation.
  • Strong operational scaffolding: 9 scripts plus 7 references cover component creation, tokens, documentation, error recovery, and validation.
  • Clear agent leverage: the SKILL.md warns this is multi-phase, pairs it with figma-use, and instructs passing skillNames for logging.
Cautions
  • Requires the separate figma-use skill for every use_figma call, so it is not self-contained.
  • No install command in SKILL.md, so users need to already understand or have access to the Figma MCP environment.
Overview

Overview of figma-generate-library skill

What figma-generate-library does

figma-generate-library is a Figma design system orchestration skill for turning a codebase into a structured library in Figma. It is built for teams that need tokens, variables, component sets, theming, and documentation to line up with production code instead of being hand-authored from scratch.

Who should use it

Use the figma-generate-library skill if you are building or refreshing a design system for product design, frontend engineering, or design ops. It fits best when the goal is to create a reusable Figma library from existing source patterns, not to sketch one-off screens.

Why it is different

The skill is opinionated about order and dependencies: it is meant to guide a multi-step library build, not a single prompt response. That matters for Design Systems work because tokens, variables, components, and docs often fail when generated out of sequence or without validation checkpoints.

How to Use figma-generate-library skill

Install and load the right companion skill

For figma-generate-library install, add the skill through the OpenAI skills package and load figma-use alongside it before making any Figma tool calls. This skill decides what to build and in what order; figma-use provides the Plugin API calling rules needed to execute each use_figma step correctly.

Start from the repo files that control workflow

Read SKILL.md first, then check references/discovery-phase.md, references/token-creation.md, references/component-creation.md, and references/documentation-creation.md. If your repo has unusual naming or recovery needs, also inspect references/naming-conventions.md and references/error-recovery.md. These files matter because the skill is designed around phased execution, validation, and cleanup, not a flat script.

Turn a rough request into a usable prompt

The best figma-generate-library usage starts with a scoped request like: “Build a light/dark token system and Button, Input, and Card components from src/ui, matching our existing spacing and color scales.” Avoid vague prompts such as “make our design system better.” The skill performs better when you provide framework, target surfaces, theme scope, and whether you want generation, reconciliation, or cleanup.

Use a phased workflow, not a one-pass request

A practical figma-generate-library guide is to ask for discovery first, then token mapping, then component creation, then docs, then validation. This matches the repo’s structure and reduces rework when code-Figma mismatches appear. If you skip discovery, you usually lose time later fixing naming, variable scope, or component dependencies.

figma-generate-library skill FAQ

Is figma-generate-library for Design Systems only?

Yes, that is the primary fit. figma-generate-library for Design Systems is strongest when you need a library architecture: semantic tokens, variables, published components, and supporting documentation. It is not the right tool for quick mockups or isolated marketing frames.

Do I need to know Figma deeply first?

No, but you do need to know your source code and design intent well enough to answer concrete questions. Beginners can use the figma-generate-library skill, but they should expect to review decisions about naming, variant structure, and theming rather than accept a fully automatic build.

How is this different from a normal prompt?

A normal prompt usually asks for an output. figma-generate-library is closer to a build process: it expects staged work, verification, and correction. That makes it more reliable for library creation, especially when the codebase is large or the design system has multiple modes and dependencies.

When should I not use it?

Do not use it if you only need a few ad hoc frames, if the codebase has no stable UI patterns, or if you cannot review and approve multi-step changes. In those cases, a simpler prompt or a smaller Figma task is faster and less risky.

How to Improve figma-generate-library skill

Give stronger source material up front

The figma-generate-library skill produces better results when you supply the actual design inputs it can map: component source paths, token files, theme names, and any naming rules already in use. A request like “Use src/tokens, Button.tsx, and Card.tsx; keep light and dark modes; preserve ds- prefixes” is much more actionable than a broad library refresh request.

State what matters most for acceptance

Tell the skill what would make the output usable for your team: matching code names, reducing variant explosion, supporting code connect, or documenting foundations for handoff. This helps it prioritize tradeoffs instead of optimizing only for visual completeness.

Watch for the common failure modes

The biggest risks are overbuilding, skipping dependency order, and mixing semantic tokens with component-level details. If the first pass feels too broad, ask it to narrow scope, separate foundations from components, or re-run discovery before generating more nodes.

Iterate with validation, not reinvention

After the first output, ask for targeted changes such as “rename to match our token convention,” “collapse redundant variants,” or “add documentation for spacing and color semantics.” That is usually more effective than restarting, because the skill is already structured to preserve state and continue from prior decisions.

Ratings & Reviews

No ratings yet
Share your review
Sign in to leave a rating and comment for this skill.
G
0/10000
Latest reviews
Saving...