Figma Code Connect components
Links published Figma components to the code components that implement them via Code Connect: finds unmapped ones, matches them in the codebase, maps only what the user approves. Use when a Figma library and its code both exist but are not linked.
figma-code-connect-components- Author
- OpenAI
- Source
- openai/skills/skills/.curated/figma-code-connect-components @ 49f948f
- License
- Figma Developer Terms
About this skill
What it does
Code Connect is Figma's link between a design component and the code component that implements it, so a developer can go from the design straight to the code. This skill creates those links for a selection. get_code_connect_suggestions returns the published components there that are not mapped yet, with their properties and a thumbnail. The agent searches the codebase for each one — names first, then props, defaults and structure — and lists the matches with file paths and node links. The user accepts all, some or none; only the accepted ones go to send_code_connect_mappings in one batch, each with a node ID, component name, source path and a label such as React, Vue, SwiftUI, Compose or Flutter. Without a clear match, the agent shows the two closest candidates and asks.
Node IDs need care: links use 1-2, the tools expect 1:2. scripts/normalize_node_id.py converts in both directions, and references/mapping-checklist.md is a five-point check: component published, ID format, existing mappings, props compared, ask when several fit. SKILL.md also explains the usual error messages.
When to use it, and when not
Use it when a library exists in Figma, its components exist in code, and you want the two linked.
Hard limits: Code Connect works only on Figma's Organization and Enterprise plans, only for components published to a team library, and only with edit access to the file. To change an existing mapping, remove it in Figma first.
How to run it
We do not copy this skill: its files fall under Figma's Developer Terms, not an open licence. Install it from the author's repository with the button to the source; in Codex the route is $skill-installer figma-code-connect-components, for another agent copy the folder into its skills directory. OpenAI has marked openai/skills deprecated; in openai/plugins this skill has been replaced by figma-code-connect, which writes Code Connect template files. It needs the Figma MCP server, remote or desktop.
- Claude Code:
/figma-code-connect-components, or ask for the skill by name. - Codex:
$figma-code-connect-components. - Cursor: type
/in the Agent chat and pickfigma-code-connect-components.
Example: /figma-code-connect-components Map the components in this frame to src/components: https://figma.com/design/<fileKey>/DS?node-id=10-50
How it differs from similar skills
Figma design system from a codebase also writes Code Connect mappings, as one step while it builds a library; this skill maps a library that already exists. Figma MCP design context lists the lower-level get_code_connect_map and add_code_connect_map tools. Implement a Figma design in code writes UI; this skill writes none. Nothing outside the Figma set is similar.
Install
This skill is not copied to the catalog: its licence does not allow it. Install it from the author's repository.
Connect through AnyModel API
This skill runs on whatever model your agent uses. Point Claude Code, Codex or Cursor at AnyModel to run it on Claude, GPT, Gemini and more with one key — pay per token, no subscription.
AnyModel