From designpowers
Structures design token systems using three-layer model (global, semantic, component tokens), naming conventions, theming for dark mode, accessibility, and multi-platform distribution. Use for new design systems or refactoring inconsistencies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/designpowers:token-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Design tokens are the single source of truth for visual decisions. They bridge design intent and code. This skill structures how tokens are named, layered, and distributed.
Design tokens are the single source of truth for visual decisions. They bridge design intent and code. This skill structures how tokens are named, layered, and distributed.
design-system-alignment identifies inconsistencyRaw values. Named by what they are, not what they do.
--color-green-500: #2D6B4F;
--space-4: 16px;
--radius-md: 12px;
These never appear in component CSS.
Map global tokens to roles. Named by what they do.
--color-surface: var(--color-green-100);
--color-text-primary: var(--color-green-900);
--color-accent: var(--color-green-500);
Theming happens here — dark mode swaps semantic mappings, not global values.
Map semantic tokens to component contexts. Optional but valuable at scale.
--button-bg: var(--color-accent);
--card-bg: var(--color-surface);
--{category}-{property}-{variant}-{state}
Categories: color, space, font, radius, shadow, motion. Never use hex values in names or ambiguous abbreviations.
Dark mode is a semantic token remap:
[data-theme="dark"] {
--color-surface: var(--color-grey-900);
--color-text-primary: var(--color-grey-100);
}
Global tokens stay. Semantic tokens swap. Component tokens inherit.
--motion-duration-none: 0ms for reduced-motiondesign-lead, ui-compositiondesign-builder, design-system-alignmentnpx claudepluginhub owl-listener/designpowersArchitects 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.
Establishes a three-tier design token system (primitive, semantic, component) with naming conventions, aliasing chains, theme switching, and token-to-code pipeline.
Defines, names, and documents design tokens with semantic layering and platform-ready output to ensure visual consistency across platforms.