Section 3 of 4
Making design systems work for AI
In one minute
Section 02 described five places where an agent's knowledge breaks down. This section looks at how teams are responding to each one. The aim is not just to give an agent a list of components. It is to give the agent what it needs to make a sound design decision: what exists, why it exists, when to use it, how the product already works, and when to stop and ask a person.
No single setup has been shown to work everywhere. Most of what follows comes from organisations describing their own work and from practitioners sharing what they've learned. The evidence is useful, but it is early and mostly self-reported.
From gaps to responses
| Gap described in Section 02 | Responses covered below |
|---|---|
| Components and rules are hard to discover | Make knowledge explicit and structured; connect design to code |
| Important decisions live in people's heads | Write down rationale, not just rules |
| Documentation and implementation disagree | Decide what wins when guidance conflicts |
| Context is incomplete, overwhelming or poorly timed | Deliver the right context at the right time |
| Product and user knowledge is missing | Give the agent product and user context; turn UX principles into decision guidance |
Human oversight runs through all of these and has its own section at the end.
1. Make design knowledge explicit and structured
A human designer can read a guidelines page full of screenshots and absorb the gist. An agent works better when the same knowledge is written down precisely: which properties a component accepts, which combinations are valid, what it is for, and what it must not be used for.
Component contracts. A contract is a precise description of a component: its properties and allowed values, its states, its accessibility requirements and the situations it is meant for. Dieter Möss recommends recording properties, allowed values and valid combinations in a form that can be checked, and making each component's lifecycle status (experimental, stable or deprecated) visible in its description. An agent can't tell that a component has been "unofficially replaced" unless someone writes it down. S16
Semantic tokens with purpose. A semantic token name such as color.danger says what a value is for. Möss suggests going further and attaching the rule, for example that a danger colour is reserved for actions that can't be undone. S16 The Design Tokens Community Group format supports this directly: any token or group can carry a plain-text $description, and alias tokens can point to other tokens, so a meaningful name can sit on top of a raw value. S03
One source, many outputs. Atlassian restructured its design system documentation into schema files covering components, icons, tokens, lint rules and foundational guidelines. Those files record usage, code examples, properties, content standards and accessibility requirements. From that one source the team generates content for its MCP server, its design system skill and DESIGN.md files. Atlassian says the work also revealed gaps in its human documentation, such as missing accessibility guidance and outdated code examples. S20
2. Connect design to code
Agents often invent components because they can't see how a design maps to the real codebase. Connecting the two closes that gap.
Figma's Code Connect links each design component to the actual component in code. When an agent reads a design through Figma's MCP server, it receives the real import statement, a code snippet and any instructions the team has added, instead of a picture to reconstruct. S05S25 Atlassian found that pre-built starter templates, wired up with the right components, cut errors such as made-up imports or the wrong product logo, even though the AI had made those mistakes despite written instructions. S19
Luke Wroblewski describes the next step in this direction. Once agents write most of the code, the coded design system can become the source of truth and act as a "steering layer" that keeps every agent-made change aligned. He also notes one advantage over human teams: an agent reads the documentation every time. S28
3. Write down rationale, not just rules
Tribal knowledge usually exists as a sense of why things are done a certain way. A bare rule ("don't use the alert banner for form errors") helps the agent in the case it names. The reason ("alert banners are for system-wide problems, so using them for field errors trains people to ignore them") helps it in cases nobody anticipated.
Emil Kowalski, who publishes design skills for coding agents, describes his method as working out why something feels right, then writing that reasoning down as a strict rule so the agent doesn't have to guess. S24S09 Jakub Otcenas reports better results when he explains the reasoning behind a visual decision as he would to someone with no design background, with a couple of examples. His team's rules file also sets firm limits on typical agent habits, such as thick coloured borders added for emphasis. S06 Atlassian's content design team found that asking its writing agent to produce a rationale before the copy can improve the result. That observation comes from content writing, not interface design, and it isn't quantified. S21
Practical starting points:
- Ask experienced team members which decisions they keep correcting in reviews. Those are often undocumented rules.
- Record known exceptions alongside the rule, with the reason for each.
- Note rejected alternatives where a reasonable person (or agent) would otherwise choose them.
4. Give the agent product and user context
A component library describes the parts. It rarely describes the product those parts make up. An agent building a new screen also benefits from knowing:
- How the product is organised: navigation model, main objects (such as projects, documents or invoices) and how they relate.
- Terminology: the words the product uses, and the words it deliberately avoids.
- Business rules that affect the interface: for example, who can approve what, and what invalidates an approval.
- Established behaviours: how similar tasks already work elsewhere in the product.
- What users are trying to do: key goals, common mistakes and relevant research findings.
Teams are supplying this in a few ways:
- Context documents that sit in the code repository, such as a product overview, a glossary and key business rules. The agent reads them at the start of a task.
- Intent alongside components. 1Password added documentation about the user's intent, and the problem each component solves, to the design system information its agent retrieves. The aim was for the agent to build things that behave the way users expect in the product. S22
- Richer task descriptions. 1Password found that naming a specific component ("use the secondary neutral button") works better than describing how it should look. Detailed design annotations covering size, spacing, behaviour and states also led to better results. S22
- Instructions to look before building. Teams tell agents to inspect related screens and flows before proposing a solution, so new work follows existing behaviour instead of inventing parallel patterns. Otcenas describes a skill for designing new screens in one project, so every new section follows the patterns and uses the components already in the app. S06
1Password's conclusion is a useful reminder of the limits: the agent was a strong implementer of well-specified work but a poor interpreter of ambiguous requirements. S22 Product context makes an agent's guesses better informed. It doesn't remove the need for a clear brief.
5. Turn UX principles into decision guidance
Most design systems state principles such as "be clear", "prevent errors" or "be consistent". These are valuable for people, but too abstract to change an agent's behaviour on their own. The agent needs principles expressed as guidance it can act on at the moment of decision.
The approaches below come from different practitioners. Combining them into one approach is our synthesis, not an established method.
Express principles as conditions and consequences. "Prevent errors" becomes: "If an action can't be undone, ask for confirmation, name the thing being affected, and use the danger style." Möss's token example follows the same pattern. S16
- PrinciplePrevent errorsTrue, but too abstract for an agent to act on.
- Decision rule
IF the action can't be undone
THEN ask for confirmation,
name what's affected,
use the danger style - Interface Delete 12 invoices?This can't be undone. CancelDelete 12 invoices
Show examples and counter-examples. A short "do this, not that" pair, with the reason, often communicates more than a paragraph of prose.
Package decision procedures as skills. A skill is a reusable set of instructions the agent loads when a task needs it (see part 6). Kowalski's skills include decision flowcharts, for example choosing an animation easing based on whether something is entering, leaving or moving on screen, and explicit ranges for animation timing. S24 The same approach can cover broader UX decisions, for example a procedure for designing a form: identify the user's goal, check how similar forms work in the product, choose a pattern, list the error states, then build. Otcenas found a set of specialised skills (one to design a component, one to build it, one to review it) worked better than a single all-purpose skill. S06
Ask for reasoning and uncertainty. Ask the agent to explain which pattern it chose and why before it builds, and to flag decisions it isn't sure about. 1Password has its agent list uncertain decisions in its pull request description so reviewers know where to look. S22
Know the limits. Kowalski's rules encode his personal taste in interaction design, not universal UX standards, and he is clear that the creative direction still comes from people. S24 No published study yet shows that encoding principles this way reliably improves the usability of agent-built interfaces. Treat it as a promising practice to test with your own team.
6. Deliver the right context at the right time
Too little context leads an agent to guess. Too much, or the wrong kind, buries what matters. Teams currently combine three mechanisms:
| Mechanism | What it is | Best for |
|---|---|---|
| Rules (instruction files) | Project-wide instructions the agent reads every time, in files such as AGENTS.md, CLAUDE.md or .github/copilot-instructions.md | Global conventions: spacing, typography, "always use system components", accessibility requirements |
| Skills | Folders of instructions, examples and scripts that the agent loads only when a task needs them | Repeatable procedures: building a form, auditing a component, reviewing animation |
| Tool connections (often via MCP) | Live lookups the agent can make, such as "give me the API for the Table component" | Detailed, changing information: component APIs, current tokens, design files |
Sources for this table: S10S26S27S08
| Layer | Task starts"Add a filter to invoices" | PlansRecognises a form task | BuildsNeeds the Table API | ChecksBefore handing back |
|---|---|---|---|---|
| RulesAlways on | ||||
| SkillsOn demand | ||||
| Tools (MCP)Live lookup | ||||
MCP (Model Context Protocol) is an open standard for connecting AI tools to outside data and capabilities. A design system team can publish an MCP server once, and any compatible agent can query it. S07 Figma, Storybook and Atlassian all provide design system information this way. S25S23S20
The three mechanisms complement each other. Into Design Systems reports Brad Frost's observation that an on-demand MCP lookup returns information about a card or a button but not the spacing, typography and colour conventions around it. The agent fills those gaps itself unless always-on rules supply them. S17 The Agent Skills specification uses a similar layering: the agent sees only a short description of each skill until it needs one, then loads the full instructions and any supporting files. S08
There are trade-offs. Atlassian initially found that AI prototyping tools struggled to use several separate guidance files, so it combined them into one file with a table of contents and the highest-priority rules at the top. S19 Its later work moved towards structured content served through an MCP server. Atlassian reports that in its internal evaluations, agents using the MCP server produced more accurate code, more quickly and with fewer tool calls, than agents without it. Atlassian hasn't published the method, so treat those figures as indicative. S18S20
None of these mechanisms guarantees compliance. GitHub's documentation notes that Copilot may not follow custom instructions the same way every time. S10
7. Decide what wins when guidance conflicts
Agents meet contradictions: the documentation says one thing, the code another, and an older instruction file says a third. Into Design Systems reports that when sources disagree, agents can't tell which is correct and may pick the first one they find. S17 Atlassian goes further, arguing that documentation that has drifted from the code is worse than none, because it produces confidently wrong output. S20
Responses include:
- Generate rather than duplicate. Producing every format from one source, as Atlassian does, reduces the chance of contradiction. S20
- Monitor drift. Treat disagreement between documentation, tokens and components as a defect to detect and fix. S17
- State an order of precedence. For example: current production code over written documentation; product-specific rules over general system guidance; explicit task instructions over defaults. This is a suggested approach rather than an established standard. The right order depends on where each team keeps its most reliable information.
- Tell the agent to flag conflicts. When sources disagree and precedence doesn't settle it, the agent should say so instead of choosing silently.
8. Keep people responsible for judgment
Every source reviewed here keeps people in charge of decisions that need judgment.
- Decide which actions an agent may take on its own. Into Design Systems reports GitHub's approach for its Primer design system: trust levels are set per action, not per agent. Low-risk fixes might be merged automatically, value changes become draft proposals, and new component APIs or governance decisions are only ever suggested. Primer's agents can open issues but never merge. S17
- Qualify the work before the agent starts. At 1Password, a developer decides a ticket is ready before the agent picks it up. The team found that ticket quality can't be automated. S22
- Don't let agents update the system unchecked. Wroblewski observes that if models had free rein over the design system, they would over-document, and that a designer's judgment still decides what belongs in it. S04
- Route work by how much judgment it needs. Atlassian's content design team sorts requests into low-, medium- and high-touch lanes based on how much human judgment each needs. S21
The approval screen, revisited
In Section 02, an agent labelled an edited document "Approved" because it didn't know that edits invalidate approval. Here is how each response could have helped:
- Product context (part 4) would have included the business rule: editing a document resets its approval.
- Decision guidance (part 5) might say: "When showing a status that can become out of date, show when it was set and what has changed since."
- Asking for uncertainty (part 5) might have led the agent to flag "I'm not sure whether edits affect approval" for review.
- Human qualification (part 8) would have meant someone checking the brief covered approval rules before work started.
None of these guarantees the right result. Together, they make the right result more likely and the wrong one easier to catch.
Caveats
- MCP standardises access to information and tools. It doesn't decide what good design is. S07
- Skills package procedures. A skill is only as good as the judgment written into it. S08S24
- Instruction files are convenient but not always followed, so they need testing. S10
- Reported results (Atlassian, 1Password, the talks reported by Into Design Systems) come from the organisations themselves and haven't been independently verified. S17S18S20S22
Further reading
- Structured design system content: Atlassian S18S20, and its earlier prototyping case study S19.
- An agent pipeline with explicit human checkpoints: 1Password S22.
- Encoding design judgment as skills: Emil Kowalski S24S09, and Jakub Otcenas's account of building them from design feedback S06.
- Rules and skills in practice: Figma's documentation S26S27, the Agent Skills specification S08 and the MCP specification S07.
- Design systems as a steering layer: Luke Wroblewski S28.
- Undocumented knowledge, and conference reports on drift and trust levels: Dieter Möss S16 and Into Design Systems S17.
Full links and evidence types are in sources.csv.