figma

Reads and writes Figma designs through the cursor-talk-to-figma MCP server.

2|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/lunaticwithaduck/easytech3d --skill figma-lunaticwithaduck
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: figma
Source: https://github.com/lunaticwithaduck/easytech3d/tree/main/.claude/skills/figma
Command: npx skills add https://github.com/lunaticwithaduck/easytech3d --skill figma-lunaticwithaduck

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cursor-talk-to-figma-mcp, and includes scripts (resource) and references (resource) components.

What problem does it solve? Bridging Figma and code normally requires manual inspection of designs, hand-copying colors and spacing values, and rebuilding layouts by eye. This Skill connects Claude Code directly to a running Figma file so designs can be read, tokens extracted, components generated, and mockups created without leaving the editor. ## Core Features & Use Cases - Design Extraction: Read selections, full node styling, local styles, and components from Figma, then map them to Tailwind classes or CSS custom properties. - Bidirectional Editing: Create frames, text, and shapes in Figma, apply auto-layout, colors, and corner radii, and manage component instances and annotations. - Token Sync & Audit: Extract paint, text, and effect styles into CSS variables, Tailwind config, or W3C token JSON, and diff them against codebase tokens to detect drift. - Use Case: A designer shares a Figma card component. You join the channel, read the node's styling, export a reference image, and generate a matching React + Tailwind component verified against the original. ## Quick Start Ask the AI to join the Figma channel and extract the currently selected component into a React component with Tailwind styles.

Frequently Asked Questions about figma

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Figma design to a React component?▼

Join the Figma channel, select the component, then use read_my_design to extract full styling and get_styles for design tokens. Map Figma properties to Tailwind classes (fills to bg colors, auto-layout to flexbox, corner radius to rounded) and export a reference image to verify the result.

How do I extract design tokens from Figma to Tailwind?▼

Call get_styles to retrieve paint, text, and effect styles, then convert Figma's 0-1 RGBA values to hex and map style names like Primary/500 to Tailwind keys like colors.primary.500. The references include mappings for CSS variables, Tailwind config, and W3C token JSON.

Why is the Figma MCP connection not working?▼

All three components must be running: the MCP server via bunx, the WebSocket bridge started with bun socket, and the Figma desktop plugin joined to a channel. You must call join_channel with the same channel name before any other tool, and verify with get_document_info.

What color format does the Figma MCP server use?▼

Colors use RGBA values in the 0-1 range, not 0-255. Convert CSS values by dividing by 255, so #3B82F6 becomes r=0.231, g=0.510, b=0.965. Passing 0-255 values is a common mistake that produces wrong colors.

Can I create Figma designs from text requirements?▼

Yes, the code-to-design workflow creates frames with auto-layout, adds text nodes, and applies styling through tools like create_frame, set_layout_mode, and set_fill_color. Apply auto-layout properties in order: layout mode first, then padding, then item spacing to avoid conflicts.

What are the limitations of Figma image export via MCP?▼

export_node_as_image returns base64-encoded data as text, which can be very large for complex nodes. Use scale=1 for initial checks and scale=2 only for final exports, and prefer PNG, JPG, SVG, or PDF formats as supported.