Skip to content
Skill

Build figma library

Builds Figma token and component libraries that another agent can reuse

Build figma library is an open-source agent skill for design and media. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
313
Last commit
License
MIT
Listing updated

Similar skills

About Build figma library

This skill guides an agent through building or extending a Figma design library from product documentation, source code, or an existing interface. The work produces native Figma Variables, styles and components, and then checks that the result is usable by someone else rather than only looking complete on a board.

The workflow starts by fixing the task contract: which sources take precedence, which file is the destination, the product scope, and whether the library is local or shared across files. It then builds foundations, component families with properties and variants, and a representative composed view made from instances. A handoff guide records asset links, IDs and open decisions, and publishing is covered when reuse spans files.

Execution is delegated to other Figma skills in the installed plugin, such as figma-generate-library, figma-use and figma-code-connect, so the skill itself focuses on scope, validation and evidence. It expects access to a Figma file, the product sources, and those companion Figma skills. It also references supporting documents for the source contract, acceptance criteria and a reusable prompt.

When your agent uses it

Build or extend a Figma token and component library from product documentation, code, or an existing UI. Prepare it for another agent by checking component properties, composition examples, and handoff, including publishing when reuse spans files. Use for reconstructing design systems and making libraries reusable; screen-only design and documentation of existing components have separate workflows.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (22 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the product-discovery plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add superhero-tech/superhero-skills
/plugin install product-discovery@superhero-skills

Or copy only this skill to ~/.claude/skills/build-figma-library:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/build-figma-library &&
cp -R "$tmp/plugins/product-discovery/skills/product-design/build-figma-library" ~/.claude/skills/build-figma-library &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/build-figma-library inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/build-figma-library to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/build-figma-library &&
cp -R "$tmp/plugins/product-discovery/skills/product-design/build-figma-library" ~/.agents/skills/build-figma-library &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/build-figma-library inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/build-figma-library to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/build-figma-library &&
cp -R "$tmp/plugins/product-discovery/skills/product-design/build-figma-library" ~/.cursor/skills/build-figma-library &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/build-figma-library inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/superhero-tech/superhero-skills.git --path plugins/product-discovery/skills/product-design/build-figma-library

Or copy the folder to ~/.gemini/skills/build-figma-library yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/build-figma-library:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/build-figma-library &&
cp -R "$tmp/plugins/product-discovery/skills/product-design/build-figma-library" ~/.copilot/skills/build-figma-library &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/build-figma-library inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git

Then copy superhero-skills/plugins/product-discovery/skills/product-design/build-figma-library into your agent's skills folder as build-figma-library. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Token and style foundations
Covers Variables, aliases, modes, text styles and effect styles drawn from the source values.
Reusable component families
Builds components with Auto Layout, shared styles and properties for text, booleans and instance swaps.
Composition examples
Adds a full view built from instances to show container, grid and spacing rules.
Handoff guide
Documents component selection, variants and layout so another agent can use the library without this conversation.
Cross-file publishing
Covers publishing components, styles and variable collections and testing them in a consuming file.
Evidence-based readiness
Separates locally ready, published and cross-file verified stages in the final report.

Good for

  • Turn a product's documentation into a Figma token and component library
  • Extend an existing Figma design system with a new component family
  • Reconstruct a design system from the code of an existing UI
  • Prepare a shared Figma library for other files and designers
  • Create a handoff guide so an agent can compose screens from the library

Build figma library FAQ

Which Figma skills does Build figma library depend on?

It delegates execution to figma-generate-library, figma-use, figma-generate-design, figma-create-new-file, figma-design-to-code and figma-code-connect, which must be available in the installed Figma plugin.

Does Build figma library cover screen-only design?

No. The description states that screen-only design and documentation of existing components are separate workflows.

Does Build figma library publish the library automatically?

Publishing is part of the workflow only when reuse spans files, and it is done within the task's authorization and existing access.

Are scripts included?

No scripts are included; the skill relies on the Figma plugin's skills and API rules.

How do I install Build figma library in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/build-figma-library to use it in all your projects, or to .claude/skills/build-figma-library in one project. Or install the product-discovery plugin, which includes it: /plugin marketplace add superhero-tech/superhero-skills, then /plugin install product-discovery@superhero-skills.

Does Build figma library run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Build figma library?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Build figma library?

The closest alternatives to Build figma library are Figma generate library, Figma implement design, Figma build UI, Prepare figma design and Figma design system.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from superhero-tech/superhero-skills

  1. Guides a web app or API team through pre-release checks and builds an offline HTML

    • Open source
    • 313 GitHub stars
    • Developer tools
  2. Extracts a website's rendered visual style into an evidence-backed DESIGN.md

    • Open source
    • 313 GitHub stars
    • Design and media
  3. Builds screens with poster-style outlines, paper surfaces and hand-drawn people

    • Open source
    • 313 GitHub stars
    • Design and media
  4. Guides an agent through a landing page brief, art direction, and visual build

    • Open source
    • 313 GitHub stars
    • Developer tools
  5. Researches live websites to build a visual direction and HTML moodboard for a design

    • Open source
    • 313 GitHub stars
    • Design and media