figma-code-connect-components
Connects Figma design components to code components using Code Connect mapping tools.
Skill by ulises-jeremias
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ulises-jeremias-figma-code-connect-components
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/figma-code-connect-components
What's inside
- Skill name
figma-code-connect-components- 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 (Plugin API), install the opt-in `figma-use` pack documented in `docs/SKILLS.md`.
- License
- MIT
- Instructions
- 346 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- mapping-checklist.md · references/
SKILL.md (first lines)
# Code Connect Components ## 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. ## 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, install the opt-in `figma-use` pack (see `docs/SKILLS.md`). - If the task is building or updating a full-page screen in Figma from code or a description, switch to [figma-create-new-file](../figma-create-new-file/SKILL.md). - If the task is implementing product code from Figma, switch to [figma-implement-design](../figma-implement-design/SKILL.md). ## 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 ## Required Workflow **Follow these steps in order. Do not skip steps.** ### Step 1: Get Code Connect Suggestions Call `get_code_connect_suggestions` to identify all unmapped components in a single operation. This tool automatically: - Fetches component info from the Figma scenegraph - Identifies published components in the selection - Checks existing Code Connect mappings and filters out already-connected components - Returns component names, properties, and thumbnail images for each unmapped component #### Option A: Using `figma-desktop` MCP (no URL provided) If the `figma-desktop` MCP server is connected and the user has NOT provided a Figma URL, immediately call `get_code_connect_suggestions`. No URL parsing is needed — the desktop MCP server automatically uses the currently selected node from the open Figma file. **Note:** The user must have the Figma desktop app open with a node selected. `fileKey` is not passed as a parameter — the server uses the currently open file. #### Option B: When a Figma URL is provided Parse the URL to extract `fileKey` and `nodeId`, then call `get_code_connect_suggestions`. **IMPORTANT:** When extracting the node ID from a Figma URL, convert the format: - URL format uses hyphens: `node-id=1-2` - Tool expects colons: `nodeId=1:2` **Parse the Figma URL:** - URL format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` - Extract file key: `:fileKey` (segment after `/design/`) - Extract node ID: `1-2` from URL, then convert to `1:2` for the tool ``` get_code_connect_suggestions(fileKey=":fileKey", nodeId="1:2") ``` **Handle the response:** - If the tool returns **"No published components found in this selection"** → inform the user and stop. The components may need to be published to a team library first. - If the tool returns **"All component instances in this selection are already connected to code via Code Connect"** → inform the user that everything is already mapped. - Otherwise, the response contains a list of unmapped components, each with: - Component name - Node ID - Component properties (JSON with prop names and values) - A thumbnail image of the component (for visual inspection) ### Step 2: Scan Codebase for Matching Components For each unmapped component returned by `get_code_connect_suggestions`, search the codebase for a matching code component. **What to look for:** - Component names that match or are similar to the Figma component name - Component structure that aligns with the Figma hierarchy - Props that correspond to Figma properties (variants, text, styles) - Files in typical component directories (`src/components/`, `components/`, `ui/`, etc.) **Search strategy:** 1. Search for component files with matching names 2. Read candidate files to check structure and props 3. Compare the code component's props with the Figma component properties returned in Step 1 4. Detect the programming language (TypeScript, JavaScript) and framework (React, Vue, etc.) 5. Identify the best match based on structural similarity, weighing: - Prop names and their correspondence to Figma properties - Default values that match Figma defaults - CSS classes or style objects - Descriptive comments that clarify intent 6. If multiple candidates are equally good, pick the one with the closest prop-interface match and document your reasoning in a 1-2 sentence comment before your tool call **Example search patterns:** - If Figma component is "PrimaryButton", search for `Button.tsx`, `PrimaryButton.tsx`, `Button.jsx` - Check common component paths: `src/components/`, `app/components/`, `lib/ui/` - Look for variant props like `variant`, `size`, `color` that match Figma variants ### Step 3: Present Matches to User Present your findings and let the user choose which mappings to create. The user can accept all, some, or none of the suggested mappings. **Present matches in this format:** ``` The following components match the design: - [ComponentName](path/to/component): DesignComponentName at nodeId [nodeId](figmaUrl?node-id=X-Y) - [AnotherComponent](path/to/another): AnotherDesign at nodeId [nodeId2](figmaUrl?node-id=X-Y) Would you like to connect these components? You can accept all, select specific ones, or skip. ``` **If no exact match is found for a component:** - Show the 2 closest candidates - Explain the differences
From ulises-jeremias/agent-toolkit, MIT.
More from ulises-jeremias/agent-toolkit
- 0.648score
figma
ulises-jeremias
Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and to translate Figma nodes into production code.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
clickup-cli
ulises-jeremias
ClickUp CLI for managing tasks, sprints, comments, statuses, and Docs.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
confluence-permission
ulises-jeremias
Manage space and page permissions and restrictions.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
confluence-analytics
ulises-jeremias
View analytics, statistics, and popularity metrics for Confluence content.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
brag
ulises-jeremias
Turn the current project website into a short, polished, shareable launch video using Hyperframes.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
confluence-assistant
ulises-jeremias
Central hub for Confluence operations - routes requests to specialized skills.
SkillAFreshness: A★ 19Claude Code +9 - 0.647score
confluence-watch
ulises-jeremias
Content watching and notifications.
SkillAFreshness: A★ 19Claude Code +9 - 0.645score
assistant
ulises-jeremias
Assistant — on any repo, scan README→docs→AGENTS→CONTRIBUTING→PR templates→task runners→devcontainer→CI→configs before code; cite sources; prefer AGENTS.md…
SkillAFreshness: A★ 19Claude Code +9 - 0.645score
decision-log
ulises-jeremias
WHAT - Capture lightweight project, product, or operational decisions that do not require a full ADR; includes rationale, date, owner, and references.
SkillAFreshness: A★ 19Claude Code +9 - 0.645score
bug
ulises-jeremias
WHAT - Draft and review bugs using the Bug Template; classifies whether an issue should be escalated to incident based on production/user impact.
SkillAFreshness: A★ 19Claude Code +9 - 0.645score
codeql
ulises-jeremias
CodeQL operational workflow — discover/config, run/inspect, triage SARIF findings (rule/query ID, source→sink, evidence), remediate, re-validate.
SkillAFreshness: A★ 19Claude Code +9 - 0.645score
adr
ulises-jeremias
WHAT — Create and maintain Architecture Decision Records (ADRs) per the process.
SkillAFreshness: A★ 19Claude Code +9
Signals
- Stars
- 19
- Forks
- 5
- Open issues
- 7
- Last commit (this folder)
- Aug 31, 2026 (1 month ago)
- Last release
- Oct 21, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ulises-jeremias/agent-toolkit
- Website
- www.agent-toolkit.io
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ulises-jeremias
- 0.648score
confluence-permission
ulises-jeremias
Manage space and page permissions and restrictions.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
clickup-cli
ulises-jeremias
ClickUp CLI for managing tasks, sprints, comments, statuses, and Docs.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
confluence-analytics
ulises-jeremias
View analytics, statistics, and popularity metrics for Confluence content.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
confluence-assistant
ulises-jeremias
Central hub for Confluence operations - routes requests to specialized skills.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
brag
ulises-jeremias
Turn the current project website into a short, polished, shareable launch video using Hyperframes.
SkillAFreshness: A★ 19Claude Code +9 - 0.648score
figma
ulises-jeremias
Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and to translate Figma nodes into production code.
SkillAFreshness: A★ 19Claude Code +9
Cite this page
figma-code-connect-components skill. Agent Mart. https://agentmart.dev/skills/ulises-jeremias-figma-code-connect-components (last updated 2026-10-24)