Prompt engineering definition
Designing instructions and examples so a model reliably produces useful output.
What it actually is under the hood
Prompts set the context the model uses to predict its next tokens. Clear constraints, examples, and structured outputs narrow the range of likely responses.