Agent skill
figma-extract
Extract design specifications and tokens from Figma files via MCP. Use when pulling design from Figma, extracting colors/typography, or converting Figma to spec. Triggers on keywords like "figma extract", "figma url", "figma tokens", "pull figma", "figma design".
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/figma-extract
SKILL.md
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
Quick Reference
Workflow
- Parse Figma URL (validate format)
- Call MCP figma tools
- Extract hierarchy (components, frames)
- Extract design tokens (colors, text styles)
- Return structured output
- Used by
/design-specfor full spec
URL Format
https://www.figma.com/design/{fileKey}/{fileName}?node-id={nodeId}
Arguments
| Arg | Required | Default | Description |
|---|---|---|---|
| url | Yes | - | Figma design URL |
| output | No | markdown | markdown | json |
| depth | No | 5 | Hierarchy depth 1-10 |
| timeout | No | 30 | Seconds |
Output Structure
## Component: {Name}
### Hierarchy
- Frame: {name}
- Component: {name}
- Text: {content}
### Design Tokens
#### Colors
- Primary: #XXXXXX
- Secondary: #XXXXXX
#### Typography
- Heading: {font} {size}/{lineHeight}
- Body: {font} {size}/{lineHeight}
#### Spacing
- Gap: {value}px
Related
- Role Skill:
ux-designer - Command:
/figma-extract - Used by:
/design-spec - MCP: Requires figma MCP tools
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?