Design System teaches an agent to structure tokens in three layers: primitive values, semantic aliases and component tokens. Scripts generate CSS variables from a JSON token config and scan source folders for hardcoded colors and fonts that should be tokens.
The skill also carries a slide system. A BM25 search over CSV data picks a deck strategy, layouts, typography, colors, backgrounds, copy formulas and chart types, and a validator checks generated slide HTML for token compliance.
What You Get
- A token generator that turns a JSON config into a CSS file of variables
- A validator that scans a folder for hardcoded values that should be tokens
- Seven reference documents on token layers, component specs, states and Tailwind integration
- A starter token JSON with the primitive, semantic and component structure
- Slide tooling: BM25 search over strategies, layouts, copy and charts, plus a token validator for slide HTML
Common Use Cases
- Setting up primitive, semantic and component tokens for a new product
- Finding raw hex values and font names in source files and replacing them with variables
- Defining hover, active and disabled states for each component
- Building an investor or marketing deck that uses the brand tokens and Chart.js charts
What Makes It Unique
It combines token architecture with a data-driven slide system. Slide recommendations come from searchable CSV tables that encode deck structures, emotion arcs and layout logic, and every slide must import the token CSS and use variables only. Most token skills stop at naming conventions; this one adds generation, scanning and validation scripts.
Under The Hood
The model reads SKILL.md and references, then runs Node and Python scripts from the skill folder. Token scripts read a JSON config or scan a source directory and write a CSS file. Slide scripts search local CSV data, generate slide HTML and validate it, reading and writing project files such as the brand guidelines and token files. A background script returns curated Pexels image links and search pages for each slide type. Generated slides load Chart.js from a public CDN.