Tools Network
Explainers

What is prompt engineering? A working guide (with 12 prompts to steal)

Prompt engineering is just writing instructions precisely enough to be followed. Here is what actually moves the output, and twelve prompts worth keeping.

Prompt engineering is the practice of writing instructions to a language model precisely enough that you get the output you wanted rather than a plausible-sounding approximation of it. That is the whole idea. The rest is craft.

It has a reputation for being either a fake discipline or a secret art, and it is neither. It is closer to writing a good brief for a capable freelancer who has no context about your business, will not ask clarifying questions unless invited to, and is extremely literal.

What actually changes the output

In rough order of how much difference they make:

  1. Context. The model cannot see your document, your codebase or your audience unless you put them in front of it. Most bad output is missing context, not bad prompting.
  2. A specified format. "Give me a table with columns X, Y, Z" produces something usable. "Tell me about X" produces an essay you then have to mine.
  3. A role or audience. "Explain this to a sceptical CFO" and "explain this to a new engineer" are different documents. Say which one you want.
  4. Constraints. Length, tone, what to leave out. Models default to comprehensive; comprehensive is rarely what you need.
  5. Examples. One or two samples of the output you want beats three paragraphs describing it. This is the single most underused technique.

What matters less than people think: elaborate role-play preambles, politeness, threats, and the long "you are a world-class expert" incantations that circulate. They are mostly harmless and mostly noise.

The four techniques worth knowing by name

Few-shot prompting

Show two or three examples of input and desired output before asking for the real one. Use it whenever the output has a house style — commit messages, support replies, product descriptions.

Chain of thought

Ask the model to work through the reasoning before answering. It genuinely improves multi-step problems: arithmetic, logic, anything where the answer depends on intermediate results. It also lets you see where it went wrong.

Decomposition

Break a large request into steps and run them separately. "Write me a launch plan" is one prompt and a mediocre answer. Audience, then channels, then a calendar is three prompts and a usable plan.

Explicit negative constraints

Tell it what not to do. "No preamble", "do not summarise what I asked", "if you are unsure, say so rather than guessing" each remove a specific recurring annoyance.

Twelve prompts worth keeping

Adapt the bracketed parts. These are patterns, not incantations.

  1. Critique before drafting. "Before you write anything, list the three biggest weaknesses in this brief and what you would need from me to fix them: [brief]"
  2. Rewrite at a level. "Rewrite this so a smart 15-year-old follows it without losing any technical accuracy: [text]"
  3. The steelman. "Make the strongest possible case against this decision, assuming I am wrong: [decision]"
  4. Extract to a schema. "Pull every [entity] from this text into JSON with keys [a, b, c]. If a field is absent, use null rather than inventing it: [text]"
  5. The interview. "Ask me one question at a time until you have enough to write [artefact]. Do not write it until you do."
  6. Format-first. "Answer as a table: column 1 [x], column 2 [y], column 3 [z]. No prose before or after."
  7. Assumption audit. "List every assumption you made answering that, and mark which ones would change the answer if wrong."
  8. Style transfer by example. "Here are two things I wrote: [a], [b]. Write [new thing] so it sounds like the same person."
  9. The reduction. "Cut this by 40% without losing meaning. Show only the result: [text]"
  10. Failure modes. "What are the five most likely ways [plan] fails, ordered by probability, with an early warning sign for each?"
  11. Second opinion. "Here is an answer you gave. Review it as a sceptical expert and list anything wrong or overstated: [answer]"
  12. Explain the diff. "Explain what changed between these two versions and why it might have been done: [a], [b]"

When prompting is the wrong fix

If you are rewriting the same prompt every day, you want a saved prompt or a small tool, not better wording. If the model keeps lacking the same context, you want to supply that context as a file or a system instruction, not repeat it. And if it is confidently wrong about facts, no prompt fixes that — you need a source in the context window or a different approach entirely.

The skill that transfers is not knowing magic phrases. It is noticing quickly that an answer is subtly wrong and being specific about why. That is editing, and it is the part that stays useful as models change.

Most of these patterns work on any capable assistant. If you are choosing one, ChatGPT and Claude are the two you will most often see compared, and both handle everything above.

Tools in this piece

Browse every tool in Chatbots & Assistants.

Frequently asked

Is prompt engineering a real skill?

It is a real skill in the way that writing a clear brief is a real skill — valuable, learnable in an afternoon, and mostly about precision rather than secret phrases. It is not a career on its own for most people, but it noticeably changes what you get out of these tools.

What is the difference between zero-shot and few-shot prompting?

Zero-shot is asking without examples. Few-shot means including two or three examples of the input-output pattern you want before the real request. Few-shot is the single most reliable way to get consistent formatting and house style.

Does saying "you are an expert" improve the answer?

Marginally at best on current models, and far less than supplying real context or an example of the output you want. Specifying the audience — "explain this to a sceptical CFO" — does more, because it changes what the answer contains rather than just its tone.

Do the same prompts work across different AI tools?

Broadly yes. The patterns in this guide — examples, explicit format, negative constraints, decomposition — work on any capable assistant. Model-specific tricks tend to stop working with the next version, which is a good reason not to collect them.

Related reading

Pricing

HeyGen pricing explained: plans, free tier, credits, what you actually pay

What HeyGen costs in 2026, what a credit actually buys you, and the two limits on the free plan that decide whether it is any use.

August 18, 2026 3 min read
Roundups

The best AI website builders (and which one to actually pick)

Six AI website builders, what each one actually costs, and the one question that decides between them: are you generating a site or designing one?

August 18, 2026 5 min read

Built something with AI?

Get your tool in front of thousands of builders, founders, and creators searching every day.

Submit a Tool — it's free