搜索

PythonReactSEOPDF
GitHub 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".

duc01226☆ 3 仓库 Stars1 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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
  1. Parse Figma URL (validate format)
  2. Call MCP figma tools
  3. Extract hierarchy (components, frames)
  4. Extract design tokens (colors, text styles)
  5. Return structured output
  6. Used by /design-spec for 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

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!