agentleFS
ulises-jeremiasulises-jeremias/agent-toolkit/skills/design/figma/SKILL.md

figma

Skill18 starsChanged 3 months agoMITView on GitHub

Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and

34 other projects use a version of this, 17 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the Figma MCP server for Figma-driven implementation.

    line 11
  2. Very specific:

    Run get_design_context first to fetch the structured representation for the exact node(s).

    line 35
  3. Very specific:

    If the response is too large or truncated, run get_metadata to get the high-level node map and then re-fetch only the required node(s) with …

    line 37
  4. Very specific:

    Run get_screenshot for a visual reference of the node variant being implemented.

    line 40
  5. Very specific:

    Only after you have both get_design_context and get_screenshot, download any assets needed and start implementation.

    line 42
  6. Distinctive:

    Treat the Figma MCP output (React + Tailwind) as a representation of design and behavior, not as final code style.

    line 51
  7. Distinctive:

    Use the project's color system, typography scale, and spacing tokens consistently.

    line 57
  8. Very specific:

    Important: if the Figma MCP server returns a localhost source for an image or SVG, use that source directly.

    line 71
  9. Distinctive:

    Important: do NOT import/add new icon packages — all assets should be in the Figma payload.

    line 73
  10. Very specific:

    Important: do NOT use or create placeholders if a localhost source is provided.

    line 75
  11. Distinctive:

    Always ensure the link points to the exact node/variant you want.

    line 83
  12. Distinctive:

    Do not bypass the MCP and call the Figma REST API directly from this skill.

    line 90

“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Figma MCP

Use the Figma MCP server for Figma-driven implementation. For setup and debugging details (env vars, tool registration, verification), see references/figma-mcp-config.md.

This is the entry-point skill for the Figma family. Switch to a more specialized skill once intent is clear:

If the user wants to…Use
Translate a Figma node into production codefigma-implement-design
Generate a full screen in Figma from code/descriptionfigma-generate-design (opt-in pack — see docs/SKILLS.md)
Author Code Connect mappingsfigma-code-connect-components
Create reusable agent rules (CLAUDE.md/AGENTS.md) for a design systemfigma-create-design-system-rules
Create a brand-new Figma filefigma-create-new-file
Run JS in Figma via the Plugin APIfigma-use (opt-in pack — see docs/SKILLS.md)
Generate/import a full libraryfigma-generate-library (opt-in pack — see docs/SKILLS.md)

Figma MCP Integration Rules

These rules define how to translate Figma inputs into code for this project and must be followed for every Figma-driven change.

Required flow (do not skip)

  1. Run get_design_context first to fetch the structured representation for the exact node(s).
  2. If the response is too large or truncated, run get_metadata to get the high-level node map and then re-fetch only the required node(s) with get_design_context.
  3. Run get_screenshot for a visual reference of the node variant being implemented.
  4. Only after you have both get_design_context and get_screenshot, download any assets needed and start implementation.
  5. Translate the output (usually React + Tailwind) into this project's conventions, styles and framework. Reuse the project's color tokens, components, and typography wherever possible.
  6. Validate against Figma for 1:1 look and behavior before marking complete.

Implementation rules

  • Treat the Figma MCP output (React + Tailwind) as a representation of design and behavior, not as final code style.
  • Replace Tailwind utility classes with the project's preferred utilities / design-system tokens when applicable.
  • Reuse existing components (e.g. buttons, inputs, typography, icon wrappers) instead of duplicating functionality.
  • Use the project's color system, typography scale, and spacing tokens consistently.
  • Respect existing routing, state management, and data-fetch patterns already adopted in the repo.
  • Strive for 1:1 visual parity with the Figma design. When conflicts arise, prefer design-system tokens and adjust spacing or sizes minimally to match visuals.
  • Validate the final UI against the Figma screenshot for both look and behavior.

Asset handling

  • The Figma MCP server provides an assets endpoint that serves image and SVG assets.
  • Important: if the Figma MCP server returns a localhost source for an image or SVG, use that source directly.
  • Important: do NOT import/add new icon packages — all assets should be in the Figma payload.
  • Important: do NOT use or create placeholders if a localhost source is provided.

Link-based prompting

  • The remote Figma MCP server is link-based: copy the Figma frame/layer link and provide that URL to the AI tool when asking for implementation help.
  • The AI tool cannot browse the URL but extracts the node ID from the link. Always ensure the link points to the exact node/variant you want.

Boundaries

  • This skill reads Figma context and writes code in the user's repo. It does not write back into Figma — that lives in the opt-in figma-use / figma-generate-design pack (see docs/SKILLS.md).
  • Do not bypass the MCP and call the Figma REST API directly from this skill.

References

  • references/figma-mcp-config.md — register the Figma MCP in Claude Code / Cursor / OpenCode / Windsurf. Points at the agent-toolkit template under ~/.local/share/agent-toolkit/mcp/figma/.
  • references/figma-tools-and-prompts.md — tool catalog and prompt patterns.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.