A prompt is a brief: how we write ours

A good prompt for an AI builder is a design brief. It names the page and its section count, the fonts with sizes, the colours with hex values and where each may appear, the hero layout, the spacing in pixels and the tone of the copy. Each line removes a guess, so the builder has nothing left to average.
Six lines, in this order
Halden is a dental clinic page I drew for a practice in Porto. Its prompt is six lines long. I have written one for each of my 24 pages in the library, and the order has not changed once: page, type, colour, hero, space, tone. Each line answers a question the builder would otherwise answer for you.
Prompt / Halden
- page
- Halden, dental clinic in Porto. Landing page, 6 sections
- type
- Fraunces 76 / -2% for headings, Instrument Sans 17 / 1.5 for text
- colour
- page #EEF2EE, text #1D2B24, #24463A on the booking button only
- hero
- split 60/40, text left, photo in an arch on the right
- space
- 120 above each section, 96 below, 24 between blocks
- tone
- calm, plain words, prices shown before the booking form
It looks like a spec sheet because it is one. Nothing in it describes a feeling.
Page and type
The first line tells the builder what it is making and how big it is. The city matters more than you would think. It pulls the copy toward real details, like the tram stop in the Visit section, and away from phrases such as “world-class care”. The section count stops the model from adding a testimonial slider nobody asked for.
The type line names two fonts with a size, tracking and line height. I check both on Google Fonts before I write them down. A builder that cannot load a font falls back to something else without telling you, and you find out only when the page looks wrong.
I also write the weight whenever it is not Regular. Ask for “bold Fraunces” and most builders load 700, and a page meant to feel gentle turns heavy. Halden’s headings are the Regular cut at 76, and the size alone does the work.
Colour and hero
Colour is where most prompts go wrong. People list a palette of five swatches and the builder spreads them evenly over the page. So I give each colour a job: page #EEF2EE, text #1D2B24, and #24463A on the booking button only. That last word, “only”, does more work than any adjective could.
The colour people forget is the text. Pure #000000 on a pale green page looks harsh, so Halden’s text is #1D2B24, a green so dark it reads as black. Builders default to black or #111111 unless you say otherwise, and the page goes cold.
The hero line describes the first screen as a layout: split 60/40, text left, photo in an arch on the right. I write the ratio as numbers. “Split screen” on its own comes back as 50/50, and at 50/50 the arch fights the headline for attention. At 60/40 the headline wins, which is what a clinic needs. People come to read whether you are open and what it costs.
Space and tone
Spacing is the line people skip and the one visitors feel most. 120 above each section, 96 below, 24 between blocks. Those numbers set the pace of the page. Leave them out and the builder packs everything at 48 or 64, and a calm clinic starts to look like a coupon site.
Tone comes last: calm, plain words, prices shown before the booking form. That is a copy rule and a structure rule at once. It tells the model what to say, and it also tells it where the Prices section goes.
I rarely write phone sizes into a prompt. The builders we test with scale the spacing down on a small screen without help. When a page needs something specific, like the arch dropping below the text instead of shrinking beside it, I add a seventh line for it.
Then we test it
A prompt is not finished when it reads well. It is finished when Claude, Lovable and v0 all return the page I drew. I paste it into each one, put the result next to the Figma file and turn every difference into a new line or a sharper word. Halden needed two rounds. The first time, two of the three builders put the arch on the left.
Then a second designer reviews it. About one page in three goes back for changes at that step, and most of the notes are about spacing.
If you write your own, take the order and keep it. Page, type, colour, hero, space, tone. Six lines will not cover every pixel. They do cover the guesses that make AI pages look alike, and that is most of the work.


