Figma console
Use when the user asks to inspect, diagnose, read, edit, prototype, export, or screenshot a Figma file through the local figma-console-mcp/Desktop Bridge; use it for live Figma canvas work, node geometry, text, components, reactions, flows, or prototype validation.From its SKILL.md
npx -y skills add atomlink-ye/my-claude-plugins --skill figma-consoleAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.6 KB, as published. Nobody here has run it
Figma Console
Use this skill for live Figma work. It is a runtime adapter, not a replacement
for Figma's API contract: schema first, Bridge as live truth. REST and
hybrid convenience tools can be useful, but may return 429; retry briefly or
switch to a focused Bridge call rather than assuming a missing node.
The Desktop Bridge reads and writes the state of the Figma desktop app on this machine. Bridge calls must run locally where Figma is open and authenticated; do not send a Bridge request to a remote worker or claim that a remote API session represents the current canvas.
Runtime workflow
-
Inspect the installed contract before doing anything else:
mcporter list figma-console-mcp --schema --config ~/.mcporter/mcporter.jsonThen call
figma_diagnoseand report whether the local Desktop Bridge is connected, which file/page is active, and any version or capability drift. Tool routing can be hybrid; in particular,figma_get_component_for_development_deepis explicitly a Desktop Bridge path in the current schema. -
Resolve scope. Prefer an explicit
fileKeyfor one file. For several open files, use the current-schema commands below, then lock the selected URL:mcporter call figma-console-mcp.figma_list_open_files --config ~/.mcporter/mcporter.json mcporter call figma-console-mcp.figma_navigate --args '{"url":"https://www.figma.com/design/FILE_KEY/Example","lock":true}' --config ~/.mcporter/mcporter.json # Unlock the same URL after the operation: mcporter call figma-console-mcp.figma_navigate --args '{"url":"https://www.figma.com/design/FILE_KEY/Example","lock":false}' --config ~/.mcporter/mcporter.jsonKeep the lock narrow; do not infer the current file from a stale tab title.
-
Read before writing: locate the page/node, fetch the smallest useful tree, and capture the current value. For complex JSON always pass one quoted argument, for example:
mcporter call figma-console-mcp.figma_execute --args '{"code":"return figma.currentPage.selection.map(n => ({id:n.id,name:n.name}))"}' --config ~/.mcporter/mcporter.jsonfigma_executedefaults to a 5000 ms timeout and accepts at most 30000 ms in the current local schema. Keep scripts small and deterministic. -
Before any text write, await
figma.loadFontAsyncfor every font/style the text node will use. Do not rely on a font merely being present in the inspector. For prototype reactions use the currentactionsshape; verify the target node and trigger in the returned object. -
After writing, read the changed nodes back and run
figma_capture_screenshot. Use--save-images <directory>for image outputs when invoking mcporter. A successful mutation without a read-back and screenshot is incomplete; mention any stale render or session-only observation explicitly. -
For a portable artifact, save a frame JSON read-back and run the bundled exporter:
python3 skills/figma-console/scripts/export.py frame.json --out-dir outThe exporter emits deterministic HTML/CSS only. It does not fabricate PNGs or prototype flows. See the linked references for the data and acceptance details.
For the current selection, use
scripts/serialize-selection.jsas thecodevalue with a 30000 ms timeout, pass the quoted JSON through--args, and retain the MCP--output jsonwrapper asframe.json; the exporter unwraps a top-levelresult. In mcporter 0.9.0,--argsmust be quoted JSON; inspectmcporter --helpbefore relying on newer stdin forms.
Reference routing
- data-paths.md: Bridge/REST/hybrid boundaries, rate limits, diagnosis, and version drift.
- editing-and-prototyping.md: execute scripts, fonts, text, reactions, Smart Animate, and session observations.
- export-format.md: frame JSON shape, stable HTML/CSS output, screenshot/read-back acceptance, and CLI usage.
- mcporter.md: current quoted-JSON argument form and version-aware CLI guidance.
If a reference conflicts with the installed schema, the schema wins; record the observed version and update the local run notes rather than guessing.