FI

figma-integration

Pulls design data from Figma into development workflows to ensure pixel-perfect implementation.

Install

mkdir -p .claude/skills/figma-integration-bigeasyfreeman && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11326" && unzip -o skill.zip -d .claude/skills/figma-integration-bigeasyfreeman && rm skill.zip

Installs to .claude/skills/figma-integration-bigeasyfreeman

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

> Pulls design specs, component inventories, and screen states from Figma into the PRD and Build Brief pipeline. Validates that PRD screen specifications match actual Figma mocks. Extracts design tokens, spacing, and component names so coding agents produce pixel-accurate impleme
280 chars · catalog descriptionno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Extract screen specs
  • Validate PRD against Figma
  • Extract design tokens
  • Map components to code

How it works

It fetches metadata from Figma frames to compare design elements against PRD specifications or extract tokens for coding agents.

Inputs & outputs

You give it
Figma file URL and mode
You get back
Extracted design specs or validation report

When to use figma-integration

  • Sync design with PRD
  • Extract design tokens
  • Validate UI implementation
  • Generate component stubs

About this skill

Skill: Figma Integration

Pulls design specs, component inventories, and screen states from Figma into the PRD and Build Brief pipeline. Validates that PRD screen specifications match actual Figma mocks. Extracts design tokens, spacing, and component names so coding agents produce pixel-accurate implementations.


Why This Exists

PRDs describe screens in text. Figma has the actual designs. Without this skill:

  • PRD field-detail tables drift from what design actually built
  • Engineers build from text specs that are stale within a week
  • Coding agents generate UI that doesn't match the mocks
  • Design review becomes a rework cycle instead of a confirmation

This skill bridges the gap: it reads Figma programmatically and feeds design truth into the pipeline.


Trigger

WhenWhat
PRD Agent Phase 5 (Screen Specs)Pull frame names, component lists, and states from linked Figma file
Build Brief Phase 0 (Research)Validate PRD screen specs against current Figma state
Architecture ScaffoldingExtract component names, design tokens, and layout structure for frontend stubs
Codegen Context AssemblyInline design specs (spacing, colors, component hierarchy) into frontend task prompts

Input

{
  "figma_file_url": "string (Figma file or frame URL)",
  "figma_access_token": "string (via MCP server auth)",
  "prd_screens": [
    {
      "screen_name": "string",
      "figma_frame_ref": "string (frame name or node ID from PRD)",
      "field_detail_table": {}
    }
  ],
  "mode": "extract | validate | design_tokens | component_inventory"
}

Behavior

Mode: extract — Pull Design Into PRD

For each Figma frame referenced in the PRD:

  1. Fetch frame metadata via Figma API (GET /v1/files/:file_key/nodes?ids=:node_ids)
  2. Extract component hierarchy — what components are used, their names, nesting
  3. Extract text content — every text node with its content (button labels, headings, placeholder text)
  4. Extract interactive elements — buttons, inputs, dropdowns, toggles with their states
  5. Extract screen states — if the frame has variants (empty, filled, error, loading), list them
  6. Generate a field-detail table from the extracted elements

Output:

{
  "screen_name": "Invite Modal",
  "figma_frame": "Invite - Filled",
  "figma_url": "https://figma.com/file/...",
  "last_modified": "ISO date",
  "components_used": [
    {"name": "SearchableMultiSelect", "type": "input", "library": "DesignSystem/Inputs"},
    {"name": "UserChip", "type": "display", "library": "DesignSystem/Chips"},
    {"name": "PrimaryButton", "type": "button", "label": "Send"}
  ],
  "text_content": [
    {"node": "Modal Title", "content": "Share [Deliverable Name]"},
    {"node": "CTA Button", "content": "Send"},
    {"node": "Secondary Action", "content": "Copy link"}
  ],
  "states": ["empty", "filled", "sending", "sent"],
  "extracted_field_table": {
    "Modal Title": "Share [Deliverable Name]",
    "Recipient Input": "SearchableMultiSelect — org users and WRITER seat holders",
    "Chip Display": "UserChip — avatar + name + email, removable",
    "Primary CTA": "PrimaryButton — 'Send', triggers email dispatch",
    "Secondary Action": "Copy link (present in design)"
  }
}

Mode: validate — Check PRD Against Figma

Compare every PRD screen spec against its linked Figma frame:

PRD SaysFigma ShowsStatus
"Share" button with share/arrow iconFrame has ShareIcon + "Share" label✅ Match
Copy link option (TBD for v1)"Copy link" text node present in frame⚠️ Conflict — design has it, PRD says TBD
Modal title: "Share [Deliverable Name]"Title text: "Share [Deliverable Name]"✅ Match
No error state specifiedNo error state frame exists⚠️ Gap — neither PRD nor design covers errors

Output: validation_report

