Skill library

Agent skill Frontend

Figma Code Workflows

Connect design references and design tools to frontend implementation.

  • Design to code
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add figma/mcp-server-guide --skill figma-code-workflows --agent claude-code --yes

Check this file in your project.claude/skills/figma-code-workflows/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add figma/mcp-server-guide --skill figma-code-workflows

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An approved local prototype, an existing Figma Design file link with edit access, and an authenticated remote MCP client that offers the Code Layer workflow for your account.

View operation manual

What this skill helps with

  • Connect design references and design tools to frontend implementation.

Good for

  • Design handoff
Task
Import an existing interactive prototype as a runnable Code Layer
Requirements
An approved local prototype, an existing Figma Design file link with edit access, and an authenticated remote MCP client that offers the Code Layer workflow for your account.
Deliverable
A linked Code Layer in the chosen file and a check of the prototype’s key interaction in its Figma preview.
Skill name
figma-code-workflows

Make the scope and outcome verifiable

An underspecified brief

Put my prototype into Figma.

Choose runnable code or editable design layers up front. They serve different review tasks.

A result you can check

  1. Identify the chosen file and check whether the account can use Code Layers.
  2. Use the transport and setup steps returned for this source.
  3. Check a specific visible state change and return the layer link.

Figma Code Workflows operation manual

A linked Code Layer in the chosen file and a check of the prototype’s key interaction in its Figma preview.

An approved local prototype, an existing Figma Design file link with edit access, and an authenticated remote MCP client that offers the Code Layer workflow for your account.

  1. Choose the runnable destination

    Identify the chosen file and check whether the account can use Code Layers.

    Prompt · Step 1
    Use the official Figma figma-code-workflows Skill and read its installed SKILL.md.
    
    Use [approved local prototype] and [editable Design file link]. I want a new runnable Code Layer in this file for reviewing [interaction]. Check the file link and the connected account’s Code Layer availability through whoami. Verify the current send_code_to_figma schema. If the Code Layer is unavailable, stop at the preflight and tell me what destination options are currently available.
  2. Prepare and send only the selected prototype

    Use the transport and setup steps returned for this source.

    Prompt · Step 2
    Use the official Figma figma-code-workflows Skill and read its installed SKILL.md.
    
    Import [selected local prototype] into the confirmed Design file with send_code_to_figma. Follow the returned setup, local validation and continuation instructions for the supported local transport. Use only the approved project files and dependencies. Keep the import scoped to this new Code Layer. Report the exact continuation or error if it is still pending.
  3. Exercise the behavior in the returned preview

    Check a specific visible state change and return the layer link.

    • The returned layer is in the approved Design file.
    • One interaction is checked in Figma, or clearly remains pending with a reason.
    Prompt · Step 3
    Use the official Figma figma-code-workflows Skill and read its installed SKILL.md.
    
    Open the returned [Code Layer link] and try [clicking the prototype’s filter and clearing it]. Check that the selected filter changes the results and clearing it restores the starting state. Give me the layer link, the tested interaction result, and any build or preview errors actually observed. If you cannot run the Figma preview, label the interaction pending.

Look up this workflow decision

Read the matching section in the installed Figma Skill.

The file link points to an existing Code LayerSKILL.md
Command or reference
1. Choose the output and destination
Examples
For a requested update, resolve its canvas node ID from the link and use the current transport’s schema for that destination.

Troubleshooting

Do I need a plan key or a target node ID?

A new Code Layer in an existing Design file needs the file key and eligible edit access. Updating an existing Code Layer also uses its canvas node ID. If Figma needs a new file, use the plan key for the user-selected destination plan.

How can I tell whether a check ran in Figma?

Installing a Skill adds instructions. Live checks need a connected Figma MCP client with the required tool, feature and file permissions. Ask for the actual tool response, resolved node ID, preview or applied change that proves the check.