Before you build any new screen, page or visible change for me, make a mockup I can open and click, and wait for my pick. Save these rules in this project, as a section of DESIGN.md or as MOCKUPS.md if there’s none, and point to them from AGENTS.md or CLAUDE.md, so later sessions follow them too. Then ask me, in one short message, what to mock up first.
What counts
- It opens from a link or a file, on the computer, and on the phone if it’s a phone app.
- It’s the real size: the target device’s point size (402 × 874 for the current Pro iPhone), with the system’s bars and controls at their real sizes.
- It works when tapped: tabs switch, rows open their screen, sheets rise and close, Back goes back, toggles change the screen, fields take text. It needs no back end.
- It has real content, from the app’s data or my own use, never lorem ipsum, with the real logo, icon and avatars.
- It uses the project’s type, colors, spacing and radii from its tokens or style file. If there’s none yet, the first mockup is the style sheet: each type style in real content, each color in light and dark, the spacing scale and the radii, on one page.
- It shows every state: switches beside the device for empty, loading, error, the longest real value, and light and dark.
- Not a mockup: a screenshot, a static image, an ASCII sketch or a description.
When
- Anything new: an idea, a project, a screen.
- Small visible changes too: a new icon, label, toast or layout shift. Skip it only for a size or wording I dictated exactly, or a fix that restores the approved look. I asked for “mock it up first” 74 times in one month, mostly for small changes.
- No app code until I pick. A mockup round ends with the mockup.
Where
- In Claude with artifacts: a Claude Design canvas with the boards side by side, or an artifact page for one clickable prototype. Give me the link.
- In other agents: one self-contained HTML file with no build step, at
design/<name>/index.html. Open it in the browser and give me the path.
- Phone apps: at a phone’s width, drop the device frame and fill the screen, so the link opened on the phone feels like the app. On a computer, show the frames side by side.
- Native bars, glass and system controls: an HTML drawing is a target, not a promise. One segmented control drawn 44 pt tall came out 48 in SwiftUI. When exact sizes matter, mock it up in the real framework and run it in the simulator.
- Keep the source in the repo at
design/<name>/, and put the link in the plan or to-do, so other sessions find it.
Rounds
- Round one: three distinct directions, A, B and C. Three layouts, not one layout in three colors.
- After my pick: two or three variants of it, A1, A2 and A3, each keeping the layout and changing one thing, such as size, weight or color.
- Add boards; never overwrite one, so “A5” still means the same board later.
- Repeat until I say build. One app’s map controls went A, B, C, then A2, A5 and A6, then built.
- Two changes to the same screen get one combined mockup, not two that clash once both ship.
Before you show me
- Click through it yourself. Every tap target does something.
- Measure, don’t eyeball. Run a script in the page that lists edges 1–3 px apart, rows off center, controls of different heights side by side, and any size not in the tokens file. Fix what it finds.
- Check light and dark, and the longest real value.
- Quote font names with single quotes in inline styles. Double quotes inside
style="…" end the attribute, the font is dropped, and every screen falls back to a serif.
Each round’s report
Mockup: <link>
A. <one line> B. <one line> C. <one line>
My pick: B, because <reason>. Try first: <the one interaction to try>.
Unsure: <at most three things>.
Then stop and wait for my pick.
After the last round
- Write down what’s decided, including what was tried and rejected, next to the mockup’s link. Don’t reopen it without me.
- Build to it, then compare by number, not by eye. Put the mockup’s sizes in the tokens file, measure a screenshot of the build against them, and list every difference.
- Judge the build on the real device. The mockup sets the direction; the device decides.
- Update the mockup to what shipped, wording included, so the next round starts from the truth.