figma-code-connect-components · openai — Claude Code skill: how to install
Maps published Figma design components to codebase implementations using Figma Code Connect. It inspects component properties and pairs them with repository files.
npx skills add openai/skills --skill figma-code-connect-components -a claude-codeWhat figma-code-connect-components does
The skill coordinates Code Connect integration between design files and local source code. It calls get_code_connect_suggestions to detect unmapped elements in the target Figma node, collecting component names, variants, and thumbnails while skipping items already linked.
Next, the agent scans directories like src/components/ to match component structures and prop signatures in TypeScript or JavaScript. After the user reviews and confirms the suggested matches, the skill executes send_code_connect_mappings in a single batch.
When using figma-desktop MCP, the active canvas selection is read directly without passing URLs. For web links, the node-id query parameter is mandatory. The workflow requires a Figma Organization or Enterprise plan and published team library components.
What it helps with
- detect unmapped design components within a Figma node
- match Figma variant properties to code component props
- register Code Connect mappings in batches via MCP
- locate matching UI files across the project codebase
Example prompts for the agent
- Connect this selected Figma component to our code using Code Connect
- Map unlinked components from the Figma URL to our repository UI elements
- Find matching codebase components for the selected Figma node and establish Code Connect links
How to install figma-code-connect-components
1Skills CLI (Vercel)
npx skills add openai/skills --skill figma-code-connect-components -a claude-code2Manually: put the files in place
~/.claude/skills/figma-code-connect-components/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/figma-code-connect-components/
1Skills CLI (Vercel)
npx skills add openai/skills --skill figma-code-connect-components -a codex2Manually: put the files in place
.agents/skills/figma-code-connect-components/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add openai/skills --skill figma-code-connect-components -a cursor2Manually: put the files in place
.cursor/skills/figma-code-connect-components/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install openai/skills figma-code-connect-components2Manually: put the files in place
.github/skills/figma-code-connect-components/SKILL.md1Skills CLI (Vercel)
npx skills add openai/skills --skill figma-code-connect-components -a gemini-cli2Platform CLI
gemini skills install https://github.com/openai/skills --path skills/.curated/figma-code-connect-componentsManually: put the files in place
.devin/skills/figma-code-connect-components/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add openai/skills --skill figma-code-connect-components -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about figma-code-connect-components
How to install figma-code-connect-components in Claude Code?
Run npx skills add openai/skills --skill figma-code-connect-components -a claude-code in your terminal.
What does figma-code-connect-components do?
It discovers unlinked Figma components, locates corresponding code files in your project, and registers Code Connect mappings.
Which Figma plans support this skill?
Figma Code Connect requires an Organization or Enterprise subscription. Components must also be published to a team library to be mapped.