From grimoire
Defines, names, and documents design tokens with semantic layering and platform-ready output to ensure visual consistency across platforms.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:write-design-system-tokenThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Define design tokens with clear naming, semantic layers, and platform-ready output so design decisions are consistent and themeable.
Define design tokens with clear naming, semantic layers, and platform-ready output so design decisions are consistent and themeable.
Adopted by: Salesforce Lightning, IBM Carbon, Adobe Spectrum, GitHub Primer, Atlassian Design System
Impact: Spotify reported a 60% reduction in design inconsistency across platforms after adopting a structured token layer; the W3C Design Tokens format (.tokens.json) is becoming the cross-tool standard for Figma→code pipelines
Why best: Tokens transform design decisions from hardcoded values scattered across codebases into a single source of truth. Without a semantic layer, changing a brand color requires touching thousands of individual components instead of one token value.
color-blue-500: #2563EB, spacing-4: 16px, font-size-base: 16px. Never use these tokens directly in components.color-action-primary: {color-blue-500}, space-component-padding: {spacing-4}. Components consume semantic tokens, not primitives.button-background-default: {color-action-primary}. This allows component-level overrides without breaking the semantic layer.[category]-[concept]-[variant]-[state]: color-text-primary, color-text-secondary, color-border-focus, space-inset-md. Avoid color names in semantic tokens (color-blue not allowed at semantic level).color-danger not color-red.Salesforce Lightning tokens:
color-palette-brand-dark: #0176D3color-brand: {color-palette-brand-dark}button-color-brand: {color-brand}A brand update changes color-palette-brand-dark to #0154A5 — every component consuming button-color-brand updates automatically.
color-blue-primary breaks when the brand changes to green; semantic tokens must describe intent, not appearance.npx claudepluginhub jeffreytse/grimoire --plugin grimoire2plugins reuse this skill
First indexed Jun 12, 2026
Architects token systems with primitive, semantic, and component layers. Use when structuring tokens from scratch, adding multi-theme support, setting up token aliasing, or organizing token hierarchies.
Defines and organizes design tokens for color, spacing, typography, elevation, borders, motion with global/alias/component tiers, naming conventions, and best practices.
Use when asked to define a design token system, create tokens, document tokens, set up CSS custom properties, build a Tailwind token config, establish a spacing scale, define color semantics, or bridge design decisions to code. Examples: "set up design tokens", "define our token system", "create CSS variables for the design system", "document our color tokens", "establish a spacing scale".