ingest-figma

Installation
SKILL.md

Ingest Figma

Extract design system from a Figma file using the REST API. Falls back to SVG-import if no token available.

Preflight

  1. Bash(test -n "$FIGMA_TOKEN" && echo has-token || echo no-token) — check env var
  2. If no-token:
    • Tell user: "No FIGMA_TOKEN found. Two options: (a) Get a token at https://www.figma.com/developers/api#access-tokens and export FIGMA_TOKEN=... in your shell, or (b) export the frame as SVG in Figma (Right-click frame → Copy as → Copy as SVG) and paste the file to artifacts/ingested/ — I'll parse the SVG."
    • Stop; wait for user response.

Parse URL

Figma URL format: https://www.figma.com/(file|design|proto)/<fileKey>/<name>?node-id=<nodeId>

Extract:

  • fileKey — alphanumeric after /file/ or /design/
  • nodeId — query param node-id (URL-decoded, often contains :)
Related skills
Installs
9
GitHub Stars
82
First Seen
13 days ago