Agent skill · Figma
Figma Design to Code skill for Claude Code, Codex and Cursor
Officialname: figma-design-to-code★ 2.1k (repo)pushed 2026-10-20SKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE calling the `get_design_context` Figma MCP tool. You MUST trigger this skill whenever the user wants to implement, build, port, or code up a Figma design as code. Example prompts (not exhaustive) are 'implement this Figma design', 'build this screen from Figma', 'turn this Figma into code', 'design to code'.
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 Design to Code
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-design-to-code
Copy the skill folder into ~/.claude/skills (all projects) or .claude/skills (this repo). Claude Code picks it up without a restart. docs
npx skills add figma/mcp-server-guide --skill figma-design-to-code -a claude-code # or by hand: git clone --depth 1 https://github.com/figma/mcp-server-guide.git /tmp/figma-design-to-code-src cp -r /tmp/figma-design-to-code-src/skills/figma-design-to-code ~/.claude/skills/figma-design-to-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/figma/mcp-server-guide.git /tmp/figma-design-to-code-src cp -r /tmp/figma-design-to-code-src/skills/figma-design-to-code ./figma-design-to-code zip -r figma-design-to-code.zip figma-design-to-code
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add figma/mcp-server-guide --skill figma-design-to-code -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install figma/mcp-server-guide figma-design-to-code
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add figma/mcp-server-guide --skill figma-design-to-code -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/figma/mcp-server-guide.git --path skills/figma-design-to-code
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add figma/mcp-server-guide --skill figma-design-to-code -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add figma/mcp-server-guide --skill figma-design-to-code -a windsurf
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
- Context
- Implementation
- Verification
Facts
- Skill name
- figma-design-to-code
- Publisher
- Figma (official)
- Repo
- figma/mcp-server-guide
- SKILL.md size
- 514 words, 23 lines
- 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 Code Connect: Creates Code Connect files that map Figma components to their real code snippets.
- 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
- Frontend Design · Anthropic
- Web Artifacts Builder · Anthropic
- shadcn/ui · shadcn
- React Composition Patterns · Vercel
- React Best Practices · Vercel
- React View Transitions · Vercel
- Web Design Guidelines · Vercel
- Web Performance Audit · Cloudflare
FAQ
What does the figma-design-to-code skill do?+
Turns a Figma frame into code using the Figma MCP server's design context. In its own SKILL.md, Figma describes it as: "**MANDATORY prerequisite** — you MUST invoke this skill BEFORE calling the `get_design_context` Figma MCP tool. You MUST trigger this skill whenever the user wants to implement, build, port, or code up a Figma design as code."
How do I install the figma-design-to-code skill?+
Run npx skills add figma/mcp-server-guide --skill figma-design-to-code and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/figma-design-to-code/SKILL.md; in Codex and Cursor in .agents/skills/figma-design-to-code/.
Does Figma Design to Code 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 Design to Code?+
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