figma-scrape
Extract a Figma selection from a URL into a structured design bundle. Use whenever the user provides a figma.com URL with a node-id. Ask which view/screen this is, then run the extract.mjs script using $FIGMA_TOKEN from the environment — no token prompts, no Puppeteer, no Figma MCP. For a local .fig file, fig-extract.mjs writes the same bundle offline (see figma-to-eitri).
Pinned to revision 6dc85a347229, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/figma-scrape/SKILL.md
- skills/figma-scrape/scripts/extract.mjs
- skills/figma-scrape/scripts/fig-extract.mjs
- skills/figma-scrape/scripts/lib/bundle.mjs
- skills/figma-scrape/scripts/lib/kiwi.mjs
- skills/figma-scrape/scripts/package.json
Every link opens the file at its source, pinned to the revision this page describes.