Where you are
The spec document is polished; developers still write their own styles, and a theme change means global search-replace.
Why the usual approaches fail
- the spec lives in docs only: code ignores it
- arbitrary token names: no mapping
- components drift from the spec: states missing
Three paths
| Path | Good for | Cost |
|---|---|---|
| Manual | one-off | 1–2 hours |
| Prompt only | quick fix | unstable, needs retries |
| skill | weekly repetition | install once, stable after |
Recommended steps
- Fix token naming and levels with design-system
- Turn tokens into CSS variables and components with ui-styling
- Build three frequent components first: button, input, card
- Accept each against the spec page
Acceptance criteria
- colours and spacing come from tokens
- three base components have full states
- theme change in one place
Related skills
- design-system — Build a design system: token architecture, component specs and slide generation.
- ui-styling — Build accessible interfaces with shadcn/ui: layout, states and interaction rules.