Lists a Figma file's version history, snapshots the file at any past version, and diffs two versions (page-structure + per-component changes). Useful for inspecting Figma history, comparing releases, or recovering past states.
How this skill is triggered — by the user, by Claude, or both
Slash command
/figma-console-mcp-skills:figma-version-historyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Version history lives only in Figma's **REST API**, so this skill calls REST directly with a
Version history lives only in Figma's REST API, so this skill calls REST directly with a personal access token (PAT). It does three things:
version_id.depth=2.Setup — terminal + token required. This skill runs shell commands, so it works in Claude Code (including the "Code" tab inside Claude Desktop), Cursor, Codex, or Gemini CLI — it does not run in plain Claude Desktop or claude.ai chat (no shell). The Figma connector's OAuth login does not authorize these REST calls, so you must supply your own Figma personal access token: in Figma go to Settings → Security → Personal access tokens, generate one with scope File content: read (plus File versions: read), then set it in your shell:
export FIGMA_TOKEN="figd_…". The script reads it from the environment at runtime — never put the token in a skill file.
https://api.figma.com with the header X-Figma-Token: $FIGMA_TOKEN.The file key is the path segment after /design/ or /file/ in a Figma URL:
FILE_URL="https://www.figma.com/design/ABC123def456/My-File"
FILE_KEY=$(echo "$FILE_URL" | sed -E 's#.*/(design|file)/([A-Za-z0-9]+).*#\2#')
echo "$FILE_KEY" # ABC123def456
List versions to find the version_ids you care about. Run
scripts/list-versions.sh:
./scripts/list-versions.sh ABC123def456 # labeled versions only (default)
./scripts/list-versions.sh ABC123def456 --autosaves # include unlabeled auto-saves
It auto-paginates (newest-first) and prints version_id | created_at | author | label.
By default it filters out unlabeled auto-saves; pass --autosaves to keep them.
Snapshot a version with a one-line curl (omit &version= for current/HEAD). Save to disk so
you can diff repeatedly without re-fetching — past versions are immutable:
# Whole file at a past version (depth=1 keeps it small for orienting)
curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
"https://api.figma.com/v1/files/$FILE_KEY?version=4096761871&depth=1" \
> /tmp/v-4096761871.json
# Just specific nodes at that version (much smaller payload)
curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
"https://api.figma.com/v1/files/$FILE_KEY/nodes?ids=695:313&version=4096761871&depth=2"
# Current / HEAD — omit the version param entirely
curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
"https://api.figma.com/v1/files/$FILE_KEY?depth=1"
Diff two versions with scripts/diff-versions.mjs. It fetches
both snapshots, computes a page-structure diff (cheap, 2 calls), and — if you pass
--components — deep per-node diffs at depth 2 (added/removed children, name/description
changes, componentPropertyDefinitions changes for COMPONENT_SETs, and boundVariables
deltas):
# Page-structure diff only (2 API calls)
node scripts/diff-versions.mjs --file ABC123def456 --from 4096761871 --to current
# Deep diff of specific component sets (2 calls per node), detailed verbosity
node scripts/diff-versions.mjs --file ABC123def456 --from 4096761871 --to 4096800000 \
--components 695:313,420:88 --mode detailed
Use current (or omit --to) to diff against HEAD. --mode is summary (counts only),
standard (names + counts, default), or detailed (full property/binding detail).
The diff is honest about its blind spots — don't read "no changes" as "nothing changed":
componentPropertyDefinitions (added/removed/type/default change),
name & description changes, and variable binding references.--components), raw layout props (hug-vs-fill, unbound paddings/widths/cornerRadius),
unbound fills/strokes/effects, variable VALUE changes (Figma REST never exposes these), and
style content. For forensic per-edit history including raw property changes, the live Desktop
Bridge plugin's figma_get_design_changes is the complementary tool.after=<version_id> returns versions older in
time (the list is newest-first). list-versions.sh handles this for you.version_ids can be pruned by Figma's plan-tier retention policy — a 404 on snapshot
usually means the version aged out, not that your key is wrong. Re-list to get valid IDs.403 on these endpoints means your PAT is missing the File versions: Read scope — reissue it.npx claudepluginhub southleft/figma-console-mcp-skills --plugin figma-console-mcp-skillsGenerates human-readable markdown changelogs between two Figma file versions, including page and component changes with author info. Useful for release notes, PRs, or design changelogs.
Automates Figma design file inspection, component extraction, asset export, and image rendering via Composio's Figma toolkit over MCP.
Defines version control strategies for design files, component libraries, design tokens, icons, and docs using branching, semantic versioning, and changelogs.