Nguyen Le Phong

Prompt Engineering Is Mostly Clear Communication

A good prompt reads like a brief for a sharp new teammate: situation, task, the why, an example and feedback.

A teammate pings you mid-afternoon: "Can you look at this?" plus a link to a file. That's it. You don't know what the code should do, what changed, what broke, what they've already tried, or whether they want a quick opinion or a careful review. You're experienced, so you'll ask a few questions or make a guess. Either way, the first ten minutes go to rebuilding the situation they didn't write down.

Paste the same request into an AI tool and the model lands in the same spot, minus the option to walk over and ask. It fills the gaps with the most generic assumptions it has, and generic assumptions are where most disappointing answers start. Prompt engineering sounds like a craft full of secret phrases. Most of it is a skill you already use whenever you write a good ticket or hand off work cleanly.

An engineer pauses at a desk, looking at a laptop next to a blank notebook, with too little context to start the task.
A vague request costs the next person time, because they have to rebuild the missing situation before they can help.

Write it like a brief for a new colleague

The model vendors say this outright. Anthropic's prompting best practices for its current Claude models (checked November 2026) suggest thinking of the model as a brilliant but new employee who lacks context on your norms and workflows. Their test for any prompt: show it to a colleague with minimal context on the task and ask them to follow it. If they'd be confused, the model will be too.

OpenAI's prompt engineering guide uses the same picture with a twist. It compares a reasoning model to a senior coworker you can hand a goal and trust with the details, and a GPT model to a junior coworker who does best with explicit instructions for a specific output. Either way you're writing a brief for a coworker. The only question is how much they already know.

Give the situation, then name the task

A good brief answers the questions a sharp newcomer would ask. What's the system? Who's the audience? What has already happened or been tried? What matters most, and what must not change? Then it names the task with a clear verb, an object and a boundary. "Improve this" is a wish. The right column below is work someone can actually do:

VagueClear
"Improve this.""Rewrite this summary for a product manager who doesn't code. Under 120 words. Keep the risk about the migration, drop the jargon."
"Why is this test failing?""This Jest test started failing after we upgraded date-fns from v2 to v3. Here's the error and the function under test. What changed in the API that could explain it?"
"Write a PR description.""Write a PR description for the diff below. Our reviewers want what changed, why, how to test it and any risk. Under 200 words."

Constraints help the same way. "No new dependencies." "Keep the public API." "Explain the tradeoffs before writing code." "Skip the marketing voice." Each one narrows the space of possible answers until what's left fits your situation instead of an average example from the internet.

Explain the why behind each rule

The most underrated line in a prompt is the reason. Anthropic's guide has a neat example. "NEVER use ellipses" is a rule the model will follow to the letter. "Your response will be read aloud by a text-to-speech engine, so never use ellipses since the text-to-speech engine will not know how to pronounce them" is a rule plus a reason, and the guide notes the model can generalize from the explanation. It's the same reason you tell a teammate why a rule exists: they can apply it to cases you didn't list.

Two colleagues lay out example cards and notes on a wooden table to make a task brief clearer.
Context, constraints and one good example let the next person pick up the work without guessing.

Show what good looks like

Examples work on models for the same reason they work on people. A before and after, a sample output or a failing test shows the shape you mean faster than a paragraph of adjectives. Anthropic recommends 3 to 5 examples for best results, chosen to mirror your real use case and varied enough that the model doesn't pick up an accidental pattern. OpenAI's guide makes the same point: show a diverse range of inputs with the outputs you want.

The "varied" part is the one people skip. Give a single example and the model may copy its quirks, like its length or its opening line. Give three that differ in the right ways and it can see what they share. A good senior engineer does the same thing when they hand a new hire three PR descriptions the team liked.

Treat the first answer as a first draft

Plenty of people judge an AI tool by its first reply. You'd never judge a teammate that way. The first answer is a draft, and specific feedback is how it improves: "Too abstract, give me a concrete example." "Keep the structure, soften the tone." "You missed that this table has 40 million rows." Each line tells the model exactly what to change, the way a good review comment does.

Two colleagues go over a printed draft next to a laptop and a desk lamp, marking what to change in the next version.
Specific feedback is what makes the second draft better than the first.

Where clear prompting stops helping

A clear prompt can make fuzzy thinking look polished. If you don't know what you want, the model will hand back something fluent and still unclear. So the most useful prompting habit happens before you type. What do I actually need? What do I already know? What must not change? What will a good answer let me do next?

Any single prompt can only carry so much. The model can't know your team's history, last spring's incident or why that odd function exists unless someone puts it in front of it. What AI cannot know from the prompt alone covers that gap, and context engineering covers feeding the right material in on purpose. And if a prompt ships inside a product, treat it like code. OpenAI's guide recommends pinning a specific model snapshot so behavior stays consistent, and building evals that measure the prompt whenever you change it or upgrade the model.

Try this week

  • Before you send your next prompt, read it as someone who joined the team yesterday. Add whatever they'd ask about.
  • Add one "because" to a rule in a prompt you reuse, and compare the output.
  • Swap an adjective-heavy instruction ("make it clean and professional") for a short example of the output you want.
  • When the first answer misses, reply with one specific correction before you start over.
  • If a prompt runs in production, write three test inputs for it and save the expected outputs.

In production systems, where prompts get tested and versioned, the "engineering" part earns its name. In everyday work, it's the habit behind a good ticket, a good review comment or a clean handoff: say what's going on, what you need, why it matters and what good looks like. If you'd write it that way for a thoughtful teammate, you're most of the way there.

What did you think?

Frequently asked questions

What makes a good prompt?
A good prompt reads like a brief for a smart colleague who recently joined: the situation, the audience, the task with a clear verb, the constraints, the reason behind each rule and an example of good output. Anthropic's test is to show your prompt to someone with minimal context on the task. If they'd be confused, the model will be too.
Do I need special phrases or tricks to write prompts?
Rarely. The prompting guides from Anthropic and OpenAI focus on the basics: clear instructions, relevant context, the reasoning behind rules and a few well-chosen examples. Formats such as XML tags can help organize a long prompt, and they help because they make the request clearer.
How many examples should I put in a prompt?
Anthropic recommends 3 to 5 examples for best results, chosen to match your real use case and varied enough that the model doesn't copy an accidental pattern. OpenAI's guide also advises showing a diverse range of inputs with the outputs you want.
Why explain the reason behind an instruction?
Because the model can generalize from it. Anthropic's guide contrasts "NEVER use ellipses" with an instruction explaining that the response will be read aloud by a text-to-speech engine. With the reason, the model understands the goal behind the rule, the same way a teammate would.
Does prompt engineering still matter as models get smarter?
Tricks matter less, and clear communication still matters. OpenAI compares reasoning models to senior coworkers you can hand a goal, but even a senior coworker needs the situation, the constraints and a definition of done. For prompts in production, pinning model snapshots and running evals keeps behavior steady.