Back to skills

figma-generate-library

design

Guides an AI agent through building a complete Figma design system from a codebase. Covers the full workflow: extracting design tokens, creating variable collections with light/dark mode support, buil

Setup & Installation

npx skills add https://github.com/openai/figma-generate-library --skill figma-generate-library
or paste the link and ask your coding assistant to install it
https://github.com/openai/figma-generate-library
View on GitHub

What This Skill Does

Guides an AI agent through building a complete Figma design system from a codebase. Covers the full workflow: extracting design tokens, creating variable collections with light/dark mode support, building component libraries with proper variant matrices, and keeping code and Figma in sync. Works alongside the figma-use skill, which handles the actual Plugin API calls. Manually building a design system in Figma across 20-100+ operations is error-prone and hard to resume — this skill enforces a phased workflow with checkpoints, state tracking, and idempotency rules that prevent the structural failures common in unstructured approaches.

When to use it

  • Working with figma generate library functionality
  • Implementing figma generate library features
  • Debugging figma generate library related issues