PromptAI
Appearance
AI Glossary

What is prompt engineering?

Prompt engineering: Prompt engineering is the craft of writing instructions that get reliably good output from an AI model — by specifying role, context, format and constraints.

In plain English

"Review my code" gets you generic comments. "Review this code as a senior engineer; rank findings by severity; skip style nits; end with the one change you'd insist on before merging" gets you a real review. Same model — the difference is the prompt. The constraints do the work: they close off the lazy, generic answer.

Why it matters

A concrete example

PromptAI's prompt library has 50 tested examples of this craft — copy one and compare it against a one-line request.

Related terms

Learning AI from scratch? Start with the free Learn AI course picks, then put it to work with 50 tested prompts — or get the daily 2-minute briefing, free →