Sub topic 7
Setting format and length rules
This chapter assumes you have already written a voice summary and some do and don't rules. It also assumes you can run a few test prompts in an AI chat assistant. Here you add the part of a custom instruction that controls the shape of the output: structure, length, and layout.
Why format rules need their own section
Voice rules describe how the writing sounds. Format rules describe what the writing looks like on the page. An assistant can match your tone and still produce a six-paragraph reply with headings when you wanted two sentences.
Format drift is common because the assistant has no way to know where its output will be used. A reply that suits a chat window is wrong for an email subject line or a product tooltip. You have to say where the text goes and how big it should be.
What to specify
Cover these four areas. Skip any that don't apply to your content.
| Area | Example rule | What it prevents |
|---|---|---|
| Length | "Emails: 40 to 80 words." | Rambling or overly thin replies |
| Structure | "Lead with the answer, then give the reason." | Burying the main point |
| Layout | "Use plain paragraphs. No headings or bullets in emails." | Chat-style formatting in the wrong place |
| Punctuation and marks | "At most one exclamation mark per piece." | Tone creeping toward hype |
The Brightleaf example in this tutorial already uses two of these: a sentence cap of 25 words and a lead-with-the-answer rule. Notice that both are countable. You can check them without relying on taste.
Make limits measurable
"Keep it short" leaves the assistant to guess. "Under 25 words per sentence" or "no more than 3 short paragraphs" gives it a number to hit and gives you a number to check.
Pair a limit with its unit and its scope:
- Unit: words, sentences, paragraphs, or characters.
- Scope: per sentence, per paragraph, or per whole piece.
- Range: a minimum and a maximum often work better than a single cap.
Assistants follow word and sentence limits approximately, not exactly. Treat a limit as a target to test, not a guarantee.
Vary the rules by content type
One length rule rarely fits every kind of writing. When you produce several kinds of content, group the rules by type.
Format rules by content type:
Welcome emails:
- 2 to 4 sentences, plain paragraphs, no bullets.
- End with one clear next step.
Help-center answers:
- Start with the answer in one sentence.
- Use a numbered list only when there are 3 or more steps.
- Stay under 150 words unless I ask for more.
Social posts:
- One idea per post, under 200 characters.
- No hashtags unless I provide them.
If I don't say what the content is for, ask before writing.The last line matters. It stops the assistant from applying the wrong rule set when the request is unclear.
Place format rules where the assistant weighs them
Put format rules in their own labeled block, after the voice and do and don't sections. Keep each rule to one line. Long paragraphs of formatting advice are easy to half-follow.
Avoid contradicting yourself across sections. If the voice guide says "be warm and conversational" and the format rules say "no more than 30 words," test both together. Short and warm can conflict, and the assistant will pick one.
Check the rules in your test set
Add one test prompt for each content type you defined. Then check the reply against the rule by counting, not by impression.
If a rule keeps failing, make it more specific, move it closer to the top, or add a short example of correctly formatted output.
Summary of the approach
- Decide where each kind of content will appear.
- Set a measurable length and a layout for each type.
- Keep every rule to one line.
- Test each rule with a prompt and count the result.
Exercise
A help-center rule says "Keep answers brief." Replies vary from 40 to 300 words. Rewrite the rule so it is measurable, and name one way to check it.
Show answer
For example: "Help-center answers: start with the answer in one sentence, then stay under 150 words." To check it, run a test prompt in a fresh conversation and count the words in the reply. If it goes over, make the rule more specific or add a short example of a correctly sized answer.
Exercise
Your voice guide says "be warm and conversational," and your format rules say "emails must be under 30 words." Replies keep coming out curt. What is the likely cause, and what is one fix?
Show answer
The two rules compete, because a very short limit leaves little room for warmth. Fix it by raising the limit (for example, 40 to 80 words) or by adding an example of a short reply that still sounds warm. Then retest both rules together.