Blog3 min read
How to check an agent's code, images and pages against your brand
The cheapest place to catch an off-brand color is before anyone sees it. How Typesheet checks code, copy, pictures and live pages, and hands back the fix.
Typesheet checks an agent's work in three ways: code and words against the sheet (check_design), a picture area by area (check_image), and a deployed page as the browser draws it (check_page). Each finding says what's off, why, and the fix, so the agent can correct itself before handing over.
Why check at all
An agent with the brand in front of it still slips. It reaches for a default when a value is missing, rounds a color, or keeps a face from an earlier file. A review catches it late, after someone has looked at the work and had to say what's wrong.
A check catches it while the agent can still fix it. That's the whole idea: the agent checks its own work against the brand, fixes every finding, and only then hands it over.
Code and words
check_design reads what agents actually write:
- Colors: hex,
rgb()andoklch()values and Tailwind's own palette classes. A color that isn't the brand's comes back with the nearest one that is. - Faces: font stacks, the
fontshorthand andnext/fontimports. A face that isn't the brand's comes back with the faces that are. - Words: the terms the brand uses and the ones it doesn't, its banned phrases, and how long its sentences run.
It works on a component, a page, an email's HTML, a post's copy or a whole file of strings.
Pictures
check_image looks at a picture an agent made, a post, a slide or a frame, against the sheet, one area at a time: its colors, its type, its logo, its look and its words. Each area gets a verdict and a reason.
A logo that was retyped or recolored fails. A headline in the wrong face fails, with the face to use. A photo in the wrong light fails on look, with what to change.
Pages
check_page opens a deployed page in a browser and checks what it actually draws, not what the source says. It reads the colors of the words and grounds, the faces, and the sizes against the type scale, each weighed by how much of the page uses it. A stray gray on one tooltip matters less than the wrong ground on every section.
Fix, then check again
A finding is only useful if it's fixed, so every finding comes with the fix. An agent set up with Typesheet is told to check each file it changed, fix every finding, and check again. The rule we hold ourselves to: never call work on brand while a finding is open.
Try it without an account
If your brand lives in a DESIGN.md, the free check runs the same code-and-words check in your browser: paste the file and some code or copy, and see what's off. Nothing is sent.
For pictures and live pages, and for agents to run the checks themselves, put the brand on a sheet and connect your agent. The tools are listed in the MCP docs.
Questions
Yes. With a Typesheet sheet connected, it calls check_design on code and copy, check_image on pictures and check_page on a deployed page, then fixes each finding.
What's off, why, and the fix: a color that isn't the brand's comes back with the nearest one that is, and a face with the faces that are.
Yes. The free check on typesheet.com takes a DESIGN.md and some code or copy, runs in your browser, and needs no account.


