Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

kai-tw-figma

bởi kai-tw

Image & Video Generation
797Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Interact with the Figma REST API to read files, export layers/components as images, and retrieve comments.

Mô tả

Kỹ năng này làm gì

Connects an agent to the Figma REST API to read file structures, export layers and components as images, and retrieve comments. Requires a Figma Personal Access Token set as an environment variable.

Lets agents fetch Figma data and export assets programmatically without manual downloads or browser access.

Khi nào nên dùng

  • Exporting design assets before a frontend sprint
  • Checking design comments without opening Figma
  • Pulling layer IDs to automate asset pipelines
  • Reading page and frame structure from a shared file
  • Generating SVG/PNG exports at multiple resolutions

Quy trình ví dụ

ĐẦU VÀO

User asks: export the icon components from this Figma file as 2x PNGs

AGENT
  1. 1

    Reads the file structure using the file key to locate component node IDs

  2. 2

    Identifies the relevant icon layer IDs

  3. 3

    Calls the export endpoint with format=png and scale=2

  4. 4

    Returns the image URLs or downloads the files

ĐẦU RA

A set of 2x PNG exports for the requested icon components

Yêu cầu

  • FIGMA_TOKEN environment variable (Figma Personal Access Token)

Cài đặt

clawhub install kai-tw/kai-tw-figma

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết