Eliminate the back-and-forth in developer handovers with AI agents

Amy Rogers
Written by Amy Rogers
Jun 17, 2026

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.

How do AI agents do their work?

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.

Diagram showing how an AI agent generates component code. Four inputs; generic documentation, training data, other people's code, and your code and documentation. The last input is greyed out. These four feed into an agent in the center, which outputs component code.
An AI agent takes input from many sources to create outputs. Illustration by Amy Rogers

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.

Side-by-side comparison of two form field components and their styling tokens. Left, the existing text field; right, the new select field. Both share a label, contents area, and hint text. Although they look the same the styling tokens differ. For example the field uses 'radius-form-field' in the existing version versus 'radius-small' in the new one.
Visually matching but different under the hood. Illustration by Amy Rogers.

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?

The same two form field components shown after token updates. The left field's label token has been updated to add uppercase and wider letter spacing, while the right field's tokens remain unchanged. The styling tokens still differ between the two, for example the field uses 'radius-form-field' on the left versus 'radius-small' on the right."
Changes that should apply to both only apply to the original. Illustration by Amy Rogers.

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.

Design system oversight at scale

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.

Two windows side by side. On the left, a code editor showing the ScoreDial.tsx component source from a design system, including its JSDoc comment and the start of the component definition. On the right, the Storybook documentation page for the same ScoreDial component in the Vouchsafe Storybook, with a component sidebar, the rendered docs describing its two progress modes (Segment and Percent), and a preview of the animated ring dial.
When your documentation lives beside the code, it’s easy to pull from.

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. 

The missing context is ‘why’

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.

Vouchsafe's zeroheight documentation of the above page, showing the ScoreDial component's Segments page. The main area has a usage description explaining when to use the segment dial versus a percentage one, and a live preview of the segmented ring dial.
Documentation isn’t just about the tech, it’s helpful to add your reasoning too.

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 responsibility of design has shifted

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.

Amy Rogers
Amy Rogers
Amy Rogers spent over a decade working as a product designer before moving into frontend engineering, with an interest in bridging the gaps between design and development. She currently leads design at Vouchsafe, helping to democratize access through inclusive identity verification. She loves sharing how she works through her writing and talks.
Try zeroheight
The design systems platform that keeps teams and agents in sync
Start for free
Share this post