Figma
Builds and debugs Figma files: auto layout, components and variants, variables and modes, libraries, prototypes, and Dev Mode handoff. Use when a frame will…
by clawic★ 23 GitHub stars
Install Figma in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
User preferences and observed context live in ~/Clawic/data/figma/ (see setup.md on first use, memory-template.md for the file format). If you have data at an old location (~/figma/ or ~/clawic/figma/), move it to ~/Clawic/data/figma/, and say in one line that you moved it and from where.
When To Use
- Building or restructuring a file: auto layout, component sets, variables and modes, library architecture
- Debugging a file: a frame that will not resize, clipped text, a laggy variant set, a file that takes a minute to open
- Preparing handoff: Dev Mode annotations, Code Connect, Ready-for-dev scope, the sad-path states engineers otherwise invent
- Theming and tokens inside Figma: dark mode, brand and density modes, alias chains, plan-gated mode limits
- Automating: plugins, the REST API, the Dev Mode MCP server, bulk renames, unused-component audits
- Not for visual design judgment (design), token pipelines into platform code (design-tokens), or prototypes that outgrow Figma (prototyping). Dev Mode annotations, Code Connect and Ready-for-dev scope live here because they are built inside the file; the spec document, the redline artifact and the review ritual around it are design-handoff
Mode: act-as through the API and plugin surfaces, advise on the canvas. Figma has no CLI, so canvas work is delivered as named panel fields and shortcuts the user executes, in click order (shortcuts.md); anything scriptable is delivered as plugin code or REST calls.
Quick Reference
| Situation | Play |
|---|---|
| A frame won't grow or shrink | Fill child inside a Hug parent on the same axis — the size is undefined and Figma freezes it. Fix the outermost container first, then work inward (→ Sizing Modes) |
| Text clips, wraps wrong, or shows an unexpected ellipsis | Text node is Fixed size, or Max lines is set; switch to Auto height and let the parent Hug → text.md |
| Engineers say "it breaks on resize" | Absolute positioning where auto layout belongs; the screenshot was fine, the tree was not → auto-layout.md |
| Dark mode, brand themes, or density variants needed | One tree, a second mode on the color collection, every fill bound to a semantic alias → variables.md |
| A variant set lags when edited, or nobody can find a variant | Past the combinatorial ceiling; move uncoupled axes to boolean, text, and instance-swap properties (→ Component Property Types) → components.md |
| A library update broke consuming files | Review per component, never Accept all; version breaking changes instead of editing a main in place → libraries.md |
| Handoff churn: engineers rebuild instead of reusing | Components have no code identity — map them with Code Connect and annotate what code cannot infer → dev-mode.md |
| Prototype motion crossfades instead of moving | Smart Animate found no name-and-hierarchy match across the two frames → prototyping.md |
| Icons look blurry, misaligned, or export at the wrong size | Stroke alignment plus off-pixel bounds; export from a fixed keyline frame → vectors.md |
| Assets needed at @2x/@3x, mdpi→xxxhdpi, or as clean SVG | Export settings and density presets per platform → export.md |
| The file takes forever to open or edit | Rank the causes: raster images, vector node count, effects, layer count, fonts → performance.md |
| The same edit has to happen on 50 layers | 10+ repetitions justifies a plugin; read-only audits belong on the REST API → plugins.md |
| A pipeline needs the file's structure, tokens, or renders | Targeted node fetches, not whole-file pulls; webhook on library publish → rest-api.md |
| A feature seems missing from the UI | Plan gate, not a bug — modes, branching, Dev Mode, analytics and the Variables API are all tiered → collaboration.md |
| Contrast, focus order, or touch targets need speccing | Annotate what the visual layer cannot carry → accessibility.md |
| Speccing for iOS, Android, or a foldable | Densities, safe areas, system UI and touch minimums differ from web → mobile.md |
| Inherited a messy file, or importing from Sketch/XD | Inventory before editing; freeze a named version first → audit.md |
| A workshop, flow diagram, deck, site, or generated draft is the deliverable | FigJam, Slides and the newer publishing and generative surfaces are separate editors with their own object models and seat gates → surfaces.md |
| The fix is a canvas operation the user has to perform | Deliver panel, section, field and key in click order — never "find the setting" → shortcuts.md |
| Anything else | Rebuild the smallest failing case in a fresh file with two frames. If it behaves there, the bug is this file's structure, not Figma |
Depth on demand: auto-layout.md sizing engine · components.md sets and properties · variables.md tokens and modes · libraries.md publishing and versioning · dev-mode.md handoff and Code Connect · prototyping.md flows and motion · text.md type mechanics · vectors.md icons and pa
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- _meta.json
- accessibility.md
- audit.md
- auto-layout.md
- collaboration.md
- components.md
- dev-mode.md
- export.md
- libraries.md
- memory-template.md
- mobile.md
- performance.md
- plugins.md
- prototyping.md
- rest-api.md
- setup.md
- shortcuts.md
- surfaces.md
- text.md
- variables.md
- vectors.md
FAQ
What does the Figma skill do?
Builds and debugs Figma files: auto layout, components and variants, variables and modes, libraries, prototypes, and Dev Mode handoff. Use when a frame will not resize, text clips or overflows, a variant set lags, a library update breaks instances, dark mode or theming needs modes instead of duplicated screens, engineers say the UI breaks on resize, icons export blurry, a file opens slowly, an inherited file needs auditing, or work has to be scripted through plugins, the REST API, or the Dev Mode MCP server. Covers component properties, token naming, Code Connect, export densities, FigJam and Slides. Not for piping tokens into platform code (design-tokens), prototyping beyond Figma (prototyping), visual design judgment (design), or the handoff process around the file — spec documents, redlines, review rituals (design-handoff).
How do I install the Figma skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Figma skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…