GlossaryFloor 2 · The Harnessthe block and its bolted-on plates: what gets added to itFloor 2 · The Harness
prompt engineering
No. 067 · v2026-08FR: ingénierie de promptPrompt engineering is the work of formulating what you ask the model, with its examples and its output format, then checking that the wording holds on real cases. Like briefing a capable temporary worker who knows neither the organisation nor the file.
What it is not
Prompt engineering is not a collection of magic formulas: the incantations that circulate, promising a tip or invoking an expertise, have marginal effects that are unstable from one version to the next. Nor is it fine-tuning: nothing modifies the model, everything happens in what it is given to read at the moment of the call. And it is not a profession in its own right, contrary to what the job adverts of 2023 announced: it has become a skill built into the design of a system.
In depth
The principles that work
What produces real gains comes down to a few principles, and none of them is esoteric. Describe the task, the role and the audience rather than leaving them to be guessed. Provide two or three examples of input and expected output, which is worth more than ten lines of description. Impose an explicit output format, and constrain it with a schema when the output is consumed by code. Say what to do in case of doubt, failing which the model will invent rather than abstain. Finally, break a complex request into several calls, because a prompt that does four things does at least two of them badly.
Context before wording
The shift of recent years is clear: the wording matters less than the context supplied. A mediocre prompt with the right documents beats a finely chiselled prompt without them. This is why the useful work has moved towards assembling what the model has in front of it, and towards defining the tools it can call. Recent models also follow instructions far better, which has made obsolete contortions that were once necessary.
Measurement
The discipline that separates serious practice from tinkering is measurement. A change of prompt that improves one case can degrade ten others, and no one will see it without a test set. Prompts therefore have to be versioned like code, a set of representative cases including past failures has to be kept, and that set replayed at every change, including when it is the model that changes. Without this, you optimise blind a system whose performance you do not know.
Relations where the neighbours live
Check 3 questions · click your answer
Level 1 · Recognise
What most reliably improves a model’s output on a business task?
Level 2 · Distinguish
You change a prompt and the case that was failing now passes. What do you do before deploying?
Level 2 · Distinguish
Does a very carefully written prompt make up for the absence of the relevant documents?
Try it 1 practice
Concrete things to try where this term comes up, in ten minutes.
Who works with this 1 role
The roles for which this term is part of the ordinary work.
Lexigraph, "Prompt engineering", v2026-08, https://www.lexigraph.org/en/prompt-engineering/, CC BY 4.0.