Skip to content
Skill

Implement figma design

Builds a UI screen from a prepared Figma design pack and checks it against the spec

Implement figma design is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
380
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Implement figma design

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.

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 2 files (17 KB) on GitHub on 3 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 charcoal plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

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/pixiv/charcoal.git --path skills/implement-figma-design

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Implement figma design 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.

More from pixiv/charcoal

  1. Guides agents to pick and correctly set up pixiv's charcoal-ui styling routes

    • Open source
    • 380 GitHub stars
    • Developer tools
  2. Guides agents to pick the correct Charcoal design tokens instead of hardcoded values

    • Open source
    • 380 GitHub stars
    • Developer tools
  3. Turns a Figma design or .fig export into structured files an agent can build from

    • Open source
    • 380 GitHub stars
    • Design and media
  4. Guides wiring charcoal design tokens into an existing styled-components codebase

    • Open source
    • 380 GitHub stars
    • Developer tools