figma-design-to-code

Installation
SKILL.md

Figma Design to Code

Overview

Converts a Figma design into real, production-ready code in the project's own stack — design to code only, never the reverse (that direction, generating or editing Figma files themselves, belongs to Figma's own design-authoring tools, not this repo). The defining constraint is fidelity: the output must match the Figma design exactly, not approximately. That means treating two data sources as complementary, not either/or — the Figma MCP server for structured context and codebase-aware mapping, and the Figma REST API for the complete, unsummarized node data that catches anything the MCP context simplified, rounded, or omitted.

When to Use

  • The user wants a Figma frame, file, or selection implemented, ported, or built as code
  • Exact visual and structural fidelity to the source design is the goal, not a rough approximation
  • NOT for generating or editing designs inside Figma itself — that's design-authoring tooling, out of scope for this repo
  • NOT when the user only wants something "inspired by" a design rather than an exact reproduction — say so, and treat it as a lighter-weight frontend task instead of this skill's full fidelity process

Process

1. Resolve the target

Get the Figma link (ask if one wasn't given) and confirm the specific frame or selection in scope — not an entire file when one screen was meant. Extract the file key and node-id from the link (see references/figma-rest-api-reference.md for the URL format). Also confirm whether prototype interactions/animations on that frame are in scope, or only static visual fidelity — extracting trigger events and transition curves for a purely static port is wasted effort. Scope creep here means outdated context and wasted extraction work.

Installs
1
GitHub Stars
4
First Seen
Sep 30, 2026