AI newsletter writing

Exact Prompt Engineering Best Practices I Used to Build Flyletter

12 prompt engineering best practices I learned the hard way building Flyletter: fewer rules, cleaner structure, calmer language, and a verification gate.

Evan Tarver

Evan Tarver

8 min read

You give your AI a writing prompt. The output comes back terrible, so you add a rule. Then you add another one, and another, until ten rules later the output is somehow worse than before.

More instruction produces less compliance, and you can't figure out why.

I can tell you why, because I learned it the hard way. Every rule or constraint you add to a prompt competes with everything for the model's attention, and the model will often miss things, forget context, or misunderstand priority order.

Prompt engineering is the craft of writing instructions an AI can actually follow, and most of it comes down to respecting how the model's attention works.

These 12 prompt engineering best practices come from months of live failures building Flyletter's agents. They apply whether you're writing a newsletter with AI, prompting a tool like Claude or ChatGPT, or engineering your own agents from scratch.

Core Prompt Engineering Best Practices

1. Goals and Guardrails Over Rigid Rules

AI models follow somewhere between 20% and 50% of your rules once you stack more than ten of them together, and the rules at the end of the list get dropped first.

Flyletter's early agents carried a list of rules that read like a legal contract:

Write in the user's brand voice. Don't use bullet points. Keep it under 400 words. Avoid jargon. Use short paragraphs. Don't sound corporate. Include a CTA. Match the subject line tone. Don't repeat the opening line. Stay positive.

It overwhelmed the model, and it responded by treating the list like a buffet and picking what it wanted. The fix was one clear goal plus a few hard guardrails:

Goal: Draft a newsletter section that sounds like this creator on their best day. Guardrails: Factual claims must trace to the brief. Typical newsletter sections are 400 words or less.

A goal gives the model a direction. Guardrails mark the few lines it can't cross. Rather than trying to over-engineer rules or catch every edge case, let the model use its intelligence to achieve the goal you give it the best way it knows how.

2. Show, Don't Tell

One strong example anchors the model better than three paragraphs of description.

I spent weeks describing good writing to Flyletter's agents. I tried adjectives, tone scales, and style guides, and none of them moved the needle like dropping in a single sample paragraph of my actual writing.

A description forces the model to imagine the target. An example gives it a reference to check against, and models are far better at pattern matching than imagining. It's the reason Flyletter builds your brand voice profile from your actual writing samples instead of a text box that says "friendly but professional."

3. Avoid Bloated Prompts

Output quality degrades at around 3,000 tokens of instruction, which is roughly 2,250 words of instruction and well below a model's context limit. Remember that any other inputs you give it to analyze on top of its instructions, like writing samples in Flyletter's case, also add to the number of tokens in its context window.

If you overload an AI model with context, it will produce just as bad output as if you crammed it with rules and regulations. I found that all the quality improvements I made to Flyletter's prompts came from cutting, not adding.

When output drifts, the instinct is to write a new rule. The fix is almost always whittling down your existing list of instructions.

Structural Prompt Engineering Best Practices

4. Use XML Tags for Structure

A prompt with Markdown headers suggests a structure that AI models can follow (or not). XML tags declare it, marking exactly where each section starts and ends.

For example, a <context> tag tells the model that everything between it and </context> is the context, and nothing else is. In a complex prompt holding instructions, examples, and background data, that unambiguous boundary keeps sections from bleeding into each other.

Every Flyletter agent prompt is sectioned this way, so the model always knows what it's reading and where to find what it needs.

5. Data First, Directive Last

Models latch onto the beginning and the end of a prompt and go soft in the middle. Researchers call it the lost-in-the-middle problem, and it means task instructions buried mid-prompt are often overlooked.

So the order of your prompt matters. Context, examples, and background first, directive last.

Flyletter does this by breaking up its agent prompts into three tiers. The first tier is the Universal Writing Guidelines that every agent must follow. The second tier is the user's brand profile that teaches the agents how to write like them, and the third is the actual agent instructions.

This way, each agent gets the most important information in priority order so it doesn't get lost.

6. Say It Once

Repeating an instruction feels like a good idea if an agent isn't following it, but repetition bloats the prompt, and any small difference between the two versions creates competing anchors.

