kai-tw-figma
kai-tw 제작
Image & Video Generation요약
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
Reads the file structure using the file key to locate component node IDs
- 2
Identifies the relevant icon layer IDs
- 3
Calls the export endpoint with format=png and scale=2
- 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-figmaCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.