Design systems with AI
For both
Generating and auditing tokens and components, documenting them, governing changes and making the system usable by coding agents
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
An AI drafts a text colour and says it has a 5.1:1 contrast ratio on white. What should you do?
Check yourself · 2 of 5
An AI audit lists a hard-coded colour at Card.tsx line 42. What is the right next step?
Check yourself · 3 of 5
An AI-written doc says a Button accepts size="xl", but the component's types only allow sm, md and lg. What is the right fix?
Check yourself · 4 of 5
A coding agent keeps adding hard-coded colours to new screens. What is the most direct fix?
Check yourself · 5 of 5
An AI agent opens a pull request that adds a new colour token to the design system. Who should approve it?
Topics
- Generating and checking design tokens4 min read · Colour, spacing and type scales drafted by AI in the W3C design-token format, then checked for contrast, naming and broken scales
- Auditing components for consistency4 min read · Finding duplicate components and off-token values across design files and code with AI, and confirming each finding
- Writing component documentation with AI4 min read · Usage guidance, do and don't examples and props drafted from the real code, and fixing statements that drift from it
- Making a design system agent-readable5 min read · Machine-readable tokens, a component inventory and instruction files so coding agents reuse components instead of inventing new ones
- Governing changes to a design system4 min read · Who approves token and component changes, how proposals from people and agents are reviewed, versioned and deprecated
Start here
- Design Tokens Format Module (W3C Design Tokens Community Group) (opens in a new tab)StandardFree
The draft format for tokens: $value, $type, groups and aliases, so tools and agents read the same file.
- Guide to variables in Figma (Figma Help) (opens in a new tab)DocsFree
How colour, number and string variables, collections and modes work in a design file.
- Design Systems 101 (NN/g) (opens in a new tab)ArticleFree
Plain definitions of a design system, its parts and why teams keep one.
Scenarios
Helps to know first
110 questions · last verified 2026-12