Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates framework-matching code from Figma selections, reusing existing components and design tokens in the project.
43% 83%+39 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 10 of 23 without it.
This test ran on v5. v8 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Turn a Figma selection into code that looks like the rest of the project: reuse the components and
tokens that already exist, only build what's genuinely missing. The grounded tools do the heavy
lifting so you are not guessing from a screenshot. This file is the router; deep detail lives in
references/ — load a reference when its step is in play.
Every tool result says so when it applies, so you do not have to check up front: with two or more
files connected and none claimed, results carry a MORE THAN ONE FIGMA FILE IS OPEN block naming
them. It matters because calls otherwise follow whichever file the user last touched, which changes
when they switch tabs — so a task can read one file and write to another and report success.
When you see it, claim the file before doing anything else: list_files names every connected file,
use_file({ fileName }) claims one for this session (use_file({ sessionId }) when two open files
share a name — Figma allows that, and x (Copy) is how it happens). Every later call then reaches
that file whatever is in front, including while its tab sits in the background. If the user has not
said which file, ask — do not guess from the names.
Run the grounded tools against the selection, then generate — trust them over the rendered image.
get_design_context (detail full, dedupeComponents: true) → the structural tree with
tokens resolved to names (Primary/500, spacing/4), styles deduped into globalVars, and each
instance's mainComponent / componentProperties. This is the layout + binding source of truth.
Keep dedupeComponents: true and don't depth-limit a subtree you'll build from.
→ How to read the tree, the per-node fidelity catalog (effects, per-side borders, stroke align,
per-corner radius, blend, masks, gradients, image-fit, patterns, Figma Draw repeat groups /
brush strokes / text on a path, auto-layout/grid, aspect-ratio, scroll/sticky, stack &
stroke-space), Dev Mode annotations as ground truth, and grounding a page
too big for one call: references/grounding.md.
component_map → every Figma component grouped to a local code component with a status
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.