figma-use
Skill7 starsChanged 4 months agoMITView on GitHub
Foundational Figma canvas skill — structure, Auto Layout, variables, MCP tools, self-healing loop
18 other projects use a version of this.
Adopted by
Most recently taken up by
- app-builders-club/design-buildertheir own version, first seen Nov 1, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- PracticalSwan/agent-skillstheir own version, first seen Oct 19, 2026
- jhy0285/monofieldtheir own version, first seen Oct 13, 2026
- openai/pluginstheir own version, first seen Oct 13, 2026
- studio-lgtm/Claude-Skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use figma-design-to-code, figma-swiftui and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillfigma-design-to-code
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE calling the `get_design_context` Figma MCP tool. You MUST trigger this skill whenever the user wants to implement, build, port, or code up a Figma design as code. Example prompts (not exhaustive) are 'implement this Figma design', 'build this screen from Figma', 'turn this Figma into code', 'design to code'. This skill provides critical instructions and steps to the agent on how to correctly implement Figma designs in code and must NOT be skipped.
Also in 4 projects that use this
OpenAISkillfigma-swiftui
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.
Also in 3 projects that use this
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 3 projects that use this
klauswgSkillshadcn-ui
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.
Also in 3 projects that use this
LLl0k0laDSkillshipping-and-launch
Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
Also in 3 projects that use this
seikaikyoSkilldoubt-driven-development
對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。
Also in 3 projects that use this
- +1 more from LLl0k0laD
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- novuhq/novu★ 40ksame name
- openai/skills★ 27ksame name
- openai/plugins★ 7.8ksame name
- figma/mcp-server-guide★ 2.2ksame name
- dannote/figma-use★ 595same name
- thedesignproject/agent-skills★ 88same name
- PracticalSwan/agent-skills★ 22same name
- ferocknew/claude_code_public_skills★ 9same name
- HK-hub/AgentSkills★ 6same name
- jhy0285/monofield★ 6same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository95 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-auditSkill
- agent-memory-profilesSkill
- agent-messaging-gatewaySkill
- agent-session-checkpointsSkill
- agent-skill-migrationSkill
- ai-interaction-designSkill
- animation-craftSkill
- animation-vocabularySkill
- apple-designSkill
- apple-desktop-automationSkill
- approval-sandbox-policiesSkill
- atomic-designSkill
- better-colorsSkill
- better-typographySkill
- better-uiSkill
- browser-research-agentSkill
- codex-opsSkill
- competitive-intelSkill
- component-catalogSkill
- content-designSkill
- creative-rendering-auditSkill
- cron-agent-workflowsSkill
- dashboard-from-researchSkill
- data-synthesisSkill
- design-extractSkill
- design-measurement-and-experimentationSkill
- design-sandbox-proofSkill
- design-system-referenceSkill
- design-systemsSkill
- design-to-code-handoffSkill
- dialkitSkill
- docker-environmentsSkill
- emil-design-engSkill
- figma-auditSkill
- figma-code-connectSkill
- figma-create-fileSkill
- figma-design-systemsSkill
- figma-ds-rulesSkill
- figma-generate-designSkill
- figma-generate-librarySkill
- figma-implement-designSkill
- figma-library-builderSkill
- figma-plugin-apiSkill
- figma-prototypeSkill
- figma-syncSkill
- figma-web-captureSkill
- find-animation-opportunitiesSkill
- flutter-genSkill
- gateway-ops-observabilitySkill
- hermes-agent-bridgeSkill
- hyperframes-videoSkill
- improve-animationsSkill
- information-architectureSkill
- interaction-designSkill
- interface-craft-gateSkill
- interview-researchSkill
- ios-app-intentsSkill
- ios-performance-debuggingSkill
- linear-syncSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 109
Before creating any component, check Code Connect:
- Distinctive: line 135
After ANY visual creation or modification:
- Very specific: line 159
Always await figma.loadFontAsync() before setting text
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/figma-use — Foundational Figma Canvas Skill
Base skill for all Figma operations. Teaches agents how Figma works — structure, Auto Layout, variables, MCP tools, and the mandatory self-healing loop. Load this before any /figma-* skill.
Freedom Level: High
Agents have full canvas read/write access but must follow the self-healing protocol and never create floating elements.
MCP Tool Decision Tree
This is the most important section. Choose the right tool for the job:
Writing to Canvas
What are you trying to do?
CREATE a design using existing components/tokens:
→ use_figma (Official MCP)
WHY: It understands your design system, returns Code Connect hints,
and produces structured output. ALWAYS try this first.
RUN raw Plugin API code (batch ops, custom logic):
→ typed Mémoire Figma actions
WHY: For operations use_figma doesn't support — complex scripts,
bulk modifications, conditional logic.
INSTANTIATE an existing component:
→ figma_instantiate_component (Console MCP)
WHY: Fastest way to create an instance of a known component.
Call figma_search_components first to get the nodeId.
CREATE variables in bulk:
→ figma_batch_create_variables (Console MCP)
WHY: 10-50x faster than individual figma_create_variable calls.
SET a single property:
→ figma_set_fills / figma_set_text / figma_resize_node
WHY: Surgical single-property changes.Reading from Canvas
What do you need?
Design with code hints + screenshot:
→ get_design_context (Official MCP) ← PREFERRED
Returns: code, screenshot, Code Connect snippets, annotations
Visual screenshot only:
→ get_screenshot (Official MCP) or figma_take_screenshot (Console)
Node properties and structure:
→ get_metadata (Official MCP)
Design tokens/variables:
→ get_variable_defs (Official) or figma_get_variables (Console)
Component search:
→ figma_search_components (Console) — call at SESSION START
NOTE: nodeIds are session-scoped, never reuse from previous sessions
Code Connect mappings:
→ get_code_connect_map (Official MCP) — CHECK FIRST before creatingCanvas Principles
Structure Hierarchy
File → Page → Section → Frame → Component/Instance → LayerAuto Layout Rules
- Always use Auto Layout — never absolute positioning unless overlays
- Direction:
HORIZONTALorVERTICAL - Spacing: use design token values, never magic numbers
- Padding: consistent (use
counterAxisSpacingfor cross-axis) - Sizing: prefer
FILLover fixed width,HUGfor content-sized elements - GOTCHA:
counterAxisSizingModeonly accepts"FIXED"or"AUTO", never"FILL"
Component Architecture (Atomic Design)
| Level | Figma Structure | Examples |
| Atom | Base component, no nested components | Button, Badge, Input, Label |
| Molecule | 2-5 atom instances composed | FormField (Label + Input + HelpText) |
| Organism | Molecules + atoms with state/logic | LoginForm, Sidebar, DataTable |
| Template | Page-level layout skeleton | DashboardTemplate, AuthTemplate |
| Page | Template + real content instances | Dashboard, LoginPage |
Variables & Tokens
- Always bind to variables — never use raw hex colors or pixel values
- Token naming:
collection/category/name(e.g.,colors/primary/500) - Support light/dark modes via variable modes
- Map to Tailwind:
var(--color-primary-500)→text-primary-500
Component Properties
- Variant properties for visual states (size, variant, state)
- Boolean properties for toggles (hasIcon, isDisabled)
- Text properties for editable content (label, placeholder)
- Instance swap for composable slots (leadingIcon, action)
Code Connect (CHECK FIRST)
Before creating any component, check Code Connect:
1. get_code_connect_map → does this component have a code mapping?
2. If YES → use the mapped codebase component directly
- Follow the returned prop interface
- Respect component documentation links
- Honor design annotations from the designer
3. If NO → create the component, then map it:
- add_code_connect_map after creation
- Map Figma properties → React propsCanvas Operations
Creating Elements
1. Check Code Connect → get_code_connect_map
2. Check if component exists → figma_search_components
3. If exists → figma_instantiate_component
4. If new design → use_figma (preferred) or typed Mémoire Figma actions
5. Always place inside a Section or Frame (NEVER floating)
6. Bind all visual properties to variables
7. SCREENSHOT → validate → iterateSelf-Healing Loop (MANDATORY)
After ANY visual creation or modification:
CREATE → SCREENSHOT → ANALYZE → FIX → VERIFY (max 3 rounds)- Execute the design change
- Take screenshot with
figma_take_screenshot - Analyze for:
- Elements using "hug contents" instead of "fill container"
- Inconsistent padding
- Text/inputs not filling available width
- Items not centered in their containers
- Components floating on blank canvas
- Raw hex values (should be variables)
- Missing Auto Layout
DROP_SHADOWeffects missingblendMode: "NORMAL"
- Fix issues found
- Final screenshot to confirm
- Max 3 iterations — if still broken, report to user
Figma API Gotchas
counterAxisSizingModeonly accepts"FIXED"or"AUTO"(not"FILL")DROP_SHADOWeffects requireblendMode: "NORMAL"figma.currentPage— set it through typed page-selection helpers; raw JavaScript execution is not part of the default package.layoutGrowonly works inside Auto Layout parents- Always
await figma.loadFontAsync()before setting text
Naming Conventions
| Element | Convention | Example |
| Components | PascalCase | MetricCard, LoginForm |
| Variants | camelCase property, PascalCase value | size=Large |
| Variables | kebab-case path | colors/primary/500 |
| Pages | PascalCase | Dashboard, AuthLogin |
| Sections | Title Case | Hero Section, Navigation |
Integration with Mémoire
- Canvas operations flow through Mémoire's WebSocket bridge (ports 9223-9232)
- Agent metadata (role, task, status) is broadcast to all connected plugins
- Design tokens extracted from Figma map to
src/figma/tokens.ts - Generated components land in
generated/following atomic folder structure - Specs are validated against Zod schemas before saving
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