{
  "matches": [{"field": "string", "prd_value": "string", "figma_value": "string"}],
  "conflicts": [{"field": "string", "prd_value": "string", "figma_value": "string", "recommendation": "string"}],
  "gaps_in_prd": [{"field": "string", "figma_has": "string", "recommendation": "add to PRD"}],
  "gaps_in_figma": [{"field": "string", "prd_has": "string", "recommendation": "design needed"}],
  "stale_screens": [{"screen": "string", "prd_last_updated": "date", "figma_last_modified": "date"}]
}

Mode: design_tokens — Extract for Coding Agents

Pull design tokens for frontend implementation:

  • Colors (hex values, CSS variable names if using a design system)
  • Spacing (padding, margins, gaps)
  • Typography (font family, size, weight, line height)
  • Border radius, shadows, opacity
  • Breakpoints (if responsive variants exist)

Mode: component_inventory — Map to Code Components

If the repo has a component library (found via Codebase Research), map Figma components to existing code components:

Figma ComponentCode ComponentLocationMatch
PrimaryButton<Button variant="primary">src/components/ui/Button.tsx✅ Exists
SearchableMultiSelect<Combobox>src/components/ui/Combobox.tsx✅ Exists (different name)
UserChip❌ New component needed

MCP Server Contract

Tool: figma_extract

{
  "name": "figma_extract",
  "description": "Extract screen specs, components, and design tokens from Figma frames",
  "inputSchema": {
    "type": "object",
    "properties": {
      "figma_url": {
        "type": "string",
        "description": "Figma file or frame URL"
      },
      "mode": {
        "type": "string",
        "enum": ["extract", "validate", "design_tokens", "component_inventory"]
      },
      "prd_screens": {
        "type": "array",
        "description": "PRD screen specs to validate against (required for validate mode)"
      },
      "repo_path": {
        "type": "string",
        "description": "Repo path for component_inventory mode"
      }
    },
    "required": ["figma_url", "mode"]
  }
}

CLI Interface

# Extract screen specs from Figma
adlc-figma extract --url "https://figma.com/file/..." --output ./figma-specs.json

# Validate PRD against Figma
adlc-figma validate --url "https://figma.com/file/..." --prd ./prd.md

# Extract design tokens
adlc-figma tokens --url "https://figma.com/file/..." --output ./tokens.json

# Map Figma components to code components
adlc-figma components --url "https://figma.com/file/..." --repo ./my-repo

Quality Gates

  • Every PRD screen with a Figma reference has been validated
  • Conflicts between PRD and Figma are flagged with recommendations
  • Component inventory maps Figma components to code (or flags new ones needed)
  • Design tokens are extracted in a format coding agents can consume (CSS variables or JSON)
  • Stale screens (Figma updated after PRD was written) are flagged

When not to use it

  • When the Figma file is inaccessible or lacks frames

Prerequisites

Figma access tokenFigma file URL

Limitations

  • Requires valid Figma access token
  • Validation depends on PRD screen references

How it compares

It programmatically bridges the gap between design files and text-based PRDs to prevent drift and ensure pixel-accurate implementation.

Compared to similar skills

figma-integration side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
figma-integration (this skill)04moReviewIntermediate
penpot-uiux-design276moReviewAdvanced
elegant-design215moReviewIntermediate
visual-design-foundations55moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

penpot-uiux-design

github

Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design systems with components and tokens, (3) Designing dashboards, forms, navigation, or landing pages, (4) Applying accessibility standards and best practices, (5) Following platform guidelines (iOS, Android, Material Design), (6) Reviewing or improving existing Penpot designs for usability. Triggers: "design a UI", "create interface", "build layout", "design dashboard", "create form", "design landing page", "make it accessible", "design system", "component library".

27145

elegant-design

rand

Create world-class, accessible, responsive interfaces with sophisticated interactive elements including chat, terminals, code display, and streaming content. Use when building user interfaces that need professional polish and developer-focused features.

21108

visual-design-foundations

wshobson

Apply typography, color theory, spacing systems, and iconography principles to create cohesive visual designs. Use when establishing design tokens, building style guides, or improving visual hierarchy and consistency.

547

figma-use

dannote

Control Figma via CLI — create shapes, frames, text, components, set styles, layout, variables, export images. Use when asked to create/modify Figma designs or automate design tasks.

918

frontend-design-pro

claudekit

Creates jaw-dropping, production-ready frontend interfaces AND delivers perfectly matched real photos (Unsplash/Pexels direct links) OR flawless custom image-generation prompts for hero images, backgrounds, and illustrations. Zero AI slop, zero fake URLs.

1011

ui-designer

daymade

Extract design systems from reference UI images and generate implementation-ready UI design prompts. Use when users provide UI screenshots/mockups and want to create consistent designs, generate design systems, or build MVP UIs matching reference aesthetics.

48

Search skills

Search the agent skills registry