southleft/figma-console-mcp-skills

figma-setup-design-tokens

Bootstrap a complete design-token system in Figma in one atomic step — create a variable collection, its modes (e.g. Light/Dark), and every variable with per-mode values together. Use when starting a token system from scratch: triggers 'set up design tokens in Figma', 'create a token collection with light and dark modes', 'scaffold variables', 'bootstrap a Figma theme'. Works on ANY Figma plan. For incremental edits to an existing system use figma-manage-variables; for syncing from a code token…

First seen Jun 1, 2026

Installation

$ npx skills add southleft/figma-console-mcp-skills --skill figma-setup-design-tokens

Summary

  • Bootstrap a complete design-token system in Figma in one atomic step — create a variable collection, its modes (e.g.
  • Light/Dark), and every variable with per-mode values together.
  • Use when starting a token system from scratch: triggers 'set up design tokens in Figma', 'create a token collection with light and dark modes', 'scaffold variables', 'bootstrap a Figma theme'.
  • Works on ANY Figma plan.
  • For incremental edits to an existing system use figma-manage-variables; for syncing from a code tokens file use figma-import-tokens.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from southleft/figma-console-mcp-skills · top by installs.

npx skills add southleft/figma-console-mcp-skills

Browse all from southleft/figma-console-mcp-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 80
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,943 B
  • docs SUMMARY.md 565 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 94 installs

SKILL.md

figma-setup-design-tokens — atomic token-system bootstrap

Create a variable collection + modes + all variables in a single use_figma call. This is the fastest way to stand up a new token system (or a new collection within one). Because it runs as one atomic script, either everything is created or nothing is (failed scripts apply no changes).

Skill boundaries

  • use_figma rules — load the official figma-use skill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-level await + return (no IIFE, no figma.closePlugin(); console.log is not returned), inputs inlined as const at the top of each script, colors in 0–1 range, load fonts before any text op, await figma.getNodeByIdAsync(...), and atomic errors (a failed script applies nothing — read the error, fix, retry).
  • Incremental CRUD / batch edits to an existing system → figma-manage-variables.
  • Sync from a code token file → figma-import-tokens.

Workflow

  1. Agree the v1 scope. List the collection name, the modes (first one is the default), and the

full token set with per-mode values. Lock this before writing — it's much cheaper than editing afterward.

  1. Fill the constants in [scripts/setup-tokens.js](scripts/setup-tokens.js): COLLECTION_NAME,

MODES, TOKENS (values keyed by mode name), and optional per-variable SCOPES.

  1. Run via use_figma (skillNames: "figma-setup-design-tokens"). It returns

{ collectionId, modes, created, errors }.

  1. Validate with getvariabledefs or the figma-export-tokens read script, then screenshot if

you also created swatches.

Notes

  • Two-tier systems: create primitives (raw values) with this skill, then create semantic

tokens that alias them using figma-import-tokens (which has the alias pass) or figma-manage-variables. Keep primitives single-mode and put theming on the semantic layer.

  • Set scopes: the default ALL_SCOPES clutters every property picker. Pass SCOPES for the

surfaces each token belongs to (FRAMEFILL/SHAPEFILL for backgrounds, TEXTFILL for text, GAP for spacing, CORNERRADIUS for radii, WIDTH_HEIGHT for sizing).

  • Keep one bootstrap per collection. Multiple collections = multiple runs.