A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Full Figma ↔ code design token round-trip: DTCG JSON, CSS, SCSS, Style Dictionary
Extract design tokens from Figma design system files and write them back. Supports W3C DTCG and CTI (Style Dictionary) naming conventions.
tokens.json, tokens.css, tokens.scss, style-dictionary.config.jsoncurl -sL https://raw.githubusercontent.com/gregorymm/design-tokens/main/install.sh | bash
This clones the plugin into ~/.claude/plugins/marketplaces/design-tokens, registers it in ~/.claude/settings.json, and you're done. Restart Claude Code and use /design-tokens.
Requires git and node.
Step 1 — Clone the plugin:
mkdir -p ~/.claude/plugins/marketplaces
cd ~/.claude/plugins/marketplaces
git clone https://github.com/gregorymm/design-tokens.git design-tokens
Step 2 — Register it in ~/.claude/settings.json. Merge these two entries into the existing objects (don't overwrite):
{
"enabledPlugins": {
"design-tokens@design-tokens": true
},
"extraKnownMarketplaces": {
"design-tokens": {
"source": {
"source": "github",
"repo": "gregorymm/design-tokens"
}
}
}
}
Step 3 — Restart Claude Code.
The skill can be invoked two ways:
/design-tokens
Type /design-tokens in Claude Code — the skill runs immediately and walks you through the prompts.
Just describe what you want. Claude Code matches the skill's trigger phrases and runs it automatically:
extract design tokens from my Figma filesexport figma variables as design tokensextract tokens from https://figma.com/design/<KEY>/...sync tokens between Figma and codewrite my tokens.json back to Figmapull design tokens from these Figma files: <url1> <url2>The skill walks you through:
./design-tokens/It introspects master components to derive semantic + component tokens, runs a self-check, then writes tokens.json, tokens.css, tokens.scss, and style-dictionary.config.json.
After extraction, it asks if you want to push the tokens back to Figma and rebind layers (variables + layer bindings so components reference variables instead of raw hex).
The skill can push extracted tokens back to Figma and rebind existing layers. The method depends on your plan:
| Plan | Method | Speed |
|---|---|---|
| Enterprise | REST API (POST /v1/files/:key/variables) | Fast, headless |
| Professional / Organization | Generated Figma plugin (manifest.json + code.js you load in Figma desktop) | Manual trigger, runs inside Figma |
| Starter (free) | Not supported — use Tokens Studio or upgrade | — |
The layer rebind step walks every node across your Figma files, matches raw hex/number values to your new tokens, and replaces them with variable bindings. Result: components stop using #4B64FF directly and start referencing color.primitive.accent.500. Changing a token value then propagates to every bound layer automatically.
In Claude Code, ask: what skills do you have? — design-tokens should appear in the list. Or just say extract design tokens and see if the skill triggers.
| W3C DTCG | CTI | |
|---|---|---|
| Field prefix | $value, $type | value, type |
| Naming order | Component first: button.primary.bg.color | Category first: color.button.bg.primary |
| Best for | Style Dictionary v4+, new projects | Style Dictionary v3, legacy systems |
design-tokens/
tokens.json # Full token tree
tokens.css # CSS custom properties
tokens.scss # SCSS variables + typography mixins
style-dictionary.config.json # Build config
MIT
Route Claude Code traffic to any of 17 provider backends including free or local models
ML engineering — model training, deployment, MLOps, monitoring
Codex / Claude Skill for editable thesis-defense PPTX from PDF or LaTeX while preserving a PowerPoint template. 从论文 PDF
Database performance — query plans, indexing strategies, N+1 detection, caching