What is prompt engineering? A clear definition with examples

Prompt engineering is the skill of writing and structuring instructions so an AI model reliably gives you the output you actually want. Here's what it means, why it works, and how to get good at it — with before-and-after examples.