Skip to content
Skill

figma-code-connect-components

by openai

AI Summary

This skill helps you connect Figma design components to their corresponding code implementations using Figma's Code Connect feature. It analyzes the Figma design structure, searches your codebase for matching components, and establishes mappings that maintain design-code consistency. Call to identi

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "figma-code-connect-components" skill in my project.

Please run this command in my terminal:
# Install skill into your project (8 files)
mkdir -p .claude/skills/figma-code-connect-components && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/SKILL.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/LICENSE.TXT "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/LICENSE.TXT" && mkdir -p .claude/skills/figma-code-connect-components/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/agents/openai.yaml "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/agents/openai.yaml" && mkdir -p .claude/skills/figma-code-connect-components/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/assets/figma-small.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/assets/figma-small.svg" && mkdir -p .claude/skills/figma-code-connect-components/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/assets/figma.png "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/assets/figma.png" && mkdir -p .claude/skills/figma-code-connect-components/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/assets/icon.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/assets/icon.svg" && mkdir -p .claude/skills/figma-code-connect-components/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/references/mapping-checklist.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/references/mapping-checklist.md" && mkdir -p .claude/skills/figma-code-connect-components/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-code-connect-components/scripts/normalize_node_id.py "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/scripts/normalize_node_id.py"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Connects Figma design components to code components using Code Connect mapping tools. Use when user says "code connect", "connect this component to code", "map this component", "link component to code", "create code connect mapping", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.

Overview

This skill helps you connect Figma design components to their corresponding code implementations using Figma's Code Connect feature. It analyzes the Figma design structure, searches your codebase for matching components, and establishes mappings that maintain design-code consistency.

Prerequisites

• Figma MCP server must be connected and accessible • User must provide a Figma URL with node ID: https://figma.com/design/:fileKey/:fileName?node-id=1-2 • IMPORTANT: The Figma URL must include the node-id parameter. Code Connect mapping will fail without it. • OR when using figma-desktop MCP: User can select a node directly in the Figma desktop app (no URL required) • IMPORTANT: The Figma component must be published to a team library. Code Connect only works with published components or component sets. • IMPORTANT: Code Connect is only available on Organization and Enterprise plans. • Access to the project codebase for component scanning

Skill Boundaries

• Use this skill for get_code_connect_suggestions + send_code_connect_mappings workflows. • If the task requires writing to the Figma canvas with Plugin API scripts, switch to figma-use. • If the task is building or updating a full-page screen in Figma from code or a description, switch to figma-generate-design. • If the task is implementing product code from Figma, switch to figma-implement-design.

Required Workflow

Follow these steps in order. Do not skip steps.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 8d ago
Active
Adoption1K+ stars on GitHub
16.1k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars16.1k
Forks984
Issues182
Updated8d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code