Binary-searches Figma version history to find which version introduced a component property or child node, like git blame for Figma. Useful for attributing design changes.
Ships in figma-console-mcp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Like git blame, but for Figma. Given a node and a target (a componentPropertyDefinitions key or
a descendant child node id), this localizes the version that first introduced the target and
returns that version's label, author handle, and timestamp.
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.
A naive walk would fetch the node at every version — N API calls for N versions. Existence of a
target is monotonic (added once, then present in every newer version up to HEAD), so we binary
search: probe the midpoint, check whether the target exists there, then narrow to the older or newer
half. That's ~log2(N) calls — e.g. ~8 probes across 200 versions instead of 200. This is the
rate-limit-friendly approach: Figma REST is throttled per token, and old snapshots are immutable, so
fewer probes is strictly better.
X-Figma-Token: $FIGMA_TOKEN against https://api.figma.com.FILE_KEY=$(echo "$FILE_URL" | sed -E 's#.*/(design|file)/([A-Za-z0-9]+).*#\2#')
Identify the node and the target. node_id is typically a COMPONENT_SET. The target is
exactly one of:
--property '<key>' — a componentPropertyDefinitions key like Disabled#1:2, or--child '<node_id>' — a descendant node id that should appear under node_id.List versions first if you want to bound the search or sanity-check IDs:
../figma-version-history/scripts/list-versions.sh ABC123def456 --autosaves
Run the blame search with scripts/blame-node.mjs:
# When was a component property first added?
node scripts/blame-node.mjs --file ABC123def456 --node 695:313 --property 'Disabled#1:2'
# When was a child node first added under a component set?
node scripts/blame-node.mjs --file ABC123def456 --node 695:313 --child 695:340
# Bound the lookback and start from a specific version instead of HEAD
node scripts/blame-node.mjs --file ABC123def456 --node 695:313 --property 'Size#9:0' \
--start 4096800000 --max 100 --no-autosaves
It prints JSON: the introducing version (version_id, label, user_handle, created_at), an
attribution_certainty, and a probes_made count so you can see how few calls it took.
attribution_certainty tells you how much to trust the answer:
exact — a real, attributable version introduced the target.system_attributed — the introducing version was a system autosave (user = "Figma"). Re-run
with --no-autosaves to snap to the nearest labeled version that contains the change.exists_at_lookback_horizon — the target also exists at the oldest version we scanned, so the
true introduction is older than the search range. Increase --max.metadata_unavailable — introduced at --start itself but author metadata wasn't found within
the versions-list lookback. The introduction is real; the user just isn't attributable from REST.--start must contain the target. You're asking "when was this introduced", so the search
requires the target to exist at the starting version (default HEAD/current). To track something
that was removed, pick a --start where it still existed.--no-autosaves for human-labeled attribution only.404 mid-search usually means a probed version_id was pruned by retention — re-run; the
search tolerates and skips missing nodes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/figma-console-mcp-skills:figma-blame-nodefrom figma-console-mcp-skills
npx claudepluginhub southleft/figma-console-mcp-skills --plugin figma-console-mcp-skills23 skills in this plugin
/figjam-create-contentAuthor FigJam boards with granular control — sticky notes (single + batch), connectors between nodes, shapes-with-text, sections, tables, code blocks, and auto-arrange — plus read back board contents and the connection graph. Use when the user wants to build or edit a FigJam board element-by-element. Triggers: 'add stickies to FigJam', 'create a flowchart/diagram in FigJam', 'connect these nodes', 'make a section/table/code block in FigJam', 'auto-arrange the board', 'read what's on the FigJam board', 'map the connections'. More granular than the native generate_diagram (which produces a whole diagram in one shot). FigJam files only (figma.editorType === 'figjam'). Requires the Figma Desktop app (Plugin API)./figma-analyze-component-setAnalyze a Figma COMPONENT_SET as a state machine for code generation — extract variant axes (state/size/etc.), map state variants to CSS pseudo-classes (hover→:hover, focus→:focus-visible, disabled→:disabled, error→[aria-invalid]), and compute per-variant visual diffs (only what changes per state). Use when generating an interactive component from a Figma variant set — triggers: 'analyze this component set', 'turn these variants into CSS states', 'generate a button/input/checkbox from Figma variants', 'what changes between the hover and default state', 'map Figma variants to component props', 'extract the state machine for this component'. Resolves bound variables to token names. NOT covered by the native MCP's get_design_context/get_metadata, which don't give you a variant-axis→CSS-state machine./figma-annotationsRead and write designer annotations on Figma nodes — node-level design specs that pin properties (fills, width, fontSize, etc.) and carry plain or markdown notes. Use when the user wants to document or inspect interaction specs, animation timings, easing, accessibility requirements, or implementation notes attached directly to a node. Triggers: 'add an annotation', 'annotate this node/component', 'read the annotations on…', 'what specs are pinned to this element', 'list annotation categories', 'document the focus behavior on this button in Figma'. Annotations are distinct from comments (they pin to design properties) and from the description field. Requires the Figma Desktop app (Plugin API)./figma-arrange-component-setOrganize a Figma COMPONENT_SET's variants into a clean, labeled grid — rows and columns derived from the variant properties, with row labels on the left, column headers on top, and a titled white container. Use when a variant set is a messy pile and you want a presentable, documentation-ready layout — triggers: 'arrange my variants in a grid', 'organize this component set', 'lay out the variants with labels', 'make a variant matrix', 'clean up my component set layout', 'add row/column headers to my variants'. Picks the last property (usually State) as columns and the rest as rows by default. NOT something the native MCP's read-only tools do — this writes a new organized layout to the canvas./figma-audit-accessibilityDeep accessibility scorecard for a single Figma component or component set — state coverage (default/hover/focus/disabled/error/active/loading), focus-indicator quality and contrast, non-color state differentiation, target size, annotation completeness, and color-blind simulation (protanopia/deuteranopia/tritanopia), all rolled into per-category 0–100 scores and prioritized recommendations. Use when the user wants to vet ONE component before shipping it: triggers 'audit this component', 'accessibility score for this button', 'is this component set accessible', 'check the states on this component', 'does my button have a focus state', 'color blind check', 'rate this component for a11y', 'component accessibility scorecard'. Works on ANY Figma plan. For a broad sweep over a whole page/frame use figma-lint-design; for CODE-side (HTML) checks use figma-scan-code-accessibility./figma-check-design-parityCompare a Figma node's actual specs against a code spec (the values your component renders) and get a 0–100 parity score, a list of discrepancies, and fix suggestions. Use to detect design-to-code DRIFT: triggers 'check design parity', 'does my code match the Figma', 'compare this component to the design', 'is my implementation faithful', 'find differences between design and code', 'verify the build matches Figma', 'design QA against code', 'parity score'. Reads the node's visual / typography / spacing / token / accessibility specs via use_figma (any plan) and diffs them against a codeSpec you provide. Complements the native get_design_context: instead of GENERATING code, it VALIDATES that existing code stayed in sync with the design.Other plugins' skills for the same job