Agent skill Frontend
Figma Spec
Connect design references and design tools to frontend implementation.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add figma/mcp-server-guide --skill figma-spec --agent claude-code --yesCheck this file in your project.claude/skills/figma-spec/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add figma/mcp-server-guide --skill figma-specSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A standalone Spec link or the embedded Spec’s file and node link, edit access, the approved requirement, and Specs support on the connected Figma plan.
View operation manualWhat this skill helps with
- Connect design references and design tools to frontend implementation.
Good for
- Design handoff
- Task
- Update one acceptance criterion in an existing Spec
- Requirements
- A standalone Spec link or the embedded Spec’s file and node link, edit access, the approved requirement, and Specs support on the connected Figma plan.
- Deliverable
- A surgical change to one Markdown section, with a before-and-after excerpt verified from the same Spec.
- Skill name
figma-spec- Repository
figma/mcp-server-guide
Make the scope and outcome verifiable
An underspecified brief
Rewrite the booking PRD to add the approved change.
A whole-document replacement can detach anchored comments and discard concurrent work. One requirement can be updated by matching its exact context.
A result you can check
- Check the plan feature and identify the target Markdown section.
- Patch the confirmed criterion using the existing surrounding context.
- Verify the specific replacement with live Markdown from the resolved node.
Figma Spec operation manual
A surgical change to one Markdown section, with a before-and-after excerpt verified from the same Spec.
A standalone Spec link or the embedded Spec’s file and node link, edit access, the approved requirement, and Specs support on the connected Figma plan.
Resolve and read the exact Spec
Check the plan feature and identify the target Markdown section.
Prompt · Step 1Use the official Figma figma-spec Skill and read its installed SKILL.md. With [standalone Spec link or embedded Spec node URL], load figma-use and check for figma.spec in the first read-only use_figma call. If it is missing, report that the connected plan or session cannot use the documented API for this file. Resolve the exact document node, confirm it is the intended Spec, and read the Bookings acceptance section with figma.spec.getContent. Show the current criterion and any comment anchors in its vicinity before editing.Apply one uniquely matched replacement
Patch the confirmed criterion using the existing surrounding context.
Prompt · Step 2Use the official Figma figma-spec Skill and read its installed SKILL.md. Using [approved booking acceptance criterion], update only the matched requirement in [resolved Spec]. Use figma.spec.editContent with an oldText span that occurs exactly once, including nearby context when needed. Preserve comment anchors and the heading. If the span changed or is ambiguous, reread the section and report the conflict before editing.Reread the same section and report the change
Verify the specific replacement with live Markdown from the resolved node.
- The unique old text was patched in the intended Spec and section.
- Readback confirms the approved replacement and preserves the nearby anchors.
Prompt · Step 3Use the official Figma figma-spec Skill and read its installed SKILL.md. Call figma.spec.getContent for the same Spec node ID. Check within the Bookings acceptance section that the approved line appears once and the old wording there is gone. Compare nearby criteria and comment markers with the baseline. Give me the target link and a compact before-and-after excerpt, and identify any unreadable or unverified surrounding content.
Look up this workflow decision
Read the matching section in the installed Figma Skill.
The phrase occurs twice in the target SpecSKILL.md
- Command or reference
Content methods- Examples
- Add heading or neighboring text to the oldText match, then verify the result in the intended section.
Troubleshooting
What if the Spec opens in Figma but figma.spec is missing?
Check remote Figma MCP, file edit access, and whether Specs is enabled for the current file plan. Stop the write when the API is missing.
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.