Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.
Figma MCP
Use the Figma MCP server for Figma-driven implementation. For setup and
debugging details (env vars, tool registration, verification), see
references/figma-mcp-config.md.
This is the entry-point skill for the Figma family. Switch to a more
specialized skill once intent is clear:
figma-generate-library (opt-in pack — see docs/SKILLS.md)
Figma MCP Integration Rules
These rules define how to translate Figma inputs into code for this project and
must be followed for every Figma-driven change.
Required flow (do not skip)
Run get_design_context first to fetch the structured representation for
the exact node(s).
If the response is too large or truncated, run get_metadata to get the
high-level node map and then re-fetch only the required node(s) with
get_design_context.
Run get_screenshot for a visual reference of the node variant being
implemented.
Only after you have both get_design_context and get_screenshot, download
any assets needed and start implementation.
Translate the output (usually React + Tailwind) into this project's
conventions, styles and framework. Reuse the project's color tokens,
components, and typography wherever possible.
Validate against Figma for 1:1 look and behavior before marking complete.
Implementation rules
Treat the Figma MCP output (React + Tailwind) as a representation of design
and behavior, not as final code style.
Replace Tailwind utility classes with the project's preferred utilities /
design-system tokens when applicable.
Use the project's color system, typography scale, and spacing tokens
consistently.
Respect existing routing, state management, and data-fetch patterns already
adopted in the repo.
Strive for 1:1 visual parity with the Figma design. When conflicts arise,
prefer design-system tokens and adjust spacing or sizes minimally to match
visuals.
Validate the final UI against the Figma screenshot for both look and
behavior.
Asset handling
The Figma MCP server provides an assets endpoint that serves image and SVG
assets.
Important: if the Figma MCP server returns a localhost source for an
image or SVG, use that source directly.
Important: do NOT import/add new icon packages — all assets should be in
the Figma payload.
Important: do NOT use or create placeholders if a localhost source is
provided.
Link-based prompting
The remote Figma MCP server is link-based: copy the Figma frame/layer link
and provide that URL to the AI tool when asking for implementation help.
The AI tool cannot browse the URL but extracts the node ID from the link.
Always ensure the link points to the exact node/variant you want.
Boundaries
This skill reads Figma context and writes code in the user's repo.
It does not write back into Figma — that lives in the opt-in figma-use /
figma-generate-design pack (see docs/SKILLS.md).
Do not bypass the MCP and call the Figma REST API directly from this skill.
References
references/figma-mcp-config.md — register
the Figma MCP in Claude Code / Cursor / OpenCode / Windsurf. Points at the
agentic-workstation template under ~/.local/share/agentic-workstation/mcp/figma/.