figma-design-to-code
Skill by ecomfe
Implements or updates project-consistent UI code from visible Figma nodes using the TemPad Dev MCP. Built for developers who need Figma designs recreated or integrated into an existing framework.
Install figma-design-to-code
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ecomfe/tempad-dev /tmp/tempad-dev && mkdir -p ~/.claude/skills && cp -r /tmp/tempad-dev/agent-plugin/src/skills/figma-design-to-code ~/.claude/skills/figma-design-to-codeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ecomfe/tempad-dev /tmp/tempad-dev && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tempad-dev/agent-plugin/src/skills/figma-design-to-code ~/.gemini/antigravity-cli/skills/figma-design-to-codeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install figma-design-to-code in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
figma-design-to-code is an agent skill that turns one or more visible Figma nodes into UI code that fits the target project. It requires the TemPad Dev MCP to supply design evidence for the current selection or exact node IDs. The assistant calls get_code for the requested roots and uses the returned code, language, warnings, assets, tokens and codegen unit settings. It reads the project's instruction files, components, styling and tokens first, reuses existing primitives where their behavior fits, and preserves exact rendered values otherwise.
The skill separates design facts from project adaptations and unevidenced product decisions. It does not invent hover, loading, error or responsive states, and it adds no runtime or build dependency without user approval. It runs the narrowest project checks and reports anything left unverified. It is aimed at developers who want Figma UI recreated, ported or integrated. It is not for editing Figma canvases, design critique or generic code review.
Written from the project's SKILL.md and checked against it.
What it can do
- get_codeReads TemPad Dev design output for the current selection or specific node IDs, including code, tokens and assets.
- Project-native implementationWrites UI code that follows the project's framework, file placement, components, styling and tokens.
- Exact value preservationKeeps rendered values as designed and converts rem output using TemPad's cssUnit, rootFontSize and scale.
- Asset and token handlingApplies TemPad asset exports and token references according to the project's asset and token conventions.
- Gap reportingSeparates design facts from unevidenced decisions and asks the user before implementing material unknowns.
- VerificationRuns the narrowest relevant project checks and reports what remains unverified.
What you need
- TemPad Dev MCP access, active on the intended Figma file
Try asking
- Recreate this Figma frame as a React component in our project.
- Update the existing card component to match the selected Figma node.
- Port these two Figma nodes into our Vue components using our tokens.
Good to know
- Requires TemPad Dev MCP to provide trustworthy design evidence.
- Does not establish unevidenced states, responsive behavior, business logic or navigation.
- Not for Figma canvas editing, design critique or generic code review.
- Adds no runtime or build dependency without user approval.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent-plugin/src/skills/figma-design-to-code/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml323 B -
references/assets-and-tokens.md4 KB -
references/recovery.md4 KB
Alternatives to figma-design-to-code
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
figma-design-to-code: common questions
Does it generate code from screenshots?
No. The skill states it must not reconstruct the design from memory, screenshots alone, or get_structure metadata. It requires TemPad Dev MCP evidence.
Will it use my project's existing components and tokens?
It reads the project's components, styling and tokens first and reuses them only where semantics and rendered behavior fit. It does not force reuse that changes the design.
What happens if the design does not specify a hover or responsive state?
The skill does not invent those states. It asks the user or leaves them unimplemented when they are not evidenced.
How do I install figma-design-to-code?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is figma-design-to-code free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is figma-design-to-code safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to figma-design-to-code?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
