
Implement Design
Turn a Figma frame or component URL into production UI code with design tokens and 1:1 visual fidelity via the Figma MCP server.
Overview
Implement Design is an agent skill for the Build phase that translates Figma nodes into production-ready frontend code using the Figma MCP server and a fixed multi-step fidelity workflow.
Install
npx skills add https://github.com/figma/mcp-server-guide --skill implement-designWhat is this skill?
- Ordered workflow: verify Figma MCP tools, parse fileKey and node-id URL, then fetch design context—do not skip steps
- Requires connected Figma MCP (e.g. get_design_context); guides users to enable plugin server if tools missing
- Aims for pixel-perfect parity and consistent design-token usage against an existing design system when present
- Triggered by implement design, generate code, Figma URLs, or build component matching specs
- Pairs structured translation with MCP-backed Figma file access rather than screenshot guessing
Adoption & trust: 5.9k installs on skills.sh; 1.6k GitHub stars; 1/3 security scanners passed (skills.sh audits).
What problem does it solve?
You have approved Figma screens but hand-coding them loses spacing, tokens, and component structure without a repeatable MCP-backed pull from the file.
Who is it for?
Builders with Figma designs, Figma MCP enabled, and a repo ready to receive components that must match design specs closely.
Skip if: Projects without Figma access, greenfield UI with no design file, or backend-only tasks with no visual spec.
When should I use this skill?
Implementing UI from Figma files, user mentions implement design, generate code, implement component, build Figma design, provides Figma URLs, or asks for components matching Figma specs; Figma MCP must be connected.
What do I get? / Deliverables
Frontend code matches the selected Figma node with design-context-driven implementation after MCP verification and URL validation.
- Production UI components or screens aligned to Figma node
- Token-aware styles mapped from MCP design context
Recommended Skills
Journey fit
How it compares
Structured Figma-MCP implementation workflow, not a standalone screenshot-to-code tool without design file context.
Common Questions / FAQ
Who is implement-design for?
Solo frontend developers and designers who use Figma as source of truth and run agents with the official Figma MCP server plugin.
When should I use implement-design?
During Build frontend work when the user shares a Figma URL, asks to implement a component, generate code from a frame, or match Figma specs with 1:1 fidelity.
Is implement-design safe to install?
It depends on Figma MCP access to your design files; review the Security Audits panel on this Prism page and scope MCP credentials appropriately.
SKILL.md
READMESKILL.md - Implement Design
# Implement Design ## Overview This skill provides a structured workflow for translating Figma designs into production-ready code with pixel-perfect accuracy. It ensures consistent integration with the Figma MCP server, proper use of design tokens, and 1:1 visual parity with designs. ## Prerequisites - Figma MCP server must be connected and accessible - Before proceeding, verify the Figma MCP server is connected by checking if Figma MCP tools (e.g., `get_design_context`) are available. - If the tools are not available, the Figma MCP server may not be enabled. Guide the user to enable the Figma MCP server that is included with the plugin. They may need to restart their MCP client afterward. - User must provide a Figma URL in the format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` - `:fileKey` is the file key - `1-2` is the node ID (the specific component or frame to implement) - Project should have an established design system or component library (preferred) ## Required Workflow **Follow these steps in order. Do not skip steps.** ### Step 1: Get Node ID #### Option A: Parse from Figma URL When the user provides a Figma URL, extract the file key and node ID to pass as arguments to MCP tools. **URL format:** `https://figma.com/design/:fileKey/:fileName?node-id=1-2` **Extract:** - **File key:** `:fileKey` (the segment after `/design/`) - **Node ID:** `1-2` (the value of the `node-id` query parameter) **Example:** - URL: `https://figma.com/design/kL9xQn2VwM8pYrTb4ZcHjF/DesignSystem?node-id=42-15` - File key: `kL9xQn2VwM8pYrTb4ZcHjF` - Node ID: `42-15` ### Step 2: Fetch Design Context Run `get_design_context` with the extracted file key and node ID. ``` get_design_context(fileKey=":fileKey", nodeId="1-2") ``` This provides the structured data including: - Layout properties (Auto Layout, constraints, sizing) - Typography specifications - Color values and design tokens - Component structure and variants - Spacing and padding values **If the response is too large or truncated:** 1. Run `get_metadata(fileKey=":fileKey", nodeId="1-2")` to get the high-level node map 2. Identify the specific child nodes needed from the metadata 3. Fetch individual child nodes with `get_design_context(fileKey=":fileKey", nodeId=":childNodeId")` ### Step 3: Capture Visual Reference Run `get_screenshot` with the same file key and node ID for a visual reference. ``` get_screenshot(fileKey=":fileKey", nodeId="1-2") ``` This screenshot serves as the source of truth for visual validation. Keep it accessible throughout implementation. ### Step 4: Download Required Assets Download any assets (images, icons, SVGs) returned by the Figma MCP server. **IMPORTANT:** Follow these asset rules: - If the Figma MCP server returns a `localhost` source for an image or SVG, use that source directly - DO NOT import or add new icon packages - all assets should come from the Figma payload - DO NOT use or create placeholders if a `localhost` source is provided - Assets are served through the Figma MCP server's built-in assets endpoint ### Step 5: Translate to Project Conventions Translate the Figma output into this project's framework, styles, and conventions. **Key principles:** - Treat the Figma MCP output (typically React + Tailwind) as a representation of design and behavior, not as final code style - Replace Tailwind utility classes with the project's preferred utilities or design system tokens - Reuse existing components (buttons, inputs, typography, icon wrappers) instead of duplicating functionality - Use the project's