Reads and writes designer annotations on Figma nodes — pinned design properties with notes for interaction specs, animation timings, easing, and accessibility requirements.
Ships in skills-for-figma. 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.
Annotations are designer-authored specs attached to a node. Each can carry a note (plain label
or rich labelMarkdown), a set of pinned properties (fills, width, fontSize, …) that link
the note to specific design attributes, and an optional category (interactions, accessibility,
dev notes, …). They live on the node, survive edits, and are undoable (Cmd+Z). They are the right
place for animation timings, easing curves, interaction behavior, and a11y requirements that don't
belong in the component description.
use_figma rules — load the official figma-use skill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-level await + return (no IIFE, no figma.closePlugin(); console.log is not returned), inputs inlined as const at the top of each script, colors in 0–1 range, load fonts before any text op, await figma.getNodeByIdAsync(...), and atomic errors (a failed script applies nothing — read the error, fix, retry).categoryId (category names are per-file and not guessable). See the script.scripts/get-annotations.js — set INCLUDE_CHILDREN
to walk a component tree for full-component documentation.scripts/set-annotations.js. Choose MODE:
'replace' (default — overwrites all annotations on the node) or 'append' (keeps existing).
Pass ANNOTATIONS = [] with 'replace' to clear all annotations.await figma.loadFontAsync(...) first (see conventions).label and labelMarkdown on read, but rejects writing both — when
appending, prefer labelMarkdown if present, else label. The append script already does this.properties only pins which attributes the note is about; it does not set their values. Use the
exact strings from references/annotation-properties.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/analyze-component-set-figmaAnalyze 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./arrange-component-set-figmaOrganize 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./skills-for-figma:annotations-figmafrom skills-for-figma
npx claudepluginhub southleft/skills-for-figma --plugin skills-for-figmaOther plugins' skills for the same job