Agent skill Frontend
Figma Code Connect Components
Connect design references and design tools to frontend implementation.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add openai/skills --skill figma-code-connect-components --agent claude-code --yesCheck this file in your project.claude/skills/figma-code-connect-components/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add openai/skills --skill figma-code-connect-componentsSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A published main component URL with node-id, the local component repository, and a Figma MCP connection with Code Connect mapping access. The Open Design entry is a discovery pointer. This page’s command installs the full workflow from openai/skills. If a same-name Skill is installed, check its source in skills-lock.json first.
View operation manualWhat this skill helps with
- Connect design references and design tools to frontend implementation.
Good for
- Design handoff
- Task
- Connect one published component to its implementation
- Inputs
- A published main component URL with node-id, the local component repository, and a Figma MCP connection with Code Connect mapping access.
- Deliverable
- One approved mapping confirmed by Figma, with its node ID, repository source path, and the code component it opens.
- Skill name
figma-code-connect-components- Repository
nexu-io/open-design
Define an outcome you can verify
An underspecified prompt
Connect every Card you find by name.
A Card instance and its published main component can have different IDs. Similar code names can also hide different variants.
A verifiable workflow
- Verify eligible tools, the library’s main component, and existing mappings before proposing a change.
- Send a mapping only after reviewing the exact design and code pair.
- Check the persisted mapping and verify the code destination.
Figma Code Connect Components operation manual
One approved mapping confirmed by Figma, with its node ID, repository source path, and the code component it opens.
A published main component URL with node-id, the local component repository, and a Figma MCP connection with Code Connect mapping access.
Find the published node and its code candidates
Verify eligible tools, the library’s main component, and existing mappings before proposing a change.
Prompt · Step 1Read figma-code-connect-components/SKILL.md installed from openai/skills and use its full workflow. Check the connected MCP tools and access to the target. Inspect [published library Card URL with node-id] and [component repository]. Confirm the connection exposes get_code_connect_suggestions and send_code_connect_mappings. Read suggestions and any existing mapping. Find the actual Card export, prop names and variants. Return the main node ID, proposed source path and component export, with any uncertain or already mapped items. Stop before submitting anything.Submit the approved pair
Send a mapping only after reviewing the exact design and code pair.
Prompt · Step 2Read figma-code-connect-components/SKILL.md installed from openai/skills and use its full workflow. Check the connected MCP tools and access to the target. For [approved node ID and source path], follow the installed Skill’s send_code_connect_mappings instructions. Use the actual tool schema and repository link or path it requests. Keep other components out of this change. Report the tool result and any skipped mapping.Open the mapping from Figma
Check the persisted mapping and verify the code destination.
Prompt · Step 3Read figma-code-connect-components/SKILL.md installed from openai/skills and use its full workflow. Check the connected MCP tools and access to the target. Read back [approved Card node] with the mapping discovery tools available in this connection, then inspect that Card in Dev Mode. Confirm the mapping points to the agreed component export and repository source. If Dev Mode needs manual access, report the tool result and the exact check I still need to perform.
Look up a workflow detail
Open the corresponding documentation below.
Why did Figma return no mapping suggestions?SKILL.md
- Command or reference
get_code_connect_suggestions / send_code_connect_mappings- Examples
- Check that the library component is published, the URL identifies a node, and the authenticated account has the relevant mapping tools. The Skill’s documented workflow requires Organization or Enterprise access. Determine whether the node is already mapped before submitting a new pair.
Troubleshooting and FAQ
Why did Figma return no mapping suggestions?
Check that the library component is published, the URL identifies a node, and the authenticated account has the relevant mapping tools. The Skill’s documented workflow requires Organization or Enterprise access. Determine whether the node is already mapped before submitting a new pair.
What if I already installed the Open Design entry?
The Open Design entry is a discovery pointer. This page’s command installs the full workflow from openai/skills. If a same-name Skill is installed, check its source in skills-lock.json first.