# Build figma library

> Build figma library is an open-source agent skill for design and media. Builds Figma token and component libraries that another agent can reuse. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/superhero-tech/superhero-skills/tree/main/plugins/product-discovery/skills/product-design/build-figma-library
- **Repository:** https://github.com/superhero-tech/superhero-skills
- **GitHub stars:** 313
- **License:** MIT
- **Skill name:** build-figma-library
- **Collection:** https://github.com/superhero-tech/superhero-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/superhero-tech/superhero-skills/tree/HEAD/plugins/product-discovery/skills/product-design/build-figma-library)
- [License: MIT](https://github.com/superhero-tech/superhero-skills/tree/HEAD/plugins/product-discovery/skills/product-design/build-figma-library)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Figma generate library](https://ai-powered.com/skills/figma-generate-library): Figma generate library is a free agent skill for design and media.
- [Figma implement design](https://ai-powered.com/skills/figma-implement-design-mtarcure): Figma implement design is an open-source agent skill for design and media.
- [Figma build UI](https://ai-powered.com/skills/figma-build-ui): Figma build UI is an open-source agent skill for design and media.
- [Prepare figma design](https://ai-powered.com/skills/prepare-figma-design): Prepare figma design is an open-source agent skill for design and media.
- [Figma design system](https://ai-powered.com/skills/figma-design-system): Figma design system is an open-source agent skill for design and media.
- [Figma generate design](https://ai-powered.com/skills/figma-generate-design): Figma generate design is a free agent skill for design and media.
- [Figma from code](https://ai-powered.com/skills/figma-from-code): Figma from code is an open-source agent skill for design and media.
- [Figma handoff](https://ai-powered.com/skills/figma-handoff): Figma handoff is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/build-figma-library
