figma-design-to-code

figma-design-to-code is a skill for Codex from ecomfe/tempad-dev. It costs 78 tokens per session (1,653 once invoked), scanned A, original, MIT.

A workflow for turning a selected Figma design into UI code that fits an existing project. Figma is a design tool, and a node is a selected design object or section.

In plain words
What is it for?
Use it when recreating or updating visible Figma screens and components in a software project. It relies on TemPad Dev to provide the design details.
Why use it?
It reduces the guesswork involved in matching a design to the project's framework, styles, reusable components, and design tokens.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it when recreating or updating visible Figma screens and components in a software project. It relies on TemPad Dev to provide the design details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ecomfe/tempad-dev/figma-design-to-code
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 ecomfe/tempad-dev --skill figma-design-to-code
Clone the repo
git clone --depth 1 https://github.com/ecomfe/tempad-dev

Made for: Codex.

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-design-to-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/ecomfe/tempad-dev/figma-design-to-code/github.svg)](https://agentmods.dev/skills/ecomfe/tempad-dev/figma-design-to-code)
Your own site
<a href="https://agentmods.dev/skills/ecomfe/tempad-dev/figma-design-to-code"><img src="https://agentmods.dev/badge/skills/ecomfe/tempad-dev/figma-design-to-code/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-design-to-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/ecomfe/tempad-dev/figma-design-to-code"><img src="https://agentmods.dev/badge/skills/ecomfe/tempad-dev/figma-design-to-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,653 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.00078 $0.01653
Opus 5.5 $0.00031 $0.00661
Sonnet 5.5 $0.00016 $0.00331
Haiku 4.5 $0.00008 $0.00165

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

Security

Grade A, and why

figma-design-to-code 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 22d 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.

agent-plugin/src/skills/figma-design-to-code/SKILL.md · 174 lines

How it starts

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

Implement Figma design in code

Turn visible Figma evidence into the smallest project-native implementation that preserves the intended result. Keep that result focal: project files, TemPad output, rules, and tool calls are evidence for the implementation, not deliverables to reproduce mechanically.

Require TemPad Dev MCP to provide trustworthy design evidence for the current selection or exact node IDs inside the user's established scope. Never reconstruct the design from memory, screenshots alone, or get_structure metadata.

Evidence and authority

Use each source only for what it can establish:

  • The user sets scope, requirements, prohibitions, and missing product or implementation decisions.
  • The project sets framework, file placement, component boundaries, styling, tokens, assets, dependencies, and verification conventions.
  • TemPad Dev sets visible structure and rendered design facts.

Follow project instruction files for concerns outside Figma-to-code translation. Do not add policy for routing, analytics, i18n, CMS, or other orthogonal systems.

TemPad can establish visible hierarchy, layout, spacing, typography, color, effects, token references, exported assets, and codegen unit context. It cannot establish unevidenced states, responsive behavior, business logic, navigation, validation, analytics, or project conventions. Treat get_structure as hierarchy and geometry evidence only, never as missing style truth.

Workflow

1. Establish the implementation envelope

Read only local evidence that can change this implementation, in this order:

  1. applicable AGENTS.md or equivalent instructions;
  2. relevant design-system, token, component, and asset guidance;
  3. the nearest comparable implementation and reusable primitives;
  4. framework, styling, and check configuration needed for this task.

Determine the target file or component boundary, framework, styling method, token and asset paths, reuse candidates, dependency constraints, and narrowest relevant checks. Inspect Tailwind version and theme scales only when the project actually uses Tailwind-compatible tooling.

Read the full file on GitHub · 174 lines

Files

What ships with it

3 files 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. 22d ago Changed · +1 lines 55439f98bc08
  2. 1mo ago Changed · -5 lines · -18 tokens per session 8a02a8d0a368
  3. 1mo ago Changed · -215 lines · +3 tokens per session 603961f0a041
  4. 2mo ago First seen · 393 lines · 93 tokens per session scan A 8059da321389

Subscribe to this mod's changes

figma-design-to-code is a skill published in the GitHub repository ecomfe/tempad-dev (653 stars, last pushed yesterday), licensed MIT. It adds 78 tokens to every session and 1,653 once invoked, about $0.0003 per session on Opus 5.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

figma-design-to-code compared with skills from other repositories

figma-design-to-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figma-design-to-codeecomfe/tempad-devSkill653yesterdayMITA78Codex
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code