# figma-spec

Enables coding agents to draft, inspect, edit, and comment on Figma specs formatted as Markdown inside designs or dedicated files.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 447 installs · ★ 2221 repo stars
- Author: figma
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/figma/mcp-server-guide/tree/HEAD/skills/figma-spec/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/figma-spec

## What it does

This skill guides the assistant through the `figma.spec` JavaScript API to interact with native specification documents. Figma stores these specs as GitHub-Flavored Markdown within `SPEC_BLOCK` canvas nodes. The workflow covers locating existing spec documents across pages, generating new ones in FigJam or Design boards, and spinning up standalone `figspec` files.

Content updates rely on `editContent` rather than rewriting the whole document. Every replacement requires a single exact match for the target text; duplicate or missing matches abort the edit without altering content. Destructive calls to `setContent` remain restricted to initial blank drafts.

Without an active Figma plan that enables Specs, `figma.spec` stays undefined, forcing the agent to halt execution immediately.

## Requirements
- Works with: Figma

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add figma/mcp-server-guide --skill figma-spec -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/figma-spec/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/figma-spec/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add figma/mcp-server-guide --skill figma-spec -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/figma-spec/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add figma/mcp-server-guide --skill figma-spec -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/figma-spec/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install figma/mcp-server-guide skills/figma-spec
```

2. **Manually: put the files in place**
- File: `.github/skills/figma-spec/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add figma/mcp-server-guide --skill figma-spec -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/figma/mcp-server-guide --path skills/figma-spec
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/figma-spec/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add figma/mcp-server-guide --skill figma-spec -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/figma/mcp-server-guide/tree/HEAD/skills/figma-spec/SKILL.md

## When to use it
- draft a PRD or technical RFC directly inside Figma
- apply targeted text updates to an existing design spec
- attach inline comment threads to specific sentences in a spec
- scan canvas pages to locate embedded Markdown document blocks

## Example prompts
- Create an embedded spec on the current canvas outlining user onboarding flow
- Update the authentication section in the Figma spec using exact match replacement
- Add a comment on the performance requirements paragraph in the active spec

## Similar
- [figma-create-new-file](https://affpapa.org/en/nevibecode/skills/nexu-io-figma-create-new-file.md) — skill · 2900 installs
- [figma-use-figjam](https://affpapa.org/en/nevibecode/skills/figma-use-figjam.md) — skill · 5 installs
- [figma-generate-diagram](https://affpapa.org/en/nevibecode/skills/figma-generate-diagram.md) — skill · 5 installs
- [dt-figma-export](https://affpapa.org/en/nevibecode/skills/dt-figma-export.md) — skill · ★ 1627 repo stars
- [figma](https://affpapa.org/en/nevibecode/skills/heygen-com-figma.md) — skill · 466500 installs
- [figma-designer](https://affpapa.org/en/nevibecode/skills/elayadesign-figma-designer.md) — skill · 2900 installs

From the same set: [figma/mcp-server-guide](https://affpapa.org/en/nevibecode/by/figma/mcp-server-guide.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
