figma-to-prototype

figma-to-prototype is a skill for Claude Code from matteotitta/genesys-skills. It costs 145 tokens per session (3,097 once invoked), scanned A, original, MIT.

A tool for turning Figma mockups or screenshots into working code. Figma is a design application used to create interface layouts and visual specifications.

In plain words
What is it for?
Use it to build a working prototype from a Figma URL, screenshot, or mockup description, including the corresponding design tokens and components.
Why use it?
It removes much of the manual translation from a visual design into code. It also records the design’s colors, fonts, spacing, layout, and reusable components.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to build a working prototype from a Figma URL, screenshot, or mockup description, including the corresponding design tokens and components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matteotitta/genesys-skills/figma-prototype
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.

Any agent
npx skills add matteotitta/genesys-skills --skill figma-prototype
Clone the repo
git clone --depth 1 https://github.com/matteotitta/genesys-skills

Made for: Claude Code.

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 figma-to-prototype

README.md
[![agentmods](https://agentmods.dev/badge/skills/matteotitta/genesys-skills/figma-prototype/github.svg)](https://agentmods.dev/skills/matteotitta/genesys-skills/figma-prototype)
Your own site
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/figma-prototype"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/figma-prototype/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for figma-to-prototype

Your own site · 80×15
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/figma-prototype"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/figma-prototype.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,097 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00145 $0.03097
Opus 5 $0.00072 $0.01548
Sonnet 5 $0.00029 $0.00619
Haiku 4.5 $0.00015 $0.00310

Measured 10d ago against content hash eeda90bdda45, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

figma-to-prototype 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 10d 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/primitives/design/figma-prototype/SKILL.md · 318 lines

How it starts

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

/figma-to-prototype — Turn mockups into working code

Paste a Figma screenshot or provide a Figma URL and get a working prototype. Extracts design tokens (colors, typography, spacing, layout), maps components to code, and produces production-ready output. Goes beyond wireframing — this builds the actual thing.


Doctrine inherited (Step 7 — 0626 rollout, locked 2026-06-04)

Output complies with output-tenets.md, output-simplicity.md, design-production.md. Step 6 calibration: see [[feedback_execution_doctrine_refinements_step6]].

Refinements applied: R1 (prototype code is internal — DESIGN.md cites inline for engineering), R3 (placeholder copy capability-led), R9 (verb-led component names).


Claude Code Triggers

Invoke this skill when user says:

  • "/figma-to-prototype [URL or description]"
  • "Turn this mockup into code"
  • "Prototype this design"
  • "Build this from the Figma"
  • "Convert this screenshot to a working page"
  • User pastes a screenshot with "make this work"

Do NOT invoke when:

  • User wants a wireframe description (use /mockup)
  • User wants landing page copy only (use /landing-page-copy)
  • User wants to explore a Figma file without building (use Figma MCP directly)

Inputs

Parameter Required Description
Design source Yes Figma URL, pasted screenshot, or file path to mockup image
Scope No static (HTML/CSS) / interactive (React with state) / full (React with routing) — default: static
Target No html-only / framer / lovable / local — default: html-only
Brand hub No Client brand hub file for design token validation (colors, typography, components)

Design integration — DESIGN.md → Figma variables

Upstream contract: When prototyping for a client, this skill consumes the client's DESIGN.md file at projects/consulting/{client}/brand/{MMYY}-brand-kit.md. DESIGN.md tokens map 1:1 to Figma variables via the Figma MCP.

Read the full file on GitHub · 318 lines

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. 10d ago First seen · 318 lines · 145 tokens per session scan A eeda90bdda45

Subscribe to this mod's changes

figma-to-prototype is a skill published in the GitHub repository matteotitta/genesys-skills (36 stars, last pushed 1mo ago), licensed MIT. It adds 145 tokens to every session and 3,097 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

ui-ux-gtm

Design GTM UI/UX patterns — landing pages (hero, proof, CTA), forms (progressive disclosure, inline validation), signup flows (activation, time-to-value), dashboards (KPI hierarchy, trend indicators), and accessibility (WCAG 2.2 AA). Use when designing or auditing GTM tool interfaces, landing pages, conversion flows…

LeadMagic/gtm-skills · 96 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens