ToggleOps

Figma to Code

Use when the user shares a Figma link or frame and wants it built as code that fits their project's own components and tokens, wants Figma components linked...

Open in the library

What it does

Use when the user shares a Figma link or frame and wants it built as code that fits their project's own components and tokens, wants Figma components linked to their code components (Code Connect mappings or .figma.ts templates), or wants a rules file that teaches the agent their design-system conventions. Triggers on "build this from Figma", "turn this frame into a component", "implement this screen", "connect this component to code", "map our components", "set up design system rules". Works through the user's own Figma account and the Figma MCP connector they installed.

What’s inside

11files
52 KBin total
7,787words of method
167hard numbers
SKILL.md5 KB
Markdown · 63 lines · 722 words · sha e332613a7000
Figma to Code8 lines · 4 numbers
Before you start3 lines
Reading the link4 lines · 4 numbers
Job 1: Build a frame (order of work)8 lines · 7 numbers
Job 2: Link components5 lines · 4 numbers
Job 3: Write mapping templates1 line
Job 4: Write project rules5 lines · 5 numbers
Always3 lines
DEMO.md213 B
Markdown · 3 lines · 35 words · sha 5f4bdef795c6
Opening2 lines · 1 number
QUESTIONS.md987 B
Markdown · 7 lines · 139 words · sha 0081ad8d1f60
Open questions (the source was silent or contradicted itself)4 lines · 4 numbers
TAGS.md639 B
Markdown · 11 lines · 99 words · sha d588ac8be42c
Figma to Code9 lines · 3 numbers
references7 files · 45 KB
better-input.md2 KB
Markdown · 39 lines · 383 words · sha e982cfb1aa05
Getting better input: the design file and the prompt1 line
In the design file7 lines · 2 numbers
In the prompt11 lines
When the agent picks the wrong tool1 line
Break big selections up1 line
When output still looks wrong1 line
Prototype projects1 line
build-a-frame.md7 KB
Markdown · 100 lines · 1,184 words · sha 582908fba1f4
Job 1: Build a frame in the user's codebase1 line
Order of work (in order, none skipped)9 lines · 17 numbers
Large screens10 lines · 8 numbers
Single components6 lines · 7 numbers
Translation rules9 lines
Parity rules5 lines
Asset rules11 lines · 2 numbers
Where the code goes5 lines
Habits4 lines
Checking the result9 lines
When it goes wrong6 lines
link-components.md5 KB
Markdown · 101 lines · 887 words · sha d3c902afec8a
Job 2: Link design components to code components1 line
Needs4 lines
Order of work (in order, none skipped)63 lines · 36 numbers
Errors and fixes10 lines
mapping-templates.md11 KB
Markdown · 175 lines · 1,511 words · sha 8be539661f73
Job 3: Write mapping template files1 line
Format (check this before anything else)4 lines
Before starting8 lines
Order of work121 lines · 27 numbers
Pitfalls (each one breaks output)8 lines · 8 numbers
project-rules.md7 KB
Markdown · 84 lines · 1,040 words · sha accdd1532477
Job 4: Write project rules for design work1 line
When5 lines
Order of work (in order, none skipped)19 lines · 15 numbers
Which rules to include3 lines
Fresh sample (Fernbrook, made up: React, TypeScript, CSS modules18 lines · 6 numbers
Writing good rules5 lines
When rules misbehave6 lines
setup-and-tools.md5 KB
Markdown · 46 lines · 720 words · sha cc8392c456c9
Setup, limits and the tool list0 lines
What you need5 lines
Limits6 lines · 2 numbers
Install (the user does this)3 lines
Checking it works2 lines
Tool catalogue14 lines
Assets1 line
template-api.md7 KB
Markdown · 103 lines · 1,067 words · sha 2da82ac9a9e3
Template API facts1 line
The `figma` module4 lines
`instance` methods24 lines
Handles2 lines
SelectorOptions4 lines
Export12 lines
Result shapes5 lines · 2 numbers
Project config: `figma.config.json`10 lines · 3 numbers
Header comments1 line
Command line (the user runs these with their own token)5 lines
Troubleshooting7 lines

The text is never on this site. It loads into your Claude when a task needs it.

More skills

ExploreFor creatorsDiscordTermsPrivacy
Not affiliated with Anthropic. Claude is a trademark of Anthropic.
Get early access