figma-mcp
Skill40 starsChanged 8 months agoMITView on GitHub
Convert Figma designs into production-ready code using MCP server tools. Use this skill when users provide Figma URLs, request design-to-code conversion, ask to implement Figma mockups, or need to extract design tokens and system values from Figma files. Works with frames, components, and entire design files to generate HTML, CSS, React, or other frontend code.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Adonis0123/adonis-skillstheir own version, first seen Sep 23, 2026
- beelabstudio/aitheir own version, first seen Sep 20, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Adonis0123/adonis-skills★ 3same name
- beelabstudio/ai★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository99 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agents-md-managerSkill
- architecture-md-builderSkill
- autoresearchSkill
- claude-agent-sdkSkill
- claude-md-managerSkill
- claude-usageSkill
- dag-typesafeSkill
- fableSkill
- glossarySkill
- openrouter-usageSkill
- react-best-practicesSkill
- skill-optimizerSkill
- stop-slopSkill
- tamarruSkill
- test-harness-auditorSkill
- user-model-builderSkill
- atmosphere-shaderSkill
- component-gallerySkill
- conductor-motionSkill
- design-auditSkill
- design-critiqueSkill
- design-mdSkill
- design-polishSkill
- gemini-claude-resonanceSkill
- gemini-forgeSkill
- gpt-atelierSkill
- grainientSkill
- image-forgeSkill
- image-wellSkill
- meshySkill
- mindnode-uiSkill
- minoan-frontend-designSkill
- nano-banana-proSkill
- overwatch-slidedeckSkill
- paper-designSkill
- particle-swarm-simSkill
- pellicolaSkill
- photo-to-slack-emojiSkill
- pretextSkill
- recordlySkill
- rocaille-shaderSkill
- scroll-cinemaSkill
- shadcnSkill
- shapeSkill
- smolvlmSkill
- speak-responseSkill
- sprite-forgeSkill
- threejs-particle-canvasSkill
- vellum-editorialSkill
- webgpu-threejs-tslSkill
- agent-browserSkill
- beautiful-mermaidSkill
- classical-887Skill
- claude-peersSkill
- cloudflareSkill
- codex-ctoSkill
- codex-orchestratorSkill
- disc-forgeSkill
- linkedin-exportSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 25 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈25
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Ask to "build this from Figma" or "implement this design"
- Distinctive: line 26
When a user provides a Figma URL or requests design implementation:
- Distinctive: line 34
Verify the Figma MCP server is configured and accessible
- Very specific: line 35
If not configured, reference references/setup-guide.md for setup instructions
- Distinctive: line 39
Use the available Figma MCP tools to retrieve structured design data:
- Very specific: line 47
Best Practice: Start with get_figma_data for the specific frame or node the user referenced.
- Distinctive: line 65
Before generating code, analyze the fetched design data:
- Distinctive: line 97
Create CSS custom properties for spacing, colors, typography
- Distinctive: line 98
Use exact values from design (don't approximate)
- Distinctive: line 111
Use relative units where appropriate (rem, em, %)
- Distinctive: line 112
Consider breakpoints for desktop/mobile variants
- Distinctive: line 132
After generating initial code:
- Distinctive: line 135
Do spacing values match the design exactly?
- Distinctive: line 153
Never approximate values: Use exact pixel values, colors, and measurements from Figma data
- Distinctive: line 160
Semantic HTML: Use appropriate HTML elements, not just divs
- Distinctive: line 163
Accessibility: Add appropriate ARIA labels and semantic structure
- Distinctive: line 167
Check for variables: Use Figma Variables for design tokens
- Distinctive: line 169
Code Connect: If available, reference Code Connect mappings for components
- Distinctive: line 170
Naming conventions: Follow existing project conventions for classes/components
- Distinctive: line 175
CSS efficiency: Avoid redundant styles, use CSS variables
- Distinctive: line 176
Bundle size: Keep generated code lean and modular
- Distinctive: line 220
Check if Figma MCP server is configured in MCP settings
- Distinctive: line 222
Verify user has appropriate Figma plan (Dev Mode access for official server)
- Distinctive: line 225
Ensure the Figma file is accessible (permissions)
- Distinctive: line 226
Verify the node-id in the URL is correct
- Distinctive: line 231
Verify color values are exact hex codes from Figma
- Distinctive: line 232
Check if fonts are loaded correctly
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Figma MCP
Overview
This skill enables accurate design-to-code conversion by leveraging Figma's MCP (Model Context Protocol) server to access structured design data directly from Figma files. Unlike screenshot-based approaches, the Figma MCP provides semantic information about every design element including exact spacing, colors, typography, component hierarchy, and design system tokens, resulting in significantly more accurate code generation.
When to Use This Skill
Trigger this skill when users:
- Provide Figma URLs (file links or frame selection links)
- Request converting/implementing Figma designs into code
- Ask to "build this from Figma" or "implement this design"
- Need to extract design tokens, variables, or design system values
- Want to update existing code to match a Figma design
- Mention maintaining design-to-code consistency
Workflow
Step 1: Receive Figma Design Reference
When a user provides a Figma URL or requests design implementation:
- Identify the Figma link type:
- File URL:
https://www.figma.com/file/[FILE_KEY]/... - Frame selection:
https://www.figma.com/file/[FILE_KEY]/...?node-id=[NODE_ID] - Design URL:
https://www.figma.com/design/[FILE_KEY]/...
- File URL:
- Confirm access:
- Verify the Figma MCP server is configured and accessible
- If not configured, reference
references/setup-guide.mdfor setup instructions
Step 2: Fetch Design Data Using MCP Tools
Use the available Figma MCP tools to retrieve structured design data:
Key MCP Tools Available:
- get_figma_data - Fetch complete design data for a file or specific frame
- get_figma_variables - Extract design tokens (colors, spacing, typography)
- get_figma_components - Retrieve component definitions and instances
- get_figma_styles - Access text, color, and effect styles
Best Practice: Start with get_figma_data for the specific frame or node the user referenced. This provides the complete structure, layout data, and styling information.
Example workflow:
User: "Implement this Figma design: [Figma URL with node-id]"
1. Extract file_key and node_id from URL
2. Call get_figma_data with file_key and node_id parameters
3. Receive structured JSON with:
- Element hierarchy (frames, groups, components)
- Layout properties (position, size, constraints, auto-layout)
- Styling (fills, strokes, effects, typography)
- Component instances and variants
- Design tokens and variablesStep 3: Analyze Design Structure
Before generating code, analyze the fetched design data:
- Identify component hierarchy:
- What are the main containers/sections?
- Which elements are reusable components?
- How does the layout flow (flex, grid, absolute)?
- Extract design system values:
- Colors (fills, strokes, backgrounds)
- Typography (font families, sizes, weights, line heights)
- Spacing (padding, margins, gaps)
- Borders, shadows, effects
- Determine layout approach:
- Auto-layout frames → Flexbox or CSS Grid
- Absolute positioning → CSS absolute/relative positioning
- Constraints → Responsive behavior
Step 4: Generate Code
Generate production-ready code based on the design data:
Code generation principles:
- Use semantic HTML:
- Frames →
<div>,<section>,<header>, etc. - Text →
<h1>-<h6>,<p>,<span> - Buttons →
<button> - Images →
<img>
- Frames →
- Preserve design system values:
- Extract color variables from Figma variables
- Create CSS custom properties for spacing, colors, typography
- Use exact values from design (don't approximate)
- Match layout behavior:
- Auto-layout with padding/gap → Flexbox with gap/padding
- Auto-layout direction → flex-direction
- Constraints → Responsive CSS (flex-grow, min/max-width)
- Component-based architecture:
- Figma components → React/Vue components or CSS classes
- Component instances → Component usage with props
- Variants → Props or conditional classes
- Responsive considerations:
- Use relative units where appropriate (rem, em, %)
- Consider breakpoints for desktop/mobile variants
- Preserve constraint behavior from Figma
Example output structure:
// For React
import React from 'react';
import './styles.css';
export const ComponentName = () => {
return (
<div className="container">
{/* Preserved hierarchy and styling */}
</div>
);
};Step 5: Validate and Refine
After generating initial code:
- Verify accuracy:
- Do spacing values match the design exactly?
- Are colors accurate (check hex values)?
- Does the layout behavior match (responsive, wrapping)?
- Check for improvements:
- Can any values be extracted to CSS variables?
- Are there repeated patterns that should be componentized?
- Is the code accessible (semantic HTML, ARIA attributes)?
- Offer refinements:
- Suggest design system integration if applicable
- Mention any design inconsistencies detected
- Propose optimizations (shared styles, component extraction)
Best Practices
Design-to-Code Accuracy
- Never approximate values: Use exact pixel values, colors, and measurements from Figma data
- Preserve hierarchy: Maintain the nesting structure from Figma frames/groups
- Match auto-layout behavior: Figma's auto-layout maps directly to Flexbox properties
- Use design tokens: Extract and reuse color/spacing variables from Figma Variables
Code Quality
- Semantic HTML: Use appropriate HTML elements, not just divs
- Component extraction: Identify reusable components from Figma components
- CSS organization: Separate layout, typography, and visual styling
- Accessibility: Add appropriate ARIA labels and semantic structure
Design System Integration
- Check for variables: Use Figma Variables for design tokens
- Component consistency: Match Figma component names to code component names
- Code Connect: If available, reference Code Connect mappings for components
- Naming conventions: Follow existing project conventions for classes/components
Performance
- Optimize images: Suggest appropriate image formats and compression
- CSS efficiency: Avoid redundant styles, use CSS variables
- Bundle size: Keep generated code lean and modular
For more detailed guidance, reference:
references/setup-guide.md- Setting up Figma MCP serverreferences/best-practices.md- Extended best practices and examples
Common Patterns
Pattern 1: Landing Page from Figma
User provides: Figma link to landing page design
Process:
1. Fetch complete page structure with get_figma_data
2. Identify sections (hero, features, CTA, footer)
3. Generate semantic HTML with section elements
4. Extract colors/typography to CSS variables
5. Implement responsive behavior from constraintsPattern 2: Component Implementation
User provides: Figma link to button component with variants
Process:
1. Fetch component definition with get_figma_components
2. Identify variants (primary, secondary, sizes)
3. Create React component with props for variants
4. Extract shared styles to base component
5. Implement variant-specific styles as props/classesPattern 3: Design System Extraction
User requests: Extract design tokens from Figma file
Process:
1. Fetch variables with get_figma_variables
2. Fetch text/color styles with get_figma_styles
3. Generate CSS custom properties or theme object
4. Document token naming and usage
5. Export as stylesheet or config fileTroubleshooting
MCP server not available:
- Check if Figma MCP server is configured in MCP settings
- Reference
references/setup-guide.mdfor setup instructions - Verify user has appropriate Figma plan (Dev Mode access for official server)
Design data incomplete:
- Ensure the Figma file is accessible (permissions)
- Verify the node-id in the URL is correct
- Try fetching parent frame if child node returns limited data
Code doesn't match design visually:
- Double-check spacing and sizing values
- Verify color values are exact hex codes from Figma
- Check if fonts are loaded correctly
- Review auto-layout direction and alignment properties
Resources
This skill includes reference documentation to support Figma MCP workflows:
references/setup-guide.md
Complete setup instructions for configuring Figma MCP server (official and community options) in Claude Code and other MCP clients. Reference when users need to set up the integration.
references/best-practices.md
Extended best practices, detailed examples, and advanced patterns for design-to-code conversion including component architecture, responsive design strategies, and design system integration.
Recent Updates
Community server rebranded (Apr 2026): The popular community MCP server by GLips has been rebranded from "figma-developer-mcp" to Framelink MCP for Figma (v0.11.0, 14.5k+ stars). It now supports stateless HTTP transport, VS Code layer generation, and prompt injection defense. The npm package name remains figma-developer-mcp for backward compatibility. See references/setup-guide.md for updated configuration.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

