last update
Jun 9, 2026
license
MITv1.0.0
format
SKILL.md
- Install
// Downloads SKILL.md into ~/.claude/skills/figma-dev-mode-handoff/
$ curl -fsSL --create-dirs -o ~/.claude/skills/figma-dev-mode-handoff/SKILL.md https://claudeskil.com/skills/figma-dev-mode-handoff/SKILL.md - Invoke
// Inside Claude Code, type the skill name as a slash command
> /figma-dev-mode-handoff give my landing page a hero treatment - Or just ask
// Claude loads the skill by itself when a request matches its description
> give my landing page a hero treatment
- name:
- Figma Dev Mode Handoff
- slug:
- figma-dev-mode-handoff
- version:
- v1.0.0
- license:
- MIT
- author:
- @chiragthummar16
- categories:
- tags:
- #figma#dev-mode#handoff#code-connect#design-to-code
- description:
Ship clean Figma Dev Mode handoffs — specs, tokens, code snippets, annotations devs don't have to guess at.
// What you can do with it
- Marks status: flips frames to Ready for dev in Dev Mode so engineers can filter the file to only what's shippable, and flags sections still in flux.
- Writes annotations: adds Dev Mode annotations on layers for behavior, constraints, interaction states, and edge cases the visuals don't convey.
- Maps variables to tokens: pairs Figma variables with your code token names (e.g. color/bg/subtle → --color-bg-subtle) so the generated CSS/Tailwind reads in your vocabulary, not hex soup.
- Sets up Code Connect: links Figma components to their real implementations via figma.connect() in *.figma.tsx files, so the Code panel surfaces your instead of a div tree. Pushes mappings with figma
- Produces the spec: a per-section summary of components used, token references, redlines, and open questions.
README.md
Figma Dev Mode Handoff
Turns a finished design file into a handoff a developer can build from cold — sections marked ready-for-dev, annotations on the tricky parts, Figma variables mapped to your code tokens, and Code Connect wired up so the right component shows in Dev Mode's Code panel. Built for designers who own the handoff and for frontend engineers tired of asking "is this final?" and "what's the radius here?"
When to use it
- A feature is design-complete and you're about to throw it over the wall to engineering.
- Dev Mode shows raw CSS for every layer but none of your actual component names or token references.
- Your design system has Figma variables (colors, spacing, radii) that don't visibly line up with the values in code.
- You keep getting Slack pings about spacing, states, breakpoints, or empty/error variants.
What it does
- Marks status: flips frames to Ready for dev in Dev Mode so engineers can filter the file to only what's shippable, and flags sections still in flux.
- Writes annotations: adds Dev Mode annotations on layers for behavior, constraints, interaction states, and edge cases the visuals don't convey.
- Maps variables to tokens: pairs Figma variables with your code token names (e.g.
color/bg/subtle→--color-bg-subtle) so the generated CSS/Tailwind reads in your vocabulary, not hex soup. - Sets up Code Connect: links Figma components to their real implementations via
figma.connect()in*.figma.tsxfiles, so the Code panel surfaces your<Button variant="primary">instead of a div tree. Pushes mappings withfigma connect publish. - Produces the spec: a per-section summary of components used, token references, redlines, and open questions.
Usage
curl -fsSL --create-dirs -o ~/.claude/skills/figma-dev-mode-handoff/SKILL.md https://claudeskil.com/skills/figma-dev-mode-handoff/SKILL.md
# In Claude, point it at the frame and your component repo:
# "Prep the Checkout flow in <figma-url> for handoff.
# Map variables to tokens in src/styles/tokens.css and
# link components to src/components via Code Connect."
A generated Code Connect file looks like:
import figma from "@figma/code-connect"
import { Button } from "./Button"
figma.connect(Button, "https://figma.com/file/abc?node-id=12:34", {
props: { label: figma.string("Label"),
variant: figma.enum("Variant", { Primary: "primary" }) },
example: ({ label, variant }) => <Button variant={variant}>{label}</Button>,
})
Tips & gotchas
- Code Connect requires a Figma Organization or Enterprise plan; the Dev Mode MCP server is separate and runs locally against the desktop app.
- Variable mapping only sticks if layers actually bind the variable — a hardcoded hex that merely matches a token won't surface as a token.
- Run
figma connect publishafter edits; mappings are file-scoped and won't appear in Dev Mode until pushed. - Annotations live in Dev Mode, not Design mode — collaborators in Design view won't see them.
FAQ
Does this need an Enterprise plan? Code Connect and Ready for dev status need Dev Mode (paid Dev/Full seats). Reading annotations is free for the engineer.
Will it change my designs? No — it only sets status, adds annotations, binds existing variables, and writes Code Connect files in your repo.
Tailwind or CSS variables? Both. Tell it which token file and format you use and the spec matches it.
authored by
@chiragthummar16Android Jetpack Pro
Ship Jetpack Compose screens, ViewModels, and Gradle config with idiomatic best practices baked in.
0iOS SwiftUI Architect
Design SwiftUI apps with clean architecture: MV pattern, @Observable, and Swift Concurrency.
0PPT Deck Designer
Turn a rough outline into a visually polished pitch deck with on-brand layouts and speaker notes.
0Video Cut Assistant
Produce edit decision lists, trim plans, and subtitle cues from raw footage transcripts.
0
$ cat reviews/