Skills

Figma Code Workflows

Import or upload local HTML or project files into Figma, choose editable Design frames...

Install

npx skills add figma/mcp-server-guide --skill figma-code-workflows -g -a claude-code -y
Category
Design
Updated
7d ago
License
See repository
Context cost
Lightabout 1,008 tokens
Runs scripts
No, instructions only

What it does

Import or upload local HTML or project files into Figma, choose editable Design frames, runnable Code Layers or standalone Code (also known as Make), and repair imported previews. Use only when the user explicitly names editable Design layers, a runnable Code Layer, or a standalone Code/Make file, or supplies a Figma file key/link as the import destination. Generic code or code-component requests need output clarification before using this workflow.

Import a project into Figma

Only use this workflow for an explicitly requested Figma output (standalone Code/Make, runnable Code Layer, or editable Design layers), or a Figma file key/link given as its destination. Generic “make a code project” or “create a code component” requests, and Figma Code/Make names alone, do not specify that output. If output intent is unclear, ask whether the user wants local code or a Figma output, then wait before starting this workflow.

Preserve the user's project. Use each tool's current description and schema for prerequisites and parameters.

Keep the user updated at the main stages: preparing and validating the project, uploading the archive, and completing the import in Figma. Report pending imports, recovery work and blockers as they occur; do not describe an unconfirmed stage as complete.

1. Choose the output and destination

Identify the user's intended output, then load the appropriate skill according to the table below. If the output is unclear, ask the user before proceeding.

InputUser's requested outputNext action
Running app or static HTMLUnspecified, just put/import it in FigmaAsk "Editable design layers or a code layer?" and end your turn. Wait for the answer.
Running appEditable Design layersLoad figma-generate-design, then call generate_figma_design in a Design file.
Static HTMLEditable Design layersCall html_to_figma in a Design file.
Running appRunnable Code Layer or standalone Code/MakeContinue with this skill and call send_code_to_figma.
Static HTMLRunnable Code Layer or standalone Code/MakeContinue with this skill and call send_code_to_figma.

An HTML project with working buttons is still ambiguous when the user has not chosen the output. A Design link only chooses the destination, not the output.

Read the whole SKILL.md on GitHub

More in Design