Agent skill · Figma

Figma Code Connect skill for Claude Code, Codex and Cursor

Creates Code Connect files that map Figma components to their real code snippets.

Officialname: figma-code-connect★ 2.1k (repo)pushed 2026-10-20SKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions Code Connect, Figma component mapping, design-to-code translation, or asks to create/update .figma.ts or .figma.js files.

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install Figma Code Connect

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add figma/mcp-server-guide --skill figma-code-connect

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

  • Uses disable-model-invocation in its frontmatter: Claude Code extensions to the Agent Skills format. Other agents load the skill but may not honor that field.

What's in the SKILL.md

26 sections
  • Overview
  • Prerequisites
  • Step 1: Parse the Figma URL
  • Step 2: Discover Unmapped Components
  • Step 3: Fetch Component Properties
  • Step 4: Identify the Code Component
  • Step 5: Create the Template File (.figma.ts)
  • File location
  • Template structure
  • Property mapping
  • Exhaustive variant handling
  • Interpolation in tagged templates
  • Finding descendant layers
  • Nested configurable instances
  • Nested component example
  • Conditional props
  • Step 6: Validate
  • Inline Quick Reference
  • instance.* Methods
  • InstanceHandle Methods
  • TextHandle Properties
  • SelectorOptions
  • Export Structure
  • Rules and Pitfalls
  • + 2 more

Bundled files

2
  • references/advanced-patterns.md
  • references/api.md

Loaded only when the instructions point to them.

Facts

Skill name
figma-code-connect
Publisher
Figma (official)
Repo
figma/mcp-server-guide
SKILL.md size
2,740 words, 523 lines
Bundled files
2, 2 docs
Repo stars
2.1k (as of 2026-10-24)
SKILL.md checked
2026-11-07

Pairs with the Figma MCP server: the server gives the agent the tools, the skill teaches it how to use them.

More skills from figma/mcp-server-guide

  • Figma Design to Code: Turns a Figma frame into code using the Figma MCP server's design context.
  • Figma Generate Design: Recreates an app page or layout from code as a design inside Figma.
  • Figma Use: Required primer for the Figma MCP write tool so edits to Figma files work reliably.

Related frontend & design skills

FAQ

What does the figma-code-connect skill do?+

Creates Code Connect files that map Figma components to their real code snippets. In its own SKILL.md, Figma describes it as: "Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions Code Connect, Figma component mapping, design-to-code translation, or asks to create/update .figma.ts or .figma.js files."

How do I install the figma-code-connect skill?+

Run npx skills add figma/mcp-server-guide --skill figma-code-connect and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/figma-code-connect/SKILL.md; in Codex and Cursor in .agents/skills/figma-code-connect/.

Does Figma Code Connect work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more. It also sets disable-model-invocation, which are Claude Code extensions; other agents may ignore it.

Who maintains Figma Code Connect?+

Figma, the company or project behind it, in the figma/mcp-server-guide repo on GitHub, last pushed 2026-10-20.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers