


Handover between design and development has always been an awkward dance.
Designers spend ages making perfect mockups that match the design system guidelines. But by the time the product gets built, some things are lost in translation. The padding for the new card is 8px, not 12px. The primary button is using the wrong color token.
Everything still works as expected, but now there’s drift between what’s in the design output and what the end user experiences.
Tools like Figma MCP and zeroheight MCP are helping us to bridge this gap. Designers keep working in the tools they’re familiar with, and the MCP passes the context onto coding agents in their language.
Some designers are even braving the codebase themselves. I’m a design engineer, so I’m happy in an IDE, but AI has opened up frontend development to people who wouldn’t have dared to try before.
But now that means there’s someone else we need to think about in our handovers: AI agents.
At the end of the day, AI agents are large language models. They’re effectively guessing what a correct response is, based on a massive amount of training data.
If you’ve used an AI agent to generate code before, you’ve probably felt this. What an agent can make on its own may look correct and functionally work, but it won’t feel right, because it doesn’t know what you want.

Here is a typical scenario.
A developer on your team needs to create a new form component, so they get their agent to generate one. It looks close enough to your other form components, and it works, so it passes a quick visual review and gets merged into the codebase.
But your design system has specific rules about form fields. Every field uses a shared style for the label. There’s a subtle animation when you hover over inputs. On the surface, the form fields look the same, but under the hood, there is drift.

A few months later, your design system goes through a rebrand. You’ve updated your color primitives. Your form fields are redesigned, and the custom tokens get updated. With tokens in place, this should be easy, but what happens to the drifted components?

Disaster!
The form fields where you used the custom tokens change as expected, but the one built without context doesn’t change consistently. The token color-label-fg changes work on the label, but because the rules for the hint text are different, the styling now breaks for the hint.
Mistakes like this happen when agents don’t have the right context, and the people using them don’t take the time to cross-check the outputs with your design system.
But agents do have the time to check. The bottleneck for design review is no longer after the product is built, but during.
When an agent is building a component, if you tell it what rules you need it to follow, it will do that. And it needs access to those rules as it generates an answer.
For a small team like ours, it’s easy to bake the context into the code itself using comments. This means that agents can reference it in the language they’re already writing in. We can then use a tool like Storybook to bring those comments straight into documentation for the wider team to see.

For teams that work with documentation tools like zeroheight, you can have this work in the opposite direction. All of your context lives in a place that suits your team, but you make it available to agents using an MCP.
The benefit either way is ease of access for an agent. It’s the missing block in the diagram from earlier, one that will help it make components that are consistent with what’s already there. If you want to learn more, Luke has already written a great article on how to write for LLMs.
Documentation isn’t just technical, though. Both humans and agents make inferences from what you’ve written, and if there’s a conflict with their own judgment, you’ll still end up with drift.
Over time, a human will learn and remember certain weird edge cases in your company’s design system. It’s why an engineer who’s been with the team for two years usually makes fewer mistakes than someone who’s been there for three months.
When an agent generates new work, it’s pulling from the same context a new engineer gets on their first day. Every day.
The knowledge you would share with your teammates through Slack messages now needs to be in your documentation.
Here’s an example. At Vouchsafe, we use two different score dials, percentage-based and segment-based. This is because some results have discrete steps (like 3 out of 5), and some have a score (like 95%). Although we use the same component, the shape changes with the type of result it needs to show.

The GOV.UK design system does this type of documentation so well. They include all the edge cases and what to do about them, and even references to previous user research.
I’ve found this side of the documentation process to be harder than the technical side. Because it’s hard to know what isn’t obvious when you’re baked into the systems.
But that’s always been part of our work: making the rules of the system clear to everyone who uses it.
The back-and-forth of handovers has always come from human error: someone forgetting a rule or making an assumption based on old knowledge. And this is nobody’s fault, systems are complex, and often change without you noticing. Until now, we needed to rely entirely on memory and communication to bridge these gaps between us.
With the right documentation, we can create agents to act as that bridge. In the same way we’d ask a search engine to help us find answers instead of digging through webpages ourselves.
The work of designers has always been about more than the visuals. We’ve thought about the invisible things too: system rules, edge cases, user needs. And now we have a way to make this visible, usable, and accessible to everyone.
