What problem does it solve?
UI codebases often accumulate hardcoded design values (colors, spacing, typography, shadows, radii, z-index), making visual consistency hard to maintain and theme changes risky and slow.
Core Features & Use Cases
- Token audit & mapping: Detects hardcoded design values across the codebase and maps them to a three-layer token model (primitives → semantic → optional component).
- Token home integration: Locates the existing token “home” (CSS variables, Tailwind config, Style Dictionary, or creates
globals.css :root) and snapshots current tokens to avoid conflicts.
- Safe, screenshot-driven replacement: Replaces hardcoded values with
var(...)/tokenized equivalents while validating regressions via before/after screenshots across key screens and viewports, and supports dark mode semantics.
Quick Start
Ask the assistant to run the tokens skill to audit your UI codebase for hardcoded design values and replace them with a maintainable, themeable token system.