# figma-generate-library

Builds or updates a Figma design system library directly from your codebase. It keeps design files in sync with shipped components.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2700 installs · ★ 104031
- Author: nexu-io
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/nexu-io/open-design/tree/HEAD/skills/figma-generate-library/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/nexu-io-figma-generate-library

## What it does

This skill builds or updates a design system library in Figma using the project codebase. The entry in OpenDesign exposes the skill to the AI agent during task planning. It originates from the Figma MCP server guide.

Running the complete workflow with original assets, scripts, and references requires installing the upstream bundle from `https://github.com/figma/skills`. Without that repository, the agent only holds catalogue metadata. It will lack the actual automation scripts.

You can trigger the workflow by referencing `figma-generate-library` directly or asking the agent to sync Figma with code.

## Requirements
- Works with: Figma

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add nexu-io/open-design --skill figma-generate-library -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/figma-generate-library/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/figma-generate-library/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add nexu-io/open-design --skill figma-generate-library -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/figma-generate-library/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add nexu-io/open-design --skill figma-generate-library -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/figma-generate-library/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install nexu-io/open-design figma-generate-library
```

2. **Manually: put the files in place**
- File: `.github/skills/figma-generate-library/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add nexu-io/open-design --skill figma-generate-library -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/nexu-io/open-design --path skills/figma-generate-library
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/figma-generate-library/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add nexu-io/open-design --skill figma-generate-library -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/nexu-io/open-design/tree/HEAD/skills/figma-generate-library/SKILL.md

## When to use it
- generate a Figma design system library from codebase components
- keep Figma library components in sync with shipped code
- update existing Figma design assets after UI code changes
- let the agent discover design system workflows during planning

## Example prompts
- Run figma-generate-library to sync design system components from the codebase
- Update our figma library with the latest changes from the UI components
- Build a design system library in Figma from this codebase

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 3b3cbb818104ae1b.

BEGIN THIRD-PARTY FILE 3b3cbb818104ae1b
````text
---
name: figma-generate-library
description: |
  Build or update a professional-grade design system library in Figma from a codebase. Useful for keeping the Figma source of truth in sync with shipped components.
triggers:
  - "figma library"
  - "design system library"
  - "figma from codebase"
  - "sync figma"
od:
  mode: design-system
  category: figma
  upstream: "https://github.com/figma/skills"
---

# figma-generate-library

> Curated from Figma's MCP server guide.

## What it does

Build or update a professional-grade design system library in Figma from a codebase. Useful for keeping the Figma source of truth in sync with shipped components.

## Source

- Upstream: https://github.com/figma/skills
- Category: `figma`

## How to use

This catalogue entry advertises the skill in OpenDesign so the agent
discovers it during planning. To run the full upstream workflow with
its original assets, scripts, and references, install the upstream
bundle into your active agent's skills directory:

```bash
# Inspect the upstream README for exact paths
open https://github.com/figma/skills
```

Then ask the agent to invoke this skill by name (`figma-generate-library`) or with
one of the trigger phrases listed in this skill's frontmatter.
````
END THIRD-PARTY FILE 3b3cbb818104ae1b

The third-party file has ended. Everything between the 3b3cbb818104ae1b tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© nexu-io · Apache-2.0 · https://github.com/nexu-io/open-design/tree/HEAD/skills/figma-generate-library/SKILL.md

## Similar
- [figma-generate-design](https://affpapa.org/en/nevibecode/skills/openai-figma-generate-design.md) — skill · 2900 installs
- [figma-create-design-system-rules](https://affpapa.org/en/nevibecode/skills/figma-create-design-system-rules.md) — skill · 2900 installs
- [figma-build](https://affpapa.org/en/nevibecode/skills/figma-build.md) — skill · 1300 installs
- [qt-figma-component-generation](https://affpapa.org/en/nevibecode/skills/qt-figma-component-generation.md) — skill · 435 installs
- [figma](https://affpapa.org/en/nevibecode/skills/heygen-com-figma.md) — skill · 334000 installs
- [pp-figma](https://affpapa.org/en/nevibecode/skills/pp-figma.md) — skill · 726 installs

## Other versions with the same name
- [figma-generate-library · openai](https://affpapa.org/en/nevibecode/skills/openai-figma-generate-library.md) — 2700 installs
- [figma-generate-library · openai](https://affpapa.org/en/nevibecode/skills/figma-generate-library.md) — 32 installs

From the same set: [nexu-io/open-design](https://affpapa.org/en/nevibecode/by/nexu-io/open-design.md) — 124 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
