AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Figma Connect

skill-ikusmart-claude-figma-skills-figma-connect · by ikusmart

Connect Figma design components to their code implementations using Figma Code Connect. Maps component nodes in Figma to source files in the codebase. Use when: user says code connect, connect component, map Figma to code, link component to code, create code connect mapping, or wants to maintain design-code consistency.

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-ikusmart-claude-figma-skills-figma-connect

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ikusmart-claude-figma-skills-figma-connect)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
7mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Figma Connect? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Code Connect — Map Figma Components to Code

Self-Documentation

When invoked WITHOUT a Figma URL or clear input:

  1. Display the Quick Help block below
  2. Ask the user to provide a Figma URL or describe what they want to connect

When invoked WITH a Figma URL or clear intent — skip help and proceed to Step 1.

Quick Help

What I do: Connect Figma design components to their code implementations using Figma's Code Connect feature. This ensures that when developers inspect a component in Figma Dev Mode, they see the actual code usage.

Example prompts:

  • Connect this Figma button to my code: https://figma.com/design/abc/DS?node-id=42-15
  • Map all components in this file to code: [URL]
  • Link Figma components to my React components

Prerequisites:

  • Figma MCP server configured. Run /figma-setup if not configured.
  • Figma components must be published to a team library.
  • A codebase with implemented components to map to.

What you get:

  • Mappings between Figma component nodes and source code files
  • Summary report: connected, already connected, could not connect

Step 1: Parse Figma URL

Extract fileKey and nodeId from the URL:

  • figma.com/design/:fileKey/:fileName?node-id=:nodeId — convert - to : in nodeId
  • figma.com/design/:fileKey/branch/:branchKey/:fileName — use branchKey as fileKey

Step 2: Discover Components

Call get_metadata(fileKey, nodeId) to fetch the node tree.

Identify component nodes — look for nodes of type COMPONENT or COMPONENT_SET in the metadata response. These represent Figma components and component groups with variants.

Step 3: Check Existing Mappings

Call get_code_connect_map(fileKey, nodeId) to see which components are already connected.

Filter out already-connected components from the list.

Step 4: Get Suggestions

Call get_code_connect_suggestions(fileKey, nodeId) to get Figma's suggested mappings.

Review suggestions and compare with the codebase. If suggestions are empty or unhelpful, proceed directly to codebase search in Step 5.

Step 5: Search Codebase

For each unconnected component, search the project for matching implementations.

Search order:

  1. Exact name match — search for files named exactly like the component (e.g., "Button" → Button.tsx)
  2. Case variant match — try PascalCase, kebab-case, camelCase variants (e.g., "IconButton" → icon-button.tsx)
  3. Path pattern match — search in common component directories (src/components/, src/ui/, lib/)
  4. Partial match — if no exact match, present closest matches to the user for confirmation

Auto-detect label from file extension: .tsx/.jsx → React, .vue → Vue, .svelte → Svelte, .swift → SwiftUI, .kt → Compose

Present matches to the user for confirmation before creating mappings.

Step 6: Create Mappings

For each confirmed match, call:

add_code_connect_map(
  nodeId: "component-node-id",
  fileKey: "file-key",
  source: "src/components/Button.tsx",
  componentName: "Button",
  label: "React"  // or Vue, Svelte, etc.
)

Supported labels: React, Web Components, Vue, Svelte, Storybook, Javascript, Swift UIKit, Objective-C UIKit, SwiftUI, Compose, Java, Kotlin, Android XML Layout, Flutter, Markdown.

For multiple components: Use send_code_connect_mappings to batch all mappings in a single call instead of calling add_code_connect_map repeatedly. This is more efficient when connecting 3+ components at once.

Step 7: Report

Present a summary:

=== Code Connect Summary ===
Total components found: X
Successfully connected: Y
  - Button (1:2) → src/components/Button.tsx
  - Card (1:5) → src/components/Card.tsx
Already connected: Z
  - Icon (1:3) → src/icons/Icon.tsx
Could not connect: W
  - CustomWidget (1:10) — No matching component found
============================

Suggest running /figma-implement for components that need to be built from scratch.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.