Concrete
GuidesSource a value

Phrasing a brief

A fill's brief is the whole instruction the model is given, so what you leave out of it is a decision the model makes for you.

Goal

Write the brief of a fill so the value it returns is worth shipping on a property the model has never seen — the right thing, in the right shape, from the right evidence, and nothing where nothing is right.

Prerequisites

  • The workspace Start leaves you with.
  • AI fill for what a fill is and why it is declared rather than prompted.

Steps

1. Know what the platform already says

Every fill is sent with a short standing instruction, and it holds only what is true for every template: facts about the property come from the reads (beyond them, be as specific as it is confident is true, and broader where not), the property is what the model is shown and the web is for the world around it, the slot's cap and form bound the answer, and never invent a candidate. A write into a deliverable is also told what is being made, and it is written by the platform's writer: a professional real estate copywriter working to your brief, who writes in whatever voice the piece calls for and brings their own manner only where the brief gives none. Everything else is the brief's, which is why a brief that only names the subject returns the writer's own idea of a good one.

You need not repeat what the platform provides. A brief that carries its own tone, length or bans is accepted and read as a client's notes, and the writer follows it wherever it speaks, so a tone line adds to the writer's own manner rather than replacing it. Say only what your text needs.

What the model DOES is the fill's verb, not the brief's: fill.write writes a value of the slot's kind, fill.pick chooses among its holder's candidates — the property's photos for an image with from: fact.property.property_media, a select's keys — and fill.find finds places and addresses. The brief says what to write or pick, never whether.

2. Say what the text is, who reads it, and the shape

Lead with what the value is and who meets it, then say what shape it takes. The shape is the part a model gets wrong when it is left out: asked only for "a headline", it writes a sentence whatever the cap.

sections/hero/section.tsx
import { fact, fill, text } from "@homepages/concrete";

const headline = text.medium({
  label: "Headline",
  cap: 80,
  source: fill.write({
    reads: [fact.property.address, fact.property.description],
    brief: "The headline a visitor reads first: what makes the property worth seeing, in one sentence.",
  }),
});

The slot's cap is the budget, and the only place it is written — a fill takes none of its own, so a value that should run shorter than the slot holds says so in the brief. A generated value with no budget on its slot is contract/cap.

These are the sentences that say the four common shapes:

ShapeSentence
one sentenceWrite one sentence.
a paragraphWrite one paragraph.
a listWrite a bulleted list.
a bare valueAnswer with the bare value alone, never a sentence.

A fact-sheet cell — a price, a rate, a building's name — wants the last one. Without it the model answers "$1,200,000" as "The home is offered at $1,200,000."

3. Say where the manner differs, when it does

The platform's writer already has a manner, so a brief needs no sentence about tone. Say only how this text differs from what they would write on their own, as the nature of the text. Who speaks, where the text is someone's own words: Write in the first person, as the listing agent. What kind of text it is, where the kind decides the shape: a headline is a line, not a sentence; a quote is spoken. What it leaves out, where a writer would otherwise reach for it: a quote carries no distance or rating.

Two checks keep a brief honest. Say what the text gives the reader as a kind of thing it says (the detail that gives the opening its weight), not as the reader's wish (what they would want to know next), because a wish is answered with whatever is nearest to hand. And let every sentence describe the text: a fact about the speaker, a note to the writer or your reason for a line is read as something to say, and the writer says it.

4. For a pick, say what belongs and what does not

A pick's brief is its whole steer: there is no ranking, no ordering and no taste the platform adds. Say which candidates belong, in what order, and what to drop.

sections/gallery.tsx
import { fact, fill, image, list } from "@homepages/concrete";

const gallery = list({
  label: "Gallery",
  max: 12,
  source: fill.pick({
    brief: "Every photograph of the property, ordered as a walk through it: approach and exterior, then the rooms, then the grounds. Drop anything that is not a photograph of the property — a logo, a floor plan, a flyer. When nothing is a photograph of the property, return none at all.",
  }),
  item: image({ from: fact.property.property_media }),
});

The item's kind and from name the candidates, so the brief never has to. The property's photos are what the owner uploaded, and that can include wordmarks and scans. "Keep every photo" keeps them; "every photograph of the property" does not.

5. Read what the brief is about, and name it

reads is exactly what the model sees beside the brief — no standing selection of facts rides along. A writing fill that reads nothing writes from nothing — concrete check refuses one (contract/writer-reads-fact) — so list every fact the brief draws on, and refer to it by name in the prose:

sections/hero/section.tsx
import { fact, fill, text } from "@homepages/concrete";

const building = text.short({
  label: "Building name",
  cap: 40,
  source: fill.write({
    reads: [fact.property.address, fact.property.description],
    brief: "The building's own name as the description gives it; else the street address without its suffix. Answer with the bare value alone, never a sentence, and with nothing when the description names no building and the address has no street.",
    none: true,
  }),
});

Refer to a fact through its read, never by interpolating it into the brief: a ${facts.…} placeholder is a second, stringly-typed channel onto the facts that no type checks, and concrete check refuses one (contract/interpolation). A pick needs no read to see its candidates; read only what its brief judges them against.

6. Say when nothing is right, and how many

On a write or an address find, none: true admits producing nothing, and the brief says when that is right: end it with the sentence that names the case. Without none an empty answer is a defect the platform retries, and on a thin property the model invents a value to avoid one. A pick takes no none — it picks only a candidate it is sure belongs, so finding none is always an answer — and a find of places needs none, since no place of a kind nearby is an answer too; both briefs still end with the sentence that says when nothing is right.

Write that sentence in the brief's own terms. A pick that already says what to drop needs only "when nothing is left, return none" — restating the exclusions in the negative says the same thing twice.

sections/hero/section.tsx
import { fact, fill, text } from "@homepages/concrete";

const award = text.short({
  label: "Award line",
  cap: 60,
  source: fill.write({
    reads: [fact.property.description, fact.property.uploads],
    brief: "Name the architectural award this property has won, as a plain credit line. Answer with the bare value alone, never a sentence. When the property's own materials name no award, answer with nothing — never infer one from the architecture.",
    none: true,
  }),
});

For a list, the list's own bounds say how many: max, which a filled list always declares, is as many as the brief admits, and min a target the platform retries toward and never pads to. A fill takes no count of its own. Say "fewer, fully supported, is right" in the brief when a thin property should come back short rather than stretched.

7. Render it, and give the empty branch a shape

sections/hero/section.tsx
import { fact, fill, Section, section, Slot, text } from "@homepages/concrete";

export const Hero = section({ key: "hero", label: "Hero", slots: {
  headline: text.medium({
    label: "Headline",
    cap: 80,
    source: fill.write({ reads: [fact.property.description], brief: "The headline a visitor reads first: what makes the property worth seeing, in one sentence." }),
  }),
} }, ({ slot }) => (
  <Section>
    <Slot.Text slot={slot.headline} as="h1" className="text-4xl font-semibold" />
  </Section>
));

Keep the slot rendered in every branch — the marker survives an empty value, which is what keeps an unfilled slot selectable (render/missing-slot-marker).

Verify

A brief is graded by reading what it returns, so state a value in a fixture and look at it on two properties that differ — a thin one and a rich one. The thin property is where a brief fails: an overrun cap, an invented award, a gallery that seats the builder's logo.

Then run concrete check. The sections stage parses the fill spec and the contracts stage grades the cap, the bounds and the reads:

concrete check
concrete check passed: 13 stages.

On this page