Design System, Built With AI

Building a Design System That Humans and AI Agents Both Build With

Sixteen components from the design system arranged in three columns: a button, segmented control, messages, toggles, a menu and an empty state on the left; a date picker, tags, a renewal card, an approval and chips in the middle; and the assistant, its agent picker and a task list on the right.

Introduction

CoverGo builds core insurance software for carriers and brokers. Its design system is a branded component library built on top of PrimeVue, a tested, production-proven Vue library, rather than from scratch. It's spec-driven: every component is written down before it's built, so a designer, a developer or an AI agent can all understand and build the same thing. WCAG 2.2 AA and responsive across devices throughout.

Every client needs their own workflows: onboarding, underwriting, claims. Each one used to be designed from scratch and then rebuilt in code, one after the other. By the time anything was clickable, the conversation with the client had already moved on.

This collapses that. Weeks of work become days. A workflow gets designed, built and put in front of the client as a working prototype inside a single review cycle. Not a mockup that demos one happy path, but the real thing, running.

  • Role

    Design system architecture, component design, spec writing, implementation

  • Team

    Solo build, with recurring review from the Lead Full Stack Engineer

  • Timeline

    Sep 2026 – Nov 2026 · 9 weeks

Project Outcomes

  • Cut what used to take months of design and months of development down to days, with a prototype ready for a client call in hours.
  • Closed the drift between a design file and the code built from it, so a component behaves the same way everywhere it appears.
  • Removed the heavy prompting that used to explain how every component behaves, so a one-line requirement is now enough to build a working journey from.
  • Unified the experience across all three CoverGo products, so moving between them doesn't mean learning anything twice.
  • Let product teams explore ideas and iterations themselves, installing the system and getting back something close to what we'd have designed.

The problem

CoverGo's products had started to feel like different products. Different colors, different components, and the same component behaving differently depending on which one you opened. We wanted to close that gap. One design system every product could follow.

So we started building it in Figma, the way we always had. The shape showed quickly: months to design a component library frame by frame, then months for developers to build and test it in code. Half a year gone before anyone could use a component.

Figma wasn't the bottleneck. The gap between Figma and code was.

A frame shows you what a component looks like. It can't tell you what that component does when it's empty, loading, disabled, or when something's gone wrong. So all of that got decided again by whoever built it next.

The same thing happened one layer up. Every client journey went through the same round trip, and a Figma prototype only takes a client so far. It walks them through the happy path and stops. So they waited for something they could use, and we reworked.

We tried handing the files to AI for working screens. The layouts came back fine. Everything underneath came back wrong.

The AI wasn't getting it wrong. It was guessing, because nothing in the design said what a component actually does.

Who builds with it

Three audiences build with this system. The third changed how we wrote everything.

  • Designers

    Need to know what already exists and which version to reach for. It all lives in Storybook: every component, every state, and the token behind every value.

  • Developers

    Need something they can drop into a product without breaking the look. They install it, call one function, and the whole app comes out in CoverGo's brand.

  • AI agents

    Need the thing a design file can't give them: a written description of what each component does. That ships inside the package, next to the code.

The system

Atom 65 Create case Button one control, nothing inside it Molecule 28 Policy number PN-000000 Enter a valid policy number FormField a label, a control and a message dashed: the atom it holds Organism 8 Case ID Client Status Updated CSE-30144 Priya Ramanathan Underwriting 26 min ago CSE-30153 Charlotte de Vries Application 2 hours ago CSE-30143 Cheng Wei Lim DataTable a section of a screen, built from the rungs above Template 3 heading toolbar content ListPage slots only. It knows where things go, not what they are Page 12 Cases Parties Policies Templates Cases Create case Search cases CSE-30144 Priya Ramanathan Underwriting CSE-30153 Charlotte de Vries Application Cases, in Distribution the template, filled with one product's content

Atoms make molecules, molecules make organisms, organisms make templates, templates make pages. Most pages are shared across products. A few belong to one, where it needs its own experience.

Tokens only No hex. No magic numbers. A literal fails the build. WCAG 2.2 AA Checked on every component as it is built, rather than audited once at the end. One two-part focus ring, written once. Responsive Pages reflow on a ladder of breakpoints, and those are tokens too. Specced What it is for, what states it has, and every token it may use. Gated Six checks on every build: color, components, criteria, CSS, icons, props. Any one of them fails it.

Every component arrives the same way, whoever assembled it.

116 COMPONENTS and so on 3 Semantic what a thing is for --cgds-surface-page --cgds-text-default no component reads below this line 2 Brand which value that is --cgds-brand-75 --cgds-brand-800 swap 1 Raw the value itself #eceff6 #002f8e Change layer 2 and everything above it re-resolves. Not one component moves.

Colors, spacing and type are all tokens. A new brand is a change to one layer, not to the components.

Working with Claude

The goal was to make each design decision once, at the build level. A change or a new journey shouldn't send anyone back to the start, and the team shouldn't wait on me.

I send it back the gate sends it back Spec I approve the spec Claude builds I review in Storybook Six checks color, components, criteria, CSS, icons, props Ship The two filled steps are mine. Nothing moves past either one until I say so.

Every component starts as a spec: what it carries, what it uses, how it behaves. Nothing gets built until I've approved it. Nothing ships until the six checks pass: color, components, acceptance criteria, CSS, icons and props.

The architecture, the specs and every visual call are mine. Claude built against them.

  • /spec-new drafts a spec from a voice note or a screenshot.
  • /spec-build implements it once I've agreed it.
  • /spec-verify checks it back against the spec and fixes nothing.

Two skills and a standing brief sit behind them, so I explain the system once instead of every session. Built with Claude Opus 5.

The result

Three CoverGo products now run on one system. 116 components, built in nine weeks.

A dark navy side navigation: a tenant name, a home, chat and inbox row, four AI agents, and a list of recent chats. An assistant panel scoped to one party, showing two questions and two answers above an ask-anything field. A round white launcher button carrying the CoverGo mark, floating above the page.

The navigation, the assistant and the launcher. One button, same corner, every product. A new product picks these up. It doesn't rebuild them.

A party detail page: a name and status in the header, seven tabs, a details panel, a roles panel and a policies list, with consent and related parties in a right-hand aside.

A detail page. Same template as every other page, different content.

One line in, a page out

The prompt /spec-build distribution/Dashboard

a broker dashboard: four KPI tiles, drop-off over time, a conversion funnel, cases by type, and an action list.

A broker dashboard: four metric cards, a drop-off line chart with two series, a conversion funnel, a donut chart of cases by type, and an action-items panel, beside a dark navy side navigation.

That's the whole prompt. No colours, no spacing, no icon names, and nothing asked back. It came out in seconds and it came out right, because every one of those answers had been made once and written down.