Prompt engineering

Writing and testing instructions so a model does what you want reliably.

Prompt engineering, common card #175 in The Glitch AI glossary: Writing and testing instructions so a model does what you want reliably.
GLS 175 · common

For: Beginner · Must know

Why it matters

Most quality gains in AI features still come from clearer instructions, better examples and testing.

In practice

Adding the audience, the format and one example turns a vague answer into a usable one.

Watch for

A prompt that works once is a guess; test it on varied cases.

Related terms

Prompt · Context engineering · Few-shot prompting

Try it here

Prompt workbench

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term