Home / Glossary / Prompt engineering
Prompt engineering
Prompt engineering is writing and testing the instructions you give an AI model so it gives useful, steady answers. Small prompt changes can shift quality and cost, so it is a cheap fix to try before harder ones.
Also called: prompting, prompt design
In plain words
A prompt is the message you send an AI. A vague one like “summarize this” gets a vague answer. A clear one says who the reader is, how long the summary should be, and what to leave out. Writing the second kind, and testing it, is prompt engineering.
Where it came from
Anthropic’s docs advise that you first have clear success criteria and a way to test them before you tune prompts. They also say not every problem is best solved with prompts. Anthropic’s engineering post says there is no single best technique, since every model is different. Swyx’s 2023 essay described going beyond the prompt engineer to write software around models.
How FDE teams use it
FDE teams treat prompts like code. They keep them in version control, run them against a set of real test cases, and change one thing at a time. If prompt changes stop helping, they move to better data, retrieval, or other fixes.
Related terms
Sources
- Prompt engineering overview (Claude Platform Docs) (checked Nov 30, 2026)
- Prompt engineering for business performance (Anthropic) (checked Nov 30, 2026)
- The Rise of the AI Engineer (Latent Space) (checked Nov 30, 2026)