跳到正文
TakoAPI
返回技能列表

kai-tw-figma

由 kai-tw 提供

Image & Video Generation
797下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

  • FIGMA_TOKEN environment variable (Figma Personal Access Token)

安装

clawhub install kai-tw/kai-tw-figma

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接