Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
duc01226 avatar

Figma Extract

  • 9 installs
  • 7 repo stars
  • Updated June 18, 2026
  • duc01226/easyplatform

Extracts design specifications and tokens (colors, typography) from Figma files via MCP.

About

Extracts design specifications and tokens such as colors and typography from Figma files via MCP. A developer uses it when converting a Figma design into structured tokens or specs.

  • Pulls colors, typography, and tokens
  • Figma-to-spec via MCP

Figma Extract by the numbers

  • 9 all-time installs (skills.sh)
  • Ranked #1,468 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/duc01226/easyplatform --skill figma-extract

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs9
repo stars7
Last updatedJune 18, 2026
Repositoryduc01226/easyplatform

What it does

Extracts design specifications and tokens (colors, typography) from Figma files via MCP.

Files

SKILL.mdMarkdownGitHub ↗

Figma Extraction

Extract design specifications from Figma files using MCP integration.

When to Use

  • Figma URL provided for design extraction
  • Need design tokens from Figma
  • Converting Figma to implementation spec

Pre-Workflow

Activate Skills

  • Activate design-spec skill for design extraction best practices

Arguments

ArgRequiredDefaultDescription
urlYes-Figma design URL
outputNomarkdownmarkdown \
depthNo5Hierarchy depth 1-10
timeoutNo30Seconds

Workflow

1. Parse URL

  • Extract file key from URL
  • Extract node ID if present (?node-id=X:Y)
  • Pattern: figma.com/(design|file)/([a-zA-Z0-9]+)

2. Validate MCP

  • Check if Figma MCP tools available
  • If not: return error with setup instructions

3. Extract via MCP

  • Call Figma MCP with file key
  • If node ID: filter to specific node
  • Apply timeout (default 30s) - abort if exceeded
  • Limit component depth (default 5 levels)
  • Handle rate limit errors gracefully

4. Transform Response Extract and structure:

  • Colors: fills, strokes -> hex/rgba table
  • Typography: text nodes -> font/size/weight table
  • Spacing: auto-layout -> padding/gap table
  • Components: node tree -> hierarchy text

5. Format Output

  • markdown: Tables matching design-spec template Section 7
  • json: Structured object for programmatic use

6. Return Result

  • Save extraction output to team-artifacts/designs/{YYMMDD}-figma-extract-{feature}.md
  • Success: formatted specs
  • Partial: specs with warnings about missing data
  • Failed: error message with fallback suggestion

URL Format

https://www.figma.com/design/{fileKey}/{fileName}?node-id={nodeId}

Output Format (markdown)

Colors

NameHexUsage
Primary#3B82F6Buttons, links

Typography

ElementFontSizeWeight
HeadingInter24px600

Spacing

ElementPaddingGap
Card16px12px

Component Hierarchy

Frame "Card"
+-- Image "avatar"
+-- Text "name"
+-- Frame "actions"
    +-- Button "edit"
    +-- Button "delete"

Error Handling

ErrorMessage
No MCP"Figma MCP not configured. See .claude/docs/figma-setup.md"
Invalid URL"Could not parse Figma URL. Expected: figma.com/design/{key}"
Timeout"Figma extraction timed out after {timeout}s. Try with specific node-id or reduce depth."
Rate limited"Figma API rate limit reached. Try again later."
Not found"Figma file not found or not accessible with current token"
Too deep"Component hierarchy exceeds max depth ({depth}). Results truncated."

Configuration Defaults

SettingValueRationale
Max Component Depth5 levelsPrevents token bloat
Extraction Timeout30 secondsPrevents blocking
Max Colors20Focus on primary palette
Max Typography10Focus on main text styles

Example

/figma-extract https://www.figma.com/design/ABC123/MyDesign?node-id=1:2

Related

  • Role Skill: ux-designer
  • Used by: /design-spec
  • MCP: Requires figma MCP tools

IMPORTANT Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.