Skip to content

Blog · · Said, founder

Approved is half the job. Now Specimo checks what you shipped.

Exporting an approved screen to code gets an agent most of the way. Then real work starts: data gets wired in, a component gets swapped, someone tweaks a padding to make a label fit. A month later, the screen in production and the screen that was approved are no longer the same screen, and nobody decided that.

Today we're releasing the shipped parity check. It answers one question on every pull request: is what we're shipping what was approved?

Same browser, element by element

Most visual testing compares screenshots: take a picture of the app, compare it with a stored picture, count the different pixels. That's fragile in two ways. Stored pictures drift with fonts, operating systems and browser versions, so tests flake. And a pixel count doesn't tell you what to fix.

The check does two things differently.

It renders both sides in the same browser, at the same moment. The approved design comes straight from Specimo, the same page your team reviewed, and your app runs next to it in the same Chromium with the same viewport, scale, locale, timezone and reduced motion. There is no stored baseline that can go stale.

It compares elements, not pixels. Each element of the design is paired with its counterpart in your app: first by a stable data-specimo-id (Specimo's code export writes these), then by role and accessible name. Then it compares what a designer cares about, such as size, spacing, colour, type, corner radius and shadow, and names the design token each value should use:

button "Pay now": padding 12px, design 16px = space.4

A pixel diff is still attached, as evidence for a human to look at.

What it found on our own demo

We calibrated the check on Specimo's demo project. We exported the event list screen with Specimo's HTML export, served it as the "app", and ran the real command at desktop and mobile width.

What we didResult
Nothing, 10 runs in a row0 findings, 0 % different pixels, the same every time, 4.8 seconds per run
Changed a button's paddingCaught on every button, with the token it should use
Removed the primary buttonCaught as "button Save is missing"
Hard-coded a heading colourCaught, with the colour token it replaced
Changed a shared spacing tokenCaught on every card and field that uses it

One number stands out. Removing the button changed 0.03 % of the pixels on desktop. A screenshot test with any sensible threshold would have passed it. The element check caught it immediately.

Calibration also caught two bugs in our own exports before you could. Our web exports applied the page's padding twice, so exported screens rendered 64 px narrower than their design. And the design tokens our agents received over MCP started with a line that made browsers ignore the whole file when it was saved as-is. Both are fixed. That's the point of the check: it finds the differences nobody meant to make, including ours.

Designers decide, agents fix

Every screen in Specimo now has a Shipped tab: the approved design next to what shipped, the differences, and the history of runs. For each difference, someone on the team decides:

  • Accept it, with a reason and an optional end date. The difference stops failing the check until the design changes.
  • Flag it for a fix. Watchers are notified, and a fix prompt is ready for the coding agent.
  • Update the design to match, when what shipped is better.

Coding agents read the results over MCP and get a prompt that points them at tokens and components, not one-off values. They're also told never to lower a check's severity to make it pass.

Three ways to run it

  • On your machine: npx @specimo/check --base-url http://localhost:3000, or specimo check with the CLI.
  • In CI: copy the GitHub Actions or GitLab CI job from your project's settings. It writes a summary to every pull request.
  • On preview deploys, with no setup in your repository: connect GitHub, turn on preview checks, and every Vercel or Netlify preview is checked on our side.

Findings are warnings until you decide otherwise, and a check that can't run is never counted as a pass. The check runs on every plan. Keeping results in Specimo, preview deploy checks and decisions come with Pro.

Read the docs or see how it works.