id: "figma-code-connect"
kind: "skill"
name: "figma-code-connect"
title: "Figma Code Connect"
description: "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."
category: "design"
source:
  repository: "figma/mcp-server-guide"
  path: "skills-figquery/figma-code-connect/SKILL.md"
  commit: "43a06ff1738935ad5c3d9b0437b5373aaf45cdc3"
  url: "https://github.com/figma/mcp-server-guide/tree/43a06ff1738935ad5c3d9b0437b5373aaf45cdc3/skills-figquery/figma-code-connect"
license:
  spdx: "NONE"
  redistributable: false
stars: 2218
updated_at: "2026-11-18T09:00:36Z"
score: 0.9077
rank: 23
files_count: 3
bytes: 60134
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:42:36Z"
  model: "claude-sonnet-5-5"
  score: 0.9077
  signals:
    tier: 1.0
    rubric: 0.91
    judge: 0.94
    smoke: 1.0
    popularity: 0.5269
  rubric:
    score: 0.91
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 0.1
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 5
    safety: 5
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "The description is specific, with clear triggers (Code Connect, .figma.ts files). The skill does one job. The workflow is concrete: URL parsing with a worked example, named MCP tools with parameters, property-type to method mapping, exhaustive variant handling, nested instances and slots, and a validation step. It asks the user to confirm the code component before writing. The strong emphasis on .figma.ts over .figma.tsx is a format constraint, not an injection. Both referenced files, advanced-patterns.md and api.md, exist in the folder. The text was truncated at Step 6, but nothing in it is risky."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "I have a Figma URL for our Button component with node-id=4185-3778. Write a Code Connect template that maps its Variant, Size, Disabled and Icon properties to our React Button props."
    date: "2026-11-21T11:46:00Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 26669
    sha256: "87af3996edb167d6aa3c044cb1bbb6a0d8e2d631c731bb896b1e1e8669640415"
    url: "https://raw.githubusercontent.com/figma/mcp-server-guide/43a06ff1738935ad5c3d9b0437b5373aaf45cdc3/skills-figquery/figma-code-connect/SKILL.md"
  - path: "references/advanced-patterns.md"
    bytes: 10069
    sha256: "ac2cb232aca4e43b75169f47f5550d6e7e48a8df0eb55aa1adbfb1a2ab0aa1b4"
    url: "https://raw.githubusercontent.com/figma/mcp-server-guide/43a06ff1738935ad5c3d9b0437b5373aaf45cdc3/skills-figquery/figma-code-connect/references/advanced-patterns.md"
  - path: "references/api.md"
    bytes: 23396
    sha256: "40c1dcae2db387fb93ffbf4eba8ae81362e204bdfa5be7018f743b8ac24d4252"
    url: "https://raw.githubusercontent.com/figma/mcp-server-guide/43a06ff1738935ad5c3d9b0437b5373aaf45cdc3/skills-figquery/figma-code-connect/references/api.md"
alternates:
  - name: "figma-code-connect"
    repository: "figma/mcp-server-guide"
    path: "skills/figma-code-connect/SKILL.md"
    commit: "43a06ff1738935ad5c3d9b0437b5373aaf45cdc3"
    url: "https://github.com/figma/mcp-server-guide/tree/43a06ff1738935ad5c3d9b0437b5373aaf45cdc3/skills/figma-code-connect"
    license: "NONE"
    stars: 2218
    score: 0.8974
    similarity: 1.0
    reason: "identical content"
  - name: "figma-code-connect"
    repository: "openai/plugins"
    path: "plugins/figma/skills/figma-code-connect/SKILL.md"
    commit: "981b02c0c44058b595f3b4180002c3ae3c806d40"
    url: "https://github.com/openai/plugins/tree/981b02c0c44058b595f3b4180002c3ae3c806d40/plugins/figma/skills/figma-code-connect"
    license: "NONE"
    stars: 8039
    score: 0.786
    similarity: 1.0
    reason: "identical content"
icon: "https://versatile.sh/avatars/figma.png"
