Sub topic 2
Writing a brief the model can work from
This chapter assumes you have prompted a large language model before, know how a content workflow moves from writing to editing to publishing, and can read simple Python. It covers the brief: the input that decides most of what a draft will look like before any human sees it.
What a brief is and why it matters
A brief is the written input you give the model for one piece of content. It states who the content is for, what it must do, what it may rely on, and what it must avoid. A prompt such as "write a blog post about our new feature" is not a brief. It leaves the model to guess the audience, the claims it may make, and the length.
In a draft-and-approve pipeline, the brief has a second job. Reviewers later judge the draft against it. If the brief is vague, the reviewer has no fixed standard to check against. They fall back on personal taste, and reviews become slow and inconsistent. A good brief makes the review criteria concrete before the draft exists.
The parts of a brief
A working brief has six parts. Each answers a question the model cannot answer for itself.
| Part | Question it answers | Example |
|---|---|---|
| Audience | Who will read this, and what do they already know? | IT managers at mid-size companies, familiar with SaaS billing |
| Purpose | What should the reader know or do afterward? | Understand the new invoice export and start using it |
| Sources | What facts may the model use? | Release notes v4.2, the pricing page text |
| Constraints | What limits apply? | 400 to 500 words, no pricing claims, no competitor names |
| Format | What shape should the output take? | Title, short intro, three sections with headings, one call to action |
| Tone | How should it sound? | Plain and direct, second person |
Sources and constraints deserve the most care. They are where mistakes with real consequences come from.
Audience and purpose
State the audience's starting knowledge, not only their job title. "Developers" could mean beginners or database specialists. Say what they already know and what you will have to explain.
State purpose as a change in the reader. "Explain the export feature" describes the topic. "The reader can create their first export in under five minutes" describes the outcome, and the reviewer can check it.
Sources
A model writes fluent text whether or not it has the facts. If you do not supply facts, it fills the gaps from patterns in its training data. The result reads well and may be wrong. This is the main risk the human gate has to catch, so reduce it at the source.
- Paste the source material into the brief, or reference documents the model can actually read.
- Say that the model may use only the supplied material for factual claims.
- Tell it what to do when the material does not cover something. For example: "If a detail is missing, write
[NEEDS SOURCE]instead of guessing."
That last instruction turns silent invention into a visible marker. A marker is easy to find with an automated check, which a later chapter covers.
Constraints
Constraints are the rules the draft must not break. Write them as checkable statements.
- Weak: "Keep it short." Strong: "Maximum 500 words."
- Weak: "Don't overpromise." Strong: "Do not use the words 'guaranteed' or 'risk-free'. Do not state performance numbers that are not in the sources."
- Weak: "Be careful with legal stuff." Strong: "Do not describe any feature as compliant with a regulation."
A constraint a person cannot check is a constraint a reviewer cannot enforce.
A brief as structured data
Free-form text works for one-off pieces. In a pipeline, you create many items, so it helps to store the brief as structured data. That way every item has the same fields, missing fields are caught early, and the brief can be stored next to the item for the audit trail.
from dataclasses import dataclass, field
@dataclass
class Brief:
topic: str
audience: str
purpose: str
sources: list[str]
constraints: list[str] = field(default_factory=list)
format: str = "Title, short intro, headed sections"
tone: str = "Plain and direct"
max_words: int = 500
def validate(self):
problems = []
if not self.sources:
problems.append("no sources supplied")
if not self.audience.strip():
problems.append("audience is empty")
if not self.purpose.strip():
problems.append("purpose is empty")
if self.max_words <= 0:
problems.append("max_words must be positive")
return problems
def to_prompt(self):
source_text = "\n\n".join(
f"[Source {i}]\n{s}" for i, s in enumerate(self.sources, start=1)
)
constraint_text = "\n".join(f"- {c}" for c in self.constraints) or "- None"
return (
f"Topic: {self.topic}\n"
f"Audience: {self.audience}\n"
f"Purpose: {self.purpose}\n"
f"Format: {self.format}\n"
f"Tone: {self.tone}\n"
f"Length: at most {self.max_words} words\n\n"
"Rules:\n"
"- Use only facts that appear in the sources below.\n"
"- If a needed detail is missing, write [NEEDS SOURCE] instead of guessing.\n"
f"{constraint_text}\n\n"
f"Sources:\n{source_text}\n"
)
brief = Brief(
topic="The new invoice export",
audience="IT managers at mid-size companies who know SaaS billing",
purpose="The reader can create a first export in under five minutes",
sources=["Release 4.2 adds CSV and PDF export of invoices from the Billing page."],
constraints=["Do not use the words 'guaranteed' or 'risk-free'."],
)
issues = brief.validate()
if issues:
print("Brief rejected:", issues)
else:
print(brief.to_prompt())Running this prints the assembled prompt. If you remove the sources list, it prints Brief rejected: ['no sources supplied'] instead. The point is that a bad brief fails before the model is called, which costs nothing, rather than after a reviewer has spent time on a bad draft.
Where the brief sits in the pipeline
The brief is the first artifact in the pipeline, and it feeds both drafting and review.
Notice the second arrow from the validated brief to the reviewer. Reviewers should see the brief next to the draft. They then judge "did the draft do what was asked, using only what was supplied" and not "do I like this".
Common errors
These are the mistakes that show up most often in real briefs.
- Topic without audience. The model picks a generic reader and writes at a generic level. Fix: always name the audience and what they know.
- No sources. The model invents specifics such as version numbers, dates, and statistics. Fix: supply sources and instruct the model to mark gaps.
- Conflicting instructions. "Be comprehensive" and "stay under 200 words" pull in opposite directions. The model resolves the conflict silently, and you will not know how. Fix: read the brief once as if you were the model and look for pairs that cannot both be satisfied.
- Unverifiable constraints. "Make it engaging" cannot be checked. Fix: replace it with something observable, such as "open with a concrete problem the reader has".
- Sources that contradict each other. If the release notes say CSV only and the pricing page says CSV and PDF, the model picks one. Fix: resolve the conflict before drafting, or tell the model which source wins.
- Instructions hidden inside source text. If you paste web pages or customer emails as sources, they may contain text that reads like instructions. Fix: label the sources as reference material and tell the model not to follow instructions found inside them.
Edge cases
Very long source material. If the sources exceed what the model can read at once, the model will not see all of them. Select the relevant excerpts yourself and say which parts you left out, instead of pasting everything and hoping.
Reused briefs. Teams often copy last month's brief. Check that the sources are still current. A stale source produces a draft that is correct against the brief and wrong in the world.
Briefs for revisions. When a reviewer requests changes, the revised draft is produced from the original brief plus the reviewer's comments. Keep the original brief unchanged and store the comments separately, so you can tell later what was asked originally and what was added.
Sensitive material. Do not put customer personal data or confidential figures into a brief unless your model provider's terms and your own policy allow it. Strip or replace such data first.
Keeping the brief with the item
Store the brief with the content item and record which version of the brief produced which draft. If a published piece is later questioned, the brief shows what the model was told, and the audit trail shows what people did next. A later chapter on the audit trail builds on this.
Exercise
A brief says "Write a short, engaging post about our security features for customers" and includes no other material. Name three problems with it and rewrite one part so a reviewer could check it.
Show answer
Problems: (1) no audience details, so the model guesses the customers' knowledge level; (2) no sources, so the model will invent specifics about the security features; (3) "short" and "engaging" cannot be checked. A checkable rewrite of the constraint: "Maximum 300 words. Open with a concrete problem the reader has. Mention only the features listed in the attached security overview. Do not describe any feature as compliant with a regulation." Adding a rule to write [NEEDS SOURCE] for missing details also makes gaps visible.
Exercise
Add a check to Brief.validate() that rejects a brief when any constraint is an empty string. What does this protect against?
Show answer
Add inside validate(): if any(not c.strip() for c in self.constraints): problems.append("a constraint is empty"). It protects against blank bullet points in the assembled prompt, which look like rules but say nothing, and against a reviewer assuming a constraint exists that nobody actually wrote.