Problem of practice
“AI coding agents fabricate token values, forget past decisions between sessions and can't read design intent from source code, so prototypes drift visually over time.”
Learning goal
Designers will be able to structure a design system into spec files, named tokens and automated audits so AI coding agents produce consistent output across sessions.
What it does
A written guide and method for making a design system usable by AI coding agents. It explains why AI tools invent values and drift between sessions. It then lays out a four-part setup: spec files, a closed token layer, an audit script, and drift detection for upstream updates. It also includes a worked example with Atlassian's design system and a FAQ.
- Explains why AI sessions drift: made-up values, no memory across sessions, and no access to design intent
- Structured markdown spec files the AI reads at the start of every session
- A closed set of named tokens the AI picks from instead of inventing values
- An audit script that flags raw values and names the right token, plus a sync routine for upstream changes



