The story
When we switched on a lint rule that stops components from overriding the design system's surface colours, it flagged 39 places.
None of them looked wrong on screen. Each one was a small, reasonable shortcut: a slightly different surface, a value that seemed close enough. That's exactly the kind of drift fast work produces, and agents make work very fast. Left alone for a few weeks, a design system starts to dissolve from the inside.
That was the moment the question changed. Agents could clearly help build the product. The real design problem was what they read before they start, and what stops them when they drift.
The shift
A year ago, AI in design systems was a roadmap slide: something that would one day generate components or validate screens. Today agents write a large share of the code in my prototypes and docs, every day.
The model matters less than you'd think. What decides the quality of their work is set up before they start typing, and it's built by the same people who build the design system.
01 · Context
Giving agents context
An agent that guesses at your design system will confidently invent one. So each repository carries rule files every agent reads first, a design manifest that explains the system in plain language, and a documentation feed agents can query for a component's real props and usage. Nothing about a component has to be guessed.
“Never assume. Look it up.”
02 · Roles
Specialists, not one assistant
One general assistant is easy to start with and hard to trust. We split the work into specialists with narrow jobs: a design engineer that builds, a UX reviewer that checks flows and copy, a spacing auditor, a code reviewer, and one that regenerates the Figma mirror. Each has its own instructions and limits, and none of them can edit the rules they follow.
Design engineer
Builds features on the design system.
UX reviewer
Checks flows, states and copy.
Spacing auditor
Flags anything off the spacing scale.
Code reviewer
Reviews every change before a person does.
Figma mirror
Regenerates design frames from code.
- None of them can edit the rules they follow.
03 · Quality
Guardrails before review
Agents are fast, so their mistakes arrive fast too. The answer is to catch them before a person looks: lint rules that reject hard-coded colours and anything outside the token set, accessibility lint, required Empty, Loading, Dense and Error states on content views, size-capped changes, and end-to-end tests in CI. By the time a human reviews, the boring failures are gone.
04 · Roadmap
What's next, honestly
Some of what this session used to promise doesn't run yet, and it's better to say so. There's no automated contrast check in the pipeline today, and no live usage data feeding design decisions. Both are next. Claiming them early would undo the trust the rest of the system is built on.
- Token-only colour lint✓ Running
- Accessibility lint✓ Running
- Required Empty, Loading, Dense and Error states✓ Running
- End-to-end tests in CI✓ Running
- Reviewer agent on every change✓ Running
- Automated contrast checkNext
- Usage data feeding design decisionsNext
Then & now
What changed
Then
Now
ThenAI is a future layer on the roadmap.
NowAgents build alongside us every day.
ThenContext is pasted into a chat, if at all.
NowRule files, a design manifest and docs agents can query.
ThenQuality depends on whoever reviews last.
NowLint, tests and a reviewer agent run on every change.
Then“AI will validate designs automatically.”
NowClaim only the checks that actually run.
In practice
- 01
Write the rules file first. Before an agent builds anything, give it a short file of the rules it must follow and where to look things up.
- 02
Split the work. Narrow agents with clear limits are easier to trust than one assistant that does everything.
- 03
Automate the boring failures. Lint and tests should reject what a reviewer would reject, so people review judgment, not typos.