返回 Skill 列表
extension
分类: 安全与合规需要 API Key

Figma

使用Figma REST API认证,与Figma文件交互,读取文件结构,导出图层为图片,获取评论。

person作者: kai-twhubclawhub

Figma Skill

This skill allows the agent to interact with Figma files via the REST API.

Setup

Requires a Figma Personal Access Token (PAT). Environment Variable: FIGMA_TOKEN

Procedures

1. Read File Structure

To understand the contents of a Figma file (pages, frames, layers): python scripts/figma_tool.py get-file <file_key>

2. Export Images

To export specific layers/components as images: python scripts/figma_tool.py export <file_key> --ids <id1>,<id2> --format <png|jpg|svg|pdf> --scale <1|2|3|4>

3. Check Comments

To list recent comments on a file: python scripts/figma_tool.py get-comments <file_key>

References