The model notices the gap between "keep it under 400 words" and "keep sections short," then drifts trying to satisfy both.

Every instruction needs to live in one place and one place only. If you feel the urge to repeat a rule, that's probably telling you the rule isn't clear enough where it already sits for the agent to follow.

7. State an Explicit Priority Hierarchy

Your instructions will conflict. The voice rules will fight the formatting rules eventually, and if you haven't said which one wins, the model decides for you, silently and inconsistently.

Flyletter's agents run on an explicit ladder: safety first, then the writer's voice, then the task rules, then the universal quality floor. When the quality floor wants to strip a quirk your voice profile insists on, voice wins, because that ordering is written into the prompt.

State your hierarchy and the model stops guessing.

Phrasing Prompt Engineering Best Practices

8. Use Positive Language

If you tell an AI model what not to do, it'll sometimes fixate on that behavior and do it anyway. Tell the model "don't use bullet points" and you've just put bullet points front of mind. Negative instructions draw the model's attention to the exact behavior you're trying to prevent.

Tell it "write in flowing prose" instead, and like goal-setting, you've given it a target to aim at. Frame instructions as positive, and save the hard "never" for the few lines that genuinely need one.

9. Explain the Why

Models work better when they understand a reason behind an instruction or command.

"Avoid jargon" works, but "avoid jargon so a non-technical reader can follow" works better because the why hands the model a decision rule it can apply to edge cases your instruction never would've covered.

10. Dial Back the Aggressive Language

Older models needed a CRITICAL or a MUST to pay attention (oh the good old days). The newest models follow instructions more literally, and they over-trigger on that language, biasing their output to over-satisfy whatever you shouted.

If every line in your prompt is marked critical, the model can't tell which ones actually are. Write in calm, plain language and reserve the hard imperatives for genuinely hard constraints, so that when you do use one, it actually signals something.

11. Keep Descriptors Neutral

Every adjective in your prompt is taken as an instruction by the model, whether you meant it as one or not.

Flyletter's draft agent used to be told to write as the creator "on their sharpest day." The drafts came back full of short, fragmented sentences. The model had read "sharpest" as a style direction and sharpened the prose itself. Replacing it with "best day" removed the bias entirely.

Audit the descriptors in your prompt, because loaded words steer output in directions you might never have wanted.

Closing Prompt Engineering Best Practice

12. Verify at the End

The end of your prompt is where the model's attention peaks, and most people waste it restating rules the model already read.

Use it as a self-audit or quality gate instead:

Before responding, confirm: (1) the output matches the goal, (2) no forbidden phrases appear, (3) the format matches the spec.

A closing checklist makes the model check its own work against specific outcomes. Every Flyletter agent ends with one, and it catches the drift the first 11 practices might not've prevented.

Bottom Line

Bad AI output is the predictable result of treating a prompt like a rulebook instead of a system, and no extra rule or ALL CAPS warning will patch it.

The fix is the four categories of prompt engineering best practices: goals and guardrails instead of rule lists, structure the model can actually parse, phrasing that doesn't trigger the failure you're trying to avoid, and a verification gate at the end.

That's the prompt architecture running inside Flyletter's agent pipeline. Give this list to Claude or ChatGPT and have it audit your existing prompts. Then, when you create new ones, always have the model that's writing them refer back to these best practices.

Frequently asked questions

Every constraint competes with every other constraint for the model's attention. Once you stack more than ten rules, models follow somewhere between 20% and 50% of them, and the ones at the end of the list are forgotten first. One clear goal plus two or three hard guardrails outperforms a rulebook.
A good prompt is shorter than you think it needs to be. Output quality starts degrading at around 3,000 tokens of instruction, well below any model's context limit. When output drifts, the fix is almost always cutting instructions, not adding new ones.
XML tags. A Markdown header suggests where a section starts, but an XML tag declares exactly where it starts and ends so the AI model doesn't get confused by section boundaries or where to find things.
Yes. They're the same best practices running inside Flyletter's newsletter agents, and they work the same whether you're prompting ChatGPT to draft next week's edition or building your own agent pipeline.
Evan Tarver

Evan Tarver

Founder, Flyletter

Founder of Flyletter. Writer, entrepreneur, and AI builder. Previously co-founded and sold Selling Signals (now 100k+ subscribers).

Keep reading