AI Engineering

Prompt engineering

The words you choose are the most visible lever on AI output, and often the least powerful one, so use them well.

6 min

The lever everyone reaches for first

Prompt engineering is the practice of shaping your request itself: the phrasing, the examples you give, the constraints you state, the format you ask for. It is the first thing most people try when an AI output disappoints them, and for good reason, it is the only lever you touch directly, in the same box where you type.

It is also, on its own, the weakest of the three levers. A model can only work with what you tell it and what it can see. Rewriting your prompt fixes an ambiguous or underspecified request; it cannot fix a model that is missing the right file, and it cannot add a verification step that catches a wrong answer. Prompt engineering is necessary, not sufficient.

Where it does matter is a lot: most everyday requests fail not because the model lacks information, but because the request itself is vague. "Make this better" and "write something for our customers" leave the model guessing at what better means and who the customers are. A prompt with a clear role, task, constraints, format, and examples removes the guessing.

ROLE"You are a senior copy editor"TASK"Rewrite this paragraph"CONSTRAINTS"Under 100 words, keep the meaning"FORMAT"Return a bulleted list"EXAMPLES"Like this: 'Sharp, direct, no filler.'"

Select a numbered hotspot to see what occupies that part of the diagram.

Same request, "write a marketing email", improved by adding one part of the prompt at a time.

Vague: no role, no constraints

Original request: "Write a marketing email about our new project templates feature." Result: three generic paragraphs, an exclamation point in every sentence, a subject line like "Exciting News!", no sense of who is sending it or who is reading it. Nothing is wrong exactly, but nothing is usable without a rewrite.

Step 1 of 4

Question 1 of 4

Why is prompt engineering described as necessary but not sufficient?

Answer choices for question 1