figma-variables-tokens-generator — Claude Code skill
figma-variables-tokens-generator interviews you about design system properties and produces a W3C DTCG token ZIP archive. Useful for structuring tokens ready for import into Figma Variables.
MIT 203 installs ★ 35 updated 2026-10-21
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a claude-codeWhat figma-variables-tokens-generator does
The skill asks about your brand colors and spacing rules. It supports up to four token tiers. Once the interview concludes, an internal Python script generates a W3C DTCG token archive. The files are divided into collections: Primitives, Theme, contextual Semantic aliases for light or dark modes, and Component tokens.
Running the bundled generator requires Python 3. It generates files locally. To bring variables into your project, you need a Figma account and the free Variables Tokens Collections Importer plugin. Without that companion plugin, you cannot load the resulting ZIP into Figma Variables.
The focus stays on Figma. If you need token pipelines directly inside code repositories, the upstream author suggests using design-tokens-skill instead.
What it helps with
- generate W3C DTCG compliant JSON token files
- structure design tokens into tiers from Primitives to Component
- configure semantic alias chains across light and dark modes
- package tokens into a ZIP ready for Figma import
Example prompts for the agent
- Help me set up Figma variables and generate a W3C token ZIP
- Run the token generator for a four-tier design system
- Create theme and semantic tokens using figma-variables-tokens
How to install figma-variables-tokens-generator
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a claude-code2Manually: put the files in place
~/.claude/skills/figma-variables-tokens-generator/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/figma-variables-tokens-generator/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a codex2Manually: put the files in place
.agents/skills/figma-variables-tokens-generator/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a cursor2Manually: put the files in place
.cursor/skills/figma-variables-tokens-generator/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install podo/design-agent-skills skills/figma-variables-tokens-generator2Manually: put the files in place
.github/skills/figma-variables-tokens-generator/SKILL.md1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a gemini-cli2Platform CLI
gemini skills install https://github.com/podo/design-agent-skills --path skills/figma-variables-tokens-generatorManually: put the files in place
.devin/skills/figma-variables-tokens-generator/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about figma-variables-tokens-generator
How to install figma-variables-tokens-generator in Claude Code?
Run npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a claude-code in your terminal. This writes the skill definition to ~/.claude/skills/figma-variables-tokens-generator/SKILL.md.
What does figma-variables-tokens-generator do?
It interviews you about your color palettes, spacing, and tier architecture. Then it outputs a W3C-compliant ZIP archive formatted for Figma Variables.
What dependencies are required to use this skill?
You need Python 3 installed to execute the bundled token generator. To bring the ZIP archive into your designs, install the Variables Tokens Collections Importer plugin in Figma.
Source text
SKILL.md · MIT
--- name: figma-variables-tokens-generator description: | Guides creation of a W3C-compliant token system via an interview, generates a structured ZIP of JSON token files organized by collection tier (Primitives, Theme, Semantic, Component), and relies on a separate Figma plugin that imports them in dependency order. triggers: - "Figma variables" - "token generator" - "figma-variables-tokens" - "W3C token ZIP" - "Shanmus4" - "token collection tiers" das: type: package category: figma-code upstream: "https://github.com/Shanmus4/figma-variables-tokens-generator" upstream_path: "figma-variables-tokens-generator/SKILL.md" version: latest install: false --- # figma-variables-tokens-generator > Catalogue stub — full package: [Shanmus4/figma-variables-tokens-generator](https://github.com/Shanmus4/figma-variables-tokens-generator) <!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block --> ## Decision tree 1. **Is the full skill already installed?** - Global: `f=~/.agents/skills/figma-variables-tokens-generator/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - Project: `f=.agents/skills/figma-variables-tokens-generator/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - `installed` → the skill is installed as `figma-variables-tokens-generator`, invoke it and proceed - `pointer` → go to step 2 2. **Detect scope, then install:** ```bash [ -e ~/.agents/skills/figma-variables-tokens-generator ] && echo "global" || echo "project" ``` **Global:** ```bash npx skills add Shanmus4/figma-variables-tokens-generator --skill figma-variables-tokens-generator -g -y ``` **Project:** ```bash npx skills add Shanmus4/figma-variables-tokens-generator --skill figma-variables-tokens-generator -y ``` > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation. **Heads-up** - **Requires:** Python 3 (the skill generates the token ZIP by running its bundled Python generator); A Figma account and the free Figma Community plugin "Variables Tokens Collections Importer" (not part of this install) to import the ZIP - **License:** Apache-2.0 <!-- das:install:end --> ## Invoke after install - Skill name: `figma-variables-tokens-generator` - Triggers: "Figma variables", "token generator", "W3C token ZIP", "Shanmus4" ## What it does Interviews you about your brand colours, spacing, typography and the token architecture you want (from a flat single tier up to four tiers), then generates a W3C Design Token Community Group (DTCG) compliant ZIP archive with a bundled Python generator. The ZIP contains JSON token files organized into collection tiers: Primitives (raw values), Theme, Semantic (contextual aliases, with light/dark modes) and Component (component-specific tokens), with Figma variable scoping applied and alias chains kept stable across modes. The ZIP is imported into Figma Variables with the companion Figma Community plugin "Variables Tokens Collections Importer", which respects dependency order across tiers; that plugin is a separate install and is not fetched by this pointer. ## When NOT to use - Code-side token management and pipelines — use `design-tokens-skill` - Existing design systems not based in Figma - Figma design operations unrelated to tokens — use the Figma MCP (`figma-official-skills`)
© podo · MIT · podo/design-agent-skills