# Implement figma design

> Implement figma design is an open-source agent skill for developer tools. Builds a UI screen from a prepared Figma design pack and checks it against the spec. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/pixiv/charcoal/tree/main/skills/implement-figma-design
- **Repository:** https://github.com/pixiv/charcoal
- **GitHub stars:** 380
- **License:** Apache-2.0
- **Skill name:** implement-figma-design
- **Collection:** https://github.com/pixiv/charcoal
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through turning a prepared design pack (a design.md, a spec.json and an assets folder) into a working screen, without needing Figma access, a token or a Dev Mode seat. It explains how to read the pack's nested element lines, map design tokens to the design system's variables, and choose the right color role based on the surface an element sits on. Gradients and patterns that the pack cannot express as values are to be copied from the design itself.

The workflow centers on a verification loop. The agent builds the frame tree from the outside in, then runs a bundled Node script, check-design.mjs, against the running app. The script compares rendered output with the spec and reports mismatches, outermost first, and first confirms that the design system's variables resolve. It writes nothing and communicates only through stdout and its exit code. It needs Playwright installed in the project being checked.

The skill expects a running local app to check against, Node.js, and Playwright. If no pack exists yet, it points to a companion skill, prepare-figma-design, which builds one from a figma.com link using a read-only token. The skill does not map components to a library or define behavior or hover states; those remain the implementer's decisions.

## When your agent uses it

> Use when building a screen from a prepared Figma design pack — a design.md, a spec.json and an assets/ directory produced by prepare-figma-design — and when checking that what you built matches it. Needs no Figma access, no token and no Dev Mode seat. If there is no pack yet, prepare-figma-design makes one from a figma.com link.

## What it can access

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

- [Runs JavaScript scripts](https://github.com/pixiv/charcoal/tree/HEAD/skills/implement-figma-design)
- [No network calls found in its scripts](https://github.com/pixiv/charcoal/tree/HEAD/skills/implement-figma-design)
- [License: Apache-2.0](https://github.com/pixiv/charcoal/tree/HEAD/skills/implement-figma-design)

## Features

- **Design pack reading:** Explains how to interpret the element lines, token references, and literal values in a design pack.
- **Color role selection:** Guides choosing the correct text or surface color role based on the underlying surface.
- **Rendered spec check:** Runs check-design.mjs against a running app to report where output differs from the spec.
- **Token resolution check:** Verifies first that design system variables resolve, since unresolved tokens distort every element.
- **Gradient handling guidance:** Directs the agent to copy unrepresentable gradients and patterns from the original design.
- **Pack scope limits:** Clarifies what the pack omits, such as component mapping, non-default states, and behavior.

## Good for

- Build a settings screen from a design pack exported from Figma
- Check whether a rendered page matches its design spec
- Map a Figma button instance to the matching design system variables
- Find out why a screen renders without its design tokens applied

## Install

### Claude Code

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

```sh
/plugin marketplace add pixiv/charcoal
/plugin install charcoal@charcoal
```

Or copy only this skill to `~/.claude/skills/implement-figma-design`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/implement-figma-design &&
cp -R "$tmp/skills/implement-figma-design" ~/.claude/skills/implement-figma-design &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/implement-figma-design` inside it instead.

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/implement-figma-design &&
cp -R "$tmp/skills/implement-figma-design" ~/.agents/skills/implement-figma-design &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/implement-figma-design` inside it instead.

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/implement-figma-design &&
cp -R "$tmp/skills/implement-figma-design" ~/.cursor/skills/implement-figma-design &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/implement-figma-design` 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/pixiv/charcoal.git --path skills/implement-figma-design
```

Or copy the folder to `~/.gemini/skills/implement-figma-design` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/implement-figma-design &&
cp -R "$tmp/skills/implement-figma-design" ~/.copilot/skills/implement-figma-design &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/implement-figma-design` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/pixiv/charcoal.git
```

Then copy `charcoal/skills/implement-figma-design` into your agent's skills folder as `implement-figma-design`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Implement figma design need Figma access or a token?

No. It works from the design pack files alone, without Figma access, a token or a Dev Mode seat. A pack itself is made by the prepare-figma-design skill from a figma.com link using a read-only token.

### What does check-design.mjs need to run?

It needs a running app at a URL passed with --url, the spec file, and playwright installed in the project being checked. Without playwright it declines to run.

### Does the check modify any files?

No. check-design.mjs writes nothing; findings go to stdout and the exit code indicates the result.

### Which themes are supported?

The pack does not record which theme was used. The skill notes that dark and light themes use different token names for the same design, so the user may need to be asked.

### How do I install Implement figma design in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/implement-figma-design to use it in all your projects, or to .claude/skills/implement-figma-design in one project. Or install the charcoal plugin, which includes it: /plugin marketplace add pixiv/charcoal, then /plugin install charcoal@charcoal.

### Does Implement figma design run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its 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 Implement figma design?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Implement figma design?

The closest alternatives to Implement figma design are Figma implement design, Prepare figma design, Figma implement design, Figma use and Figma generate library.

## Where this comes from

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

## Alternatives

- [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.
- [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 implement design](https://ai-powered.com/skills/figma-implement-design): Figma implement design is a free agent skill for design and media.
- [Figma use](https://ai-powered.com/skills/figma-use): Figma use is a free agent skill for design and media.
- [Figma generate library](https://ai-powered.com/skills/figma-generate-library): Figma generate library is a free agent skill for design and media.
- [Figma](https://ai-powered.com/skills/figma-openai): Figma is a free agent skill for design and media.
- [Design kit](https://ai-powered.com/skills/design-kit): Design kit is an open-source agent skill for design and media.
- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/implement-figma-design
