figma2proto

figma2proto is a skill for Claude Code, Codex from pillip/claude-dev-kit. It costs 43 tokens per session (2,587 once invoked), scanned A, original, MIT.

A workflow that reads an existing Figma design and turns it into a complete design handoff: prototype HTML, design system, design guidance, interaction details, and a copy guide.

In plain words
What is it for?
Use it to document and prototype an existing web, mobile, or desktop design, including its visual rules, interactions, and written interface text.
Why use it?
It gives developers and designers a shared set of implementation references instead of leaving the design contained only in Figma.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claude-dev-kit plugin — 23 skills, 33 agents, 9 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/pillip/claude-dev-kit/figma2proto
Any agent
npx skills add pillip/claude-dev-kit --skill figma2proto
Clone the repo
git clone --depth 1 https://github.com/pillip/claude-dev-kit

Made for: Claude Code, Codex.

Or install claude-dev-kit, the plugin that ships this one along with the rest of its 23 skills, 33 agents, 9 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for figma2proto

README.md
[![agentmods](https://agentmods.dev/badge/skills/pillip/claude-dev-kit/figma2proto.svg)](https://agentmods.dev/skills/pillip/claude-dev-kit/figma2proto)
Your own site
<a href="https://agentmods.dev/skills/pillip/claude-dev-kit/figma2proto"><img src="https://agentmods.dev/badge/skills/pillip/claude-dev-kit/figma2proto.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00043 $0.02587
Opus 5 $0.00022 $0.01293
Sonnet 5 $0.00009 $0.00517
Haiku 4.5 $0.00004 $0.00259

Measured 3d ago against content hash 34c50359b5c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

figma2proto scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/figma2proto/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kit Preamble — figma2proto

Kit Script Root

Kit root: ${CLAUDE_PLUGIN_ROOT}

  • Absolute path above → plugin install (substituted at load time; no project scripts/ dir): prefix every kit script command with it, e.g. bash <kit-root>/scripts/checkpoint.sh …. Absolute paths also work from worktrees.
  • Literal ${…} placeholder above → standalone layout: run commands as written.

Project Context Detection

Run these checks silently at the start. Use results to adapt behavior:

  • [ -f issues.md ] — if true, this project uses the sprint system. Respect issue numbering and STATUS.md.
  • [ -f docs/sprint_state.md ] — if true and Status shows running, a sprint is active. Be aware of parallel work in worktrees.
  • [ -f docs/prd_digest.md ] — if true, read it for quick project context before starting.

Kit Rules

  • Verify gh auth status before any GitHub operation.

Purpose

/uiux creates designs from scratch (PRD → design philosophy → design system → prototype). /figma2proto starts from an existing Figma design and produces the same complete set of outputs — prototype, design system, design philosophy, interactions, and copy guide — so the downstream pipeline (/implement, /review, /ship) works identically regardless of which skill was used.

The Figma design is the source of truth. This skill describes and supplements it, never contradicts it.

Output Summary

Platform Prototype Design System Other Docs
web (default) prototype/ docs/design_system.md docs/design_philosophy.md, docs/wireframes.md, docs/interactions.md, docs/copy_guide.md
--mobile prototype-mobile/ docs/design_system_mobile.md docs/design_philosophy.md, docs/wireframes_mobile.md, docs/interactions_mobile.md, docs/copy_guide.md
--desktop prototype-desktop/ docs/design_system_desktop.md docs/design_philosophy.md, docs/wireframes_desktop.md, docs/interactions_desktop.md, docs/copy_guide.md

Read the full file on GitHub · 192 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 192 lines · 43 tokens per session scan A 34c50359b5c9

Subscribe to this mod's changes

figma2proto is a skill published in the GitHub repository pillip/claude-dev-kit (11 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 2,587 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.