# Design system for coding agents

> Evil Martians spec your design system so engineers and coding agents build the same UI. You'll get tokens, components, and rules agents can read, checked in CI.

- URL: https://evilmartians.com/services/design-system-for-coding-agents
- Skills: Agentic development, CSS

---

---

*Show me where agent-written UI drifts off your design system. In a free 30-minute call, we'll scope what a two-week sprint fixes.* [Contact Evil Martians](https://evilmartians.com/contact-us.md)

---

Agents ship UI fast and off-system: a new button variant here, a color nobody approved there.

We turn your design system into something agents follow, and catch drift before review.

## Who is the best fit for a design system sprint?

The sprint fits you if:

Coding agents write a growing share of your UI.

Reviewers keep catching one-off components, colors, and spacing.

Several products or teams have drifted into their own versions of the same component.

If you don't have a product UI yet, start with [design for devtools](https://evilmartians.com/services/design-developer-tool.md) instead.

## Step one: the design system sprint

This sprint runs two weeks and starts with an audit on [Storybook Workbench](https://evilmartians.com/chronicles/storybook-workbench-audit-vibe-coded-uis-and-find-hidden-bugs-in-hours.md), our open source skills for auditing agent-built UIs. On one vibe-coded app, we used it to find 31 dead components among 469 component files and six accessibility bugs no build would catch, in hours instead of three days. Pricing starts from $14,000.

## The Evil Martians method

We take inventory of every component, icon, color, and font size you already have, clean it up and transform that into a **system that lives in Figma, Storybook, and GitHub**. Then we wire in the **guardrails**: **design linters** and **hooks** for UI consistency, **stories** for states, and **skills** that tell your agents which component to use in the given context.

We build on [our open source framework for agent-guided design systems](https://evilmartians.com/chronicles/ai-makes-design-system-guardrails-mandatory-this-framework-delivers-them.md): component contracts that say what each component is for, an inventory agents check before reading code, lint rules for checks a skill can only suggest, and a journal of every deviation that the team reviews.

Ready to strangle UI drift and enable engineers to build faster? [Book a free 30-min call](#book-a-call) to scope a design system sprint.

## Our work speaks for itself

### Buildkite

[Buildkite](https://evilmartians.com/clients/buildkite.md) runs CI for Canva, Pinterest, Slack, and a thousand other organizations, across three products: Pipelines, Test Engine, and Package Registries. Over time, offerings drifted into its own version of the same component. For Buildkite, Evil Martians audit every surface, pick the strongest variant, and ship it platform-wide in the same sprint. Kites are able to immediately use this component in development, ensuring the three products stay consistent. The same work gave Buildkite's coding agents a set of skills with the component APIs, patterns, accessibility requirements, and design intent.

We started with an audit of Buildkite's UI and frontend architecture, then [built a shared token foundation with light and dark themes](https://evilmartians.com/chronicles/why-buildkite-hired-evil-martians-for-an-agentic-first-design-system.md) and put the first reusable components into Lookbook on a model designed to work across Rails and React.

Corey Ginnivan, Design Engineering Lead, Buildkite, verified review on Clutch:

> [Evil Martians] doesn't treat a design system as a static UI kit, but as an extensible technical system for both people and AI agents.

### Currents

*Image: Currents run dashboard built on the new design system: run progress, passes, failures, flakiness, and the spec timeline*

[Currents](https://evilmartians.com/chronicles/building-a-design-system-specced-for-engineers-and-agents.md) watches Cypress and Playwright suites run in CI. Their engineers had been making design decisions on the fly as the product grew, which landed across 791 files. In seven weeks, Evil Martians pulled design directives into a single system, mapping legacy elements, like icons, onto a single set. The audit turned up 236 unique colors used 1,413 times across five color reference systems, which [we collapsed into four token groups](https://evilmartians.com/chronicles/building-a-design-system-specced-for-engineers-and-agents.md): elevation, content, UI and border. For icons, AI-assisted mapping matched roughly 90% of the 191 legacy icons to the new set, so the swap became a lookup table an engineer or an agent can follow. The new design system lives in Figma, Storybook, and GitHub, enabling engineers to build fast and consistently.

The full story: [how we built a design system specced for engineers and agents](https://evilmartians.com/chronicles/building-a-design-system-specced-for-engineers-and-agents.md).

Andrew Goldis, CEO of Currents:

> I really like all the attention to details and the way Martian designer Arthur delivers the assets. It's next level! I'm not used to it and it's very refreshing.

[Daylight Security](https://evilmartians.com/clients/daylight-security.md) combines autonomous AI workflows with expert-led SOC services. As it scaled toward enterprise customers, it brought us in as its design partner, and we rebuild its core user flows on a scalable design system.

## FAQ

### Do we need a design system already?

No. We start with an inventory of every component, icon, color, and font size you already have, and build the system from that.

### Which agents and frameworks does it work with?

The rules ship as agent skills and repo instructions, which Claude Code, Cursor, Codex, GitHub Copilot, and Gemini CLI can all read. We build them for React, Vue, Svelte and web components.

### How do you keep Figma and code in sync?

The system lives in Figma, Storybook, and GitHub together. Stories cover each component's states, and design linters and hooks flag code that drifts from the system.

### Can agents read it through an MCP server?

Yes. We can ship the design system with an MCP server, so agents look up components, tokens and usage rules while they write UI.

## Related

- [How we built a design system specced for engineers and agents](https://evilmartians.com/chronicles/building-a-design-system-specced-for-engineers-and-agents.md)
- [Coding agent training](https://evilmartians.com/services/coding-agent-training.md)
- [Design for devtools](https://evilmartians.com/services/design-developer-tool.md)

---

Buildkite, the CI platform behind Canva, Pinterest and Slack, builds its design system with us. Start with a two-week design system sprint, from $14,000. [Book a call with us](https://evilmartians.com/contact-us.md).

## See also

- [Services](https://evilmartians.com/services.md)

Site index for LLMs: https://evilmartians.com/llms.txt
