figma-skill — Claude Code skill: what it does, how to install
This Claude Code skill reads Figma designs and turns them into code. It activates for requests to extract design details or generate components.
MIT 200 installs ★ 35 updated 2026-10-21
npx skills add podo/design-agent-skills --skill figma-skill -a claude-codeWhat figma-skill does
The skill opens a Figma file or a single node, downloads image assets, and extracts design tokens. A bundled Python script can output CSS variables, Tailwind configuration, SCSS, or JSON. It can also generate components for Tailwind, React, Vue, Svelte, React Native, Flutter, or plain CSS.
A separate workflow builds a project profile and searches Figma Community for matching UI kits and design systems. It requires a personal Figma access token, the figma-developer-mcp server configured in .mcp.json, and Python 3.8+. Without the MCP server, the skill cannot read Figma files; Python is used by the token and code scripts.
This skill is not meant for official Figma file read/write operations or enforcing design-system tokens inside Figma.
What it helps with
- extract design tokens from a Figma file
- download images from a design node
- generate a component for a chosen framework
- find a Figma Community UI kit that fits a project profile
Example prompts for the agent
- Extract design tokens from this Figma file and prepare a Tailwind config.
- Download images from this Figma node and build a React component.
- Search Figma Community for UI kits that fit this project's profile.
How to install figma-skill
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-skill -a claude-code2Manually: put the files in place
~/.claude/skills/figma-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/figma-skill/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-skill -a codex2Manually: put the files in place
.agents/skills/figma-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-skill -a cursor2Manually: put the files in place
.cursor/skills/figma-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install podo/design-agent-skills skills/figma-skill2Manually: put the files in place
.github/skills/figma-skill/SKILL.md1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/podo/design-agent-skills --path skills/figma-skillManually: put the files in place
.devin/skills/figma-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about figma-skill
How do I install figma-skill in Claude Code?
Run npx skills add podo/design-agent-skills --skill figma-skill -a claude-code. The skill file will be at ~/.claude/skills/figma-skill/SKILL.md.
What does figma-skill do?
It reads Figma files through figma-developer-mcp, downloads image assets, extracts design tokens, and generates component code. It can also search Figma Community for relevant resources.
What does figma-skill need to run?
It needs a personal Figma access token, the figma-developer-mcp server configured in .mcp.json, and Python 3.8+. The skill cannot read Figma files without the server.
Source text
SKILL.md · MIT
--- name: figma-skill description: | Figma design bridge for Claude Code: browse Figma files through the figma-developer-mcp server, download assets, extract design tokens, and generate code for Tailwind, React, Vue, Svelte, React Native, Flutter and plain CSS. Also finds Figma Community resources that match the project. Needs a Figma access token and the figma-developer-mcp server. triggers: - "figma-skill" - "Figma API extract" - "Figma to framework" - "nafiurrahmanniloy figma" - "Figma Community resources" das: type: skill category: figma-code upstream: "https://github.com/nafiurrahmanniloy/figma-skill" upstream_path: "figma/SKILL.md" version: latest install: true --- # figma-skill > Catalogue stub — full skill: [nafiurrahmanniloy/figma-skill](https://github.com/nafiurrahmanniloy/figma-skill) (`figma`) <!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block --> ## Decision tree 1. **Is the full skill already installed?** Upstream names this skill `figma`, so it installs next to this pointer (the pointer is not replaced). - Global: `f=~/.agents/skills/figma/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - Project: `f=.agents/skills/figma/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - `installed` → the skill is installed as `figma`, invoke it and proceed - `pointer` → go to step 2 2. **Detect scope, then install:** ```bash [ -e ~/.agents/skills/figma-skill ] && echo "global" || echo "project" ``` **Global:** ```bash npx skills add nafiurrahmanniloy/figma-skill --skill figma -g -y ``` **Project:** ```bash npx skills add nafiurrahmanniloy/figma-skill --skill figma -y ``` > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation. **Heads-up** - **Requires:** Figma personal access token (FIGMA_API_KEY); the figma-developer-mcp server configured in .mcp.json; Python 3.8+ (for the token and code scripts) - **License:** MIT <!-- das:install:end --> ## Invoke after install - Skill name: `figma` - Triggers: "figma-skill", "Figma API extract", "Figma to framework", "Figma Community resources" Before first use, set up the prerequisites the heads-up lists: a Figma personal access token, the `figma-developer-mcp` server in your `.mcp.json`, and Python 3.8+. Without the MCP server the skill cannot read any Figma file. ## What it does A Figma-to-code workflow built on the `figma-developer-mcp` server. It browses a Figma file or a single node, downloads image assets, extracts design tokens (CSS variables, Tailwind config, SCSS or JSON) with a bundled Python script, and generates component code for Tailwind, React, Vue, Svelte, React Native, Flutter or plain CSS. A separate workflow builds a project profile and searches Figma Community for UI kits and design systems that fit it. Everything runs through your own Figma token. ## When NOT to use - Official Figma file operations (reading/writing your files) — use the Figma MCP (`figma-official-skills`) - Design system token enforcement in Figma — use `claude2figma` - Token architecture without Figma — use `design-tokens-skill`
© podo · MIT · podo/design-agent-skills