DESIGN.md Pro
Skip to article

A Before-and-After Design Test for Claude Code

Run the same booking-page prompt twice and compare the results with a simple rubric for hierarchy, consistency and responsive layout.

Omer Aplak3 min read

What does a DESIGN.md actually change? You can answer that for your own project with two copies of the same starting commit. This is a reproducible comparison you can run with Claude Code. The outputs depend on the reference, the model and the code in your repo.

Keep the task identical

Use the same model and start a fresh session in each copy. Give both the same brief: “Build a workshop booking page with three dated sessions, a remaining-seat count and one booking action per session. Preserve the supplied copy. Support a 375px viewport.”

For the second run, choose a file from the design catalog, add it to the repo and tell Claude to read it before building. Record the file you chose. Leave the example dates, content, dependencies and viewport alone.

Use a scorecard before you see the outputs

Write down the checks first. Otherwise a striking hero image can influence your judgment of unrelated details. For the workshop brief, use the same fictional inventory in both runs: “Intro to Letterpress” with eight seats, “Advanced Two-Color Registration” with one seat, and a sold-out Saturday session.

CheckWhat to record for each run
Booking accuracyCan a visitor distinguish the last seat from a sold-out session?
HierarchyWhich element gets attention before the session title?
Mobile fitDoes the longest title wrap without pushing the action out of view?
Reference fidelityWhich two rules in your chosen file can you point to on screen?
Follow-up effortHow many corrections did the cancellation page need?

Keep visual preference in a separate note. You might prefer a layout personally and still find that its sold-out treatment makes booking harder. If both runs handle the availability states equally well, record the tie. It tells you the original prompt communicated that requirement clearly.

For a second trial, swap only the reference file. A substantial change in typography and spacing alongside identical content is easier to interpret than a rerun in which you also change the model, the copy and the layout request.

Compare decisions you can point to

Capture both pages at desktop and phone widths. For each, record where your eye lands first, whether the dates line up, and what happens to the longest workshop name. Compare the observed spacing and type choices with two specific rules in the file.

Then ask each version for a cancellation screen. Does the new screen reuse the booking page’s controls? That follow-up tests something the first screenshot cannot show: whether the agent can carry the same decisions into a different task. Save both prompts and screenshots alongside your notes so a teammate can repeat the comparison.