In the Skill's Own Terms
This skill builds scalable design systems with design tokens, theming infrastructure, and component architecture patterns. It creates three-tier token hierarchies—primitive tokens for raw values, semantic tokens for contextual meaning, and component tokens for specific usage—then implements theme switching with CSS custom properties and React context providers.
The skill handles multi-platform token generation for CSS, iOS, and Android, establishes Figma-to-code workflows with Style Dictionary, and architects component libraries using compound components, polymorphic components, variants, slots, and headless UI patterns. It detects system preferences like prefers-color-scheme and reduced motion modes.
What it produces
- Multi-platform token files generated for CSS, iOS, and Android
- Component libraries with variant and size systems
- Design system documentation and guidelines
How It Works
- 01Define Primitive Tokens
Create raw value tokens for colors, sizes, and fonts that serve as the foundation layer. These are literal values like hex codes and pixel measurements.
- 02Build Semantic Token Layer
Reference primitive tokens to create contextual tokens like text-primary, surface-elevated, and border-default that carry meaning rather than visual description.
- 03Create component-specific Tokens
Define tokens for specific component usage such as button-bg and card-border that reference semantic tokens.