Skip to content
Learn · Happyness Mallya

How to Write AI Prompts That Actually Work (2026)

An honest, practical guide to writing AI prompts — clear context beats clever tricks. Real before/after prompt examples you can copy and adapt.

Happyness Mallya··9 min read
Writing better AI prompts — a person typing on a laptop
Photo by Glenn Carstens-Peters on Unsplash

Here is a prompt I see people type every day:

write me a blog post about productivity

And here is what comes back: a generic, forgettable wall of text that could have been written for anyone, about anything. The person reads it, sighs, and concludes that "AI isn't that good." But the AI did exactly what it was told. The problem was the instruction, not the model.

Now here is the same request, rewritten:

Write a 600-word blog post for busy parents who work full time.
Topic: three small habits that protect 30 minutes of focused time
in the evening. Tone: warm, practical, no productivity jargon.
Use a personal anecdote to open. End with one question for the reader.

Same model. Completely different result — one is usable, the other is filler. That gap is what this article is about.

The honest truth about prompting in 2026

For a couple of years there was a small industry of "prompt hacks" — magic phrases, threats, bribes, elaborate templates promising 10x results. Most of that is dead now, and good riddance.

Modern models are genuinely good at understanding plain, well-structured language. You do not need to pretend you are tipping the model, or tell it to take a deep breath, or wrap your request in a secret formula. What you need is what you have always needed when delegating work to a capable human: clarity about what you want, why you want it, and what "good" looks like.

So this is not a guide to tricks. The tricks fade with every model release. This is a guide to the principles underneath, which have stayed durable precisely because they are about communication, not exploitation.

Give context and a role

The single biggest upgrade you can make is to tell the model who it is and who it is helping. A model with no context defaults to the blandest possible average of everything it has read. Context narrows it toward you.

Compare:

explain compound interest

with:

You are a patient finance teacher explaining to a 19-year-old
in Tanzania who has never had a savings account. Explain compound
interest using a real example with Tanzanian shillings. Avoid
Western banking assumptions.

The second prompt does not flatter the model — it orients it. "Who are you, who am I, what do I already know" is information the model genuinely uses.

Be specific about the goal and the format

Tell the model what you want and the shape you want it in. Length, structure, tone, audience. If you do not specify the format, the model guesses — and its guess is usually a medium-length essay, because that is the safe average.

Summarize this report. Give me exactly 5 bullet points, each one
sentence, written for a manager who has 30 seconds. Lead with the
decision they need to make, not the background.

Notice how much is packed in there: count, length per item, audience, and what to prioritize. Every constraint removes a way for the answer to go wrong.

Show examples (the part most people skip)

If you want output in a particular style, the fastest way to get it is to show one or two examples. This is called "few-shot" prompting, and it works because models are pattern-matchers at heart. One good example communicates more than three paragraphs describing what you want.

Rewrite these product descriptions in our brand voice.
Here is the voice, by example:

Before: "Durable water bottle, 1L capacity."
After:  "Built to survive your worst Monday. A full litre, so you
         refill less and drink more."

Now rewrite these three in the same spirit:
1. ...
2. ...
3. ...

Break big tasks into steps

A vague mega-request ("build me a full marketing plan") forces the model to do everything at once, and everything-at-once is where quality collapses. Break the work into stages, and either ask for them in sequence or tell the model to work through them in order.

We are launching a free e-book. Work through this in order:
1. List 5 possible audiences and pick the strongest, with reasoning.
2. For that audience, draft 3 headline options.
3. Outline a 4-email sequence to promote the e-book.
Do step 1 first and wait for my confirmation before continuing.

That last line matters. Letting the model check in with you between steps keeps it on the rails and saves you from regenerating a 2,000-word answer because step one was wrong.

Ask it to think, then tell it what NOT to do

For anything involving reasoning — analysis, debugging, planning — asking the model to lay out its thinking before its conclusion usually produces a better conclusion. Not because of a magic phrase, but because it commits the model to a chain you can inspect and correct.

Equally underrated: telling the model what to avoid. Constraints are instructions too.

Review this paragraph and suggest improvements. First explain what
the paragraph is trying to do, then give specific edits.
Do NOT rewrite it wholesale, do NOT add new claims I didn't make,
and do NOT change my casual tone into corporate language.

The "do NOT" lines fence off the most common ways the model would otherwise overstep.

How-to

How to turn a vague request into a strong prompt

A repeatable process for upgrading any lazy prompt into one that actually gets you what you want.

Estimated time: PT5M

  1. 01

    Name the real goal

    Write down what you actually want in one sentence, including who it is for. 'A blog post' becomes 'a 600-word post for busy parents about protecting evening focus time.'

  2. 02

    Add context and a role

    Tell the model who it should be and what it should assume about you and your audience. Include anything it cannot know but needs.

  3. 03

    Specify the format

    State the length, structure, and tone. Bullets or prose? How long? Formal or casual? Pin down the shape of the output.

  4. 04

    Show an example if style matters

    Paste one before/after or one sample in the voice you want. A single example beats a paragraph of description.

  5. 05

    Set the boundaries

    List what to avoid — topics, tones, or moves you do not want. Constraints prevent the most common failures.

  6. 06

    Run it, then refine

    Treat the first answer as a draft. Tell the model what was off ('too formal, cut the intro') and let it adjust. Iteration is the real skill.

Iterate — the skill nobody talks about

Here is the thing the prompt-hack crowd never admitted: you rarely get the perfect answer on the first try, and that is completely fine. The best results come from a short conversation, not a single perfect spell.

Treat the first response as a starting point. "Good, but make it shorter and warmer." "Cut the second example." "You misunderstood — I meant X, not Y." Each correction teaches the model your standards in this specific session. People who get great results from AI are not writing flawless one-shot prompts. They are having a tight back-and-forth and steering as they go.

This, by the way, is also why the model you use matters less than how you use it. If you want to compare them honestly, I wrote about that in Claude vs ChatGPT — but a clear prompt to the "wrong" model beats a lazy prompt to the "right" one almost every time.

A quick before-and-after to tie it together

Bad:

help me with my CV

Good:

You are a hiring manager for junior software roles. Here is my CV
(pasted below). First, tell me the 3 weakest things a recruiter
would notice in 10 seconds. Then suggest specific fixes for each.
Keep my real experience — do not invent anything. Be blunt.

Same person, same CV, same AI. One gets a shrug. The other gets a genuinely useful critique. The difference is entirely in the asking.

If you want to go deeper on using AI as a real thinking partner rather than a vending machine, see How to Learn Anything Faster With AI.

Frequently asked questions

Do I still need 'prompt engineering' in 2026?
Not in the old sense of magic phrases and tricks. What you need is clear communication: context, a defined goal, a specified format, and a willingness to iterate. The fancy templates have largely been made obsolete by better models, but clarity has only become more important.
Why does the AI give me generic, boring answers?
Almost always because the prompt was generic. With no context, audience, or format, the model defaults to the safest average of everything it has read. Add who it is for, what you want, and what good looks like, and the blandness usually disappears.
Is it worth telling the AI to 'think step by step'?
For reasoning-heavy tasks like analysis, planning, or debugging, asking it to lay out its thinking before its conclusion does help — mostly because it lets you inspect and correct the chain. For simple factual or formatting tasks it makes little difference. Use it where reasoning matters.
Should I write one long perfect prompt or have a conversation?
Have a conversation. A solid first prompt gets you a useful draft; the refining — 'shorter, warmer, cut that example' — is where great results come from. Trying to write a single flawless prompt is usually slower than steering in two or three quick turns.
Does the wording of my prompt need to be polished?
No. Grammar and elegance do not matter. Clarity and completeness do. A messy prompt with all the right context beats a beautiful prompt that leaves the model guessing about your goal, audience, or format.

Further reading on this site

If you found this useful, subscribe to the newsletter for more honest, practical writing on AI and technology.

Share

9 min read

The Newsletter

Liked this essay?

Get the next one in your inbox. One thoughtful email a week, nothing more.