build-figma

Orchestrate Figma design files into production UI with design-system mapping and visual verification.

15.8k|1.6k|Updated Jan 23, 2026
Ready to run
npx skills add https://github.com/cursor/plugins --skill build-figma-cursor
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: build-figma
Source: https://github.com/cursor/plugins/tree/main/dyl-stack/skills/build-figma
Command: npx skills add https://github.com/cursor/plugins --skill build-figma-cursor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Transforming Figma designs into production code requires coordinating multiple steps: extracting design tokens and components, mapping them to the repo's existing design system, implementing the UI in the target surface's styling system, and verifying visual accuracy. This Skill eliminates manual guesswork and ensures fidelity by automating the intake phase, managing the component mapping, and blocking shipping until visual verification passes. ## Core Features & Use Cases - Design-System Discovery: Automatically scans the repo for component libraries, token definitions, styling systems, and icon sets before any implementation begins. - Figma-to-Primitive Mapping: Creates a structured intake document linking each Figma node to existing components or identifying genuinely new primitives. - Visual Judge Integration: Specializes the verify-this skill to compare Figma baseline against live UI capture using a rubric covering theme, structure, primitives, typography, spacing, assets, and controls. - Use Case: Your design team exports a new dashboard in Figma. You run this Skill with the Figma URL, it discovers your repo uses Material Design tokens and Tailwind, maps the design nodes to those primitives, implements the UI, captures the live version, and returns VERIFIED only when pixel metrics and visual structure match the Figma source. ## Quick Start Run this Skill with a Figma design URL containing a node-id (e.g., figma.com/design/abc123/Dashboard?node-id=42-567), and it will intake the design, map components to your repo's design system, implement the UI, and verify visual accuracy against the Figma baseline.

Frequently Asked Questions about build-figma

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

FAQPage Schema
How do I convert a Figma design to production code without losing fidelity?▼

Follow the intake phase to extract design tokens, metrics, and component structure from Figma, then map each element to your repo's existing primitives. Implement using those mapped components and your surface's styling system, pinning Figma measurements only when they conflict with primitive defaults. Verify against Figma baseline using the visual judge rubric.

What should I do if a Figma design uses components that don't exist in my repo?▼

Document the mismatch in the intake map with a reason (e.g., 'new pattern', 'unsupported by current tokens'). Do not invent brand assets or bend existing primitives to fit Figma structure. Flag as a new primitive requiring design-system review before implementation.

Why does the visual judge fail when my live UI looks correct?▼

The rubric checks theme polarity first—if the app is in dark mode but Figma shows light, the capture must be in light mode to compare. Also verify primitives, typography metrics, spacing, and asset sizing match the intake table. Icon names must exist in the repo's icon set, not guessed.

Can I paste Figma-exported Tailwind classes directly into my product code?▼

No. The hard-ban rule prevents pasting Figma MCP Tailwind or React exports as product code. Instead, use the intake map to identify the intended components and styling, then write code that matches your repo's patterns and styling system.

What happens if I implement UI before the intake document is complete?▼

Gate 1 blocks coding until intake.md exists. This prevents the failure mode where functional UI ships first and visual polish comes later, causing rework. Complete intake and design-system discovery before touching product code.

How do I handle Figma metrics that conflict with my design-system tokens?▼

Record both values in the metric table. When implementing, use the surface's styling system to pin the Figma value only for that specific element, not globally. Do not override primitive defaults. If the conflict is structural, document it in intake as a mapping gap.