LearnAI home
โ† All blog posts

What Is Prompt Engineering? A Plain English Guide

Prompt engineering is the skill of writing instructions an AI can actually follow. Here is what it means, why it works, and the handful of habits that do most of the work.

The LearnAI Team

Prompt EngineeringBeginnersHow AI Works

The short answer

Prompt engineering is the skill of writing instructions that an AI chatbot can actually follow. That is the whole idea. You are not coding, you are not hacking, and there is no secret password. You are writing a clear brief: what you want, who it is for, what it should look like, and what to leave out.

It matters because these tools respond to exactly what you typed, not to what you meant. Two people can ask the same AI for the same thing and get wildly different results, and the difference is almost never the tool. It is the brief. Learning to write a good one takes an afternoon and pays you back every working day after that.

Why the word "engineering" is a bit misleading

"Engineering" makes it sound like a job for people who own more than one keyboard. It is not. The word stuck around from the early days, when researchers were poking at these systems to find out what made them behave. What survived is much more ordinary: it is briefing, the same skill a good manager uses when handing work to a new starter, or a client uses when commissioning a designer.

If you have ever had to explain a task twice because the first explanation was too vague, you already understand the core problem. The AI just fails faster and more politely.

Why vague instructions produce vague results

Under the hood, a language model works by predicting what text should come next, based on patterns it learned from an enormous amount of writing. That is a crude summary, but the useful consequence is this: when your request is vague, the model has nothing to narrow it down, so it produces the most average possible answer.

Ask for "a summary of this report" and the model has to guess. How long? For whom? What matters? It will pick the statistically most common answer to that question, which is a competent, forgettable three paragraphs. Ask for "five bullets a busy finance director can read in thirty seconds, focused on cost and risk" and there is almost nothing left to guess about.

The single fastest improvement most people can make: before you hit enter, ask yourself whether a smart new colleague could do this task from your instructions alone. If they would have to come back with a question, add the answer to that question now.

The five things worth putting in a prompt

Almost every good prompt contains some mix of five things. You do not need all five every time, but reaching for them turns a coin flip into a reliable result.

Role. Tell the model what perspective to write from. "You are an experienced hiring manager" or "Act as a cautious accountant" narrows the vocabulary and the priorities it will bring.

Task. Say plainly what you want done. Rewrite, summarise, draft, compare, critique, list. One clear verb beats a paragraph of throat clearing.

Context. The background the model cannot see. Who the audience is, what happened before, what constraints exist, what you have already tried. This is the part people skip, and it is the part that does the most work.

Format. Bullets or prose. Word count. A table with named columns. An email with a subject line. If you do not specify, you get whatever is most common, which is usually flabby paragraphs.

Constraints. What to avoid. No jargon. No exclamation marks. Do not invent numbers. Keep it under 150 words. Negative instructions are surprisingly powerful because they close off the failure mode you keep seeing.

Here is the difference in practice. A weak prompt:

Vague

Write an email to my team about the new expenses policy.

And the same request, briefed properly:

Briefed

You are a team lead writing to eight people who dislike admin.

Write an internal email announcing a new expenses policy: receipts must now be submitted within 14 days, through the new online form instead of by email.

Tone: warm, direct, slightly apologetic about the extra step. No corporate jargon. Format: subject line, then under 150 words, then a single bullet list of the three things that change. Do not invent any dates, names or system details beyond what I gave you.

The second one takes about ninety seconds to write and usually gives you something you can send after one edit.

Iteration is the actual skill

Here is the part that rarely gets said out loud: professionals almost never get what they want on the first try either. The difference is that they treat the first answer as a draft and say what was wrong with it.

"Too formal, make it sound like a person." "The second paragraph is padding, cut it." "Good structure, but rewrite it for someone who has never heard of our product." Each of those is a normal sentence of feedback, and each one moves the output closer. If you find yourself deleting the whole conversation and starting again, try one round of feedback first. It is usually faster.

Two habits make iteration much more effective. First, give examples. If you paste in two emails you have written before and say "match this voice," you will get closer than any adjective could take you. Second, ask the model to think before answering: "Before you write, list the three points this email must make." You can then correct its plan, which is far cheaper than correcting its prose.

What prompt engineering cannot fix

Being honest about the limits is part of using these tools well.

A better prompt will not make a model factually reliable. Language models produce confident, fluent text whether or not the underlying claim is true, so anything checkable (a statistic, a legal detail, a quotation, a person's job title) still needs verifying against a real source. Prompting can reduce the problem by telling the model to say when it is unsure, but it does not remove it.

A better prompt also will not give the model information it does not have. It does not know your internal numbers, your customer history, or what was said in yesterday's meeting unless you paste that in. And prompting cannot supply your judgement about what is worth saying, what is true, and what your reader actually needs. Ninety percent of the value comes from clear thinking and a clear brief. The remaining ten percent is knowing when to stop trusting it.

Where to go next

If you want to actually practise this rather than read about it, our free Prompt Engineering course takes you through the whole thing with interactive examples: prompt anatomy, role prompting, giving examples, and the failure modes to watch for. No account, no payment, no catch.

Want to go deeper than one article?

LearnAI courses are free, interactive, and need no account. Pick the one that matches your job and start now.

Browse the free courses โ†’

Found this useful? Pass it on.