Skip to content

Case study 03 · Platforms and design systems

Code standards that made AI-generated code cheap to accept

We turned the team's standards into checks that run before every commit and in CI. Throughput rose roughly 50%, estimated from ticket cycle time.

EngagementTechnical Lead · US marketplace for truck services · 2026 · team of 12 · same engagement, fourth yearPublished

50%

Team throughput up roughly 50%, estimated from ticket cycle time

Tests stopped being written by hand

the team generated them with Claude Code, and that matters because tests are the first thing dropped under deadline pressure

The story in 5 steps

Stack

  • Claude Code
  • pre-commit hooks
  • CI
  • ESLint
  • TypeScript
  • Figma

01 · Context

By 2026 the team used Claude Code every day for components, tests and integrations, and design was connected to Figma.

AI moves work from writing code to reviewing it, and it does not reduce the total.
We started with the rules: engineering standards written as executable checks, enforced before every commit and again in CI, with a separate set for each codebase, because a backend and a component library need different rules.

02 · Could not change

A convention with no owner is a suggestion: it holds while someone has time to review carefully, and it stops the first week nobody does.

Conventions fade on disciplined teams too, because nothing enforces the agreement.
With AI in the workflow, a soft standard gets weaker still: generated code arrives faster than a person can carefully read it, and the standard becomes decoration.
The requirement was to make the standards mechanical, checked by tools, so that accepting code would cost less than writing it.

03 · What we did

Rules written as codeWe wrote the standards as checks that the tooling runs, so none of them depended on anyone remembering a style guide.
A different set per codebaseThe web app, the backend and the component library each had their own set of rules.
Three severity levels, by stageEscalating the severity by stage keeps a rule present the whole way through and makes it block only where blocking is cheap.
AI in daily useWith the checks in place, Claude Code went into daily use for components, tests and integrations, and design was connected to Figma.

04 · Result

Team throughput up roughly 50%, estimated from ticket cycle time

Tests stopped being written by handthe team generated them with Claude Code, and that matters because tests are the first thing dropped under deadline pressure
The standards were enforced the same way no matter who reviewed the code, or whether anyone did
In hindsight, the most valuable rule was the 200-line limit on components, more than the type rules or the API contracts.

05 · Differently

The 50% figure is an estimate from ticket cycle times, not a controlled measurement.

In July 2025, METR ran a randomized controlled trial with 16 experienced developers working on 246 real tasks in repositories they had worked in for years.
METR has since revised the study's design and treats the result as historical, partly because in a follow-up many developers declined to take part if they had to work without AI.
The team's setup differed from the study's in ways that plausibly matter.

Related services

The services that draw on this work.

Case study 03

Working on a similar problem? We reply within one business day.

The first call takes 30 minutes, and you’re under no obligation.

Tell us about your projectcontact@microtech.consulting