The four parts of a good prompt
Most good prompts have four pieces:
- **Role*: who the model should be.
- **Task*: what to do.
- **Context*: the details.
- **Format*: how to respond.
Role: "You are a cooking expert."
Task: "Give me a dinner recipe."
Context: "I have chicken, rice, and 30 minutes."
Format: "A short ingredient list, then steps."
Stacking these turns a random answer into a reliable one.
Being explicit
Spell out what you don't want too:
"Summarize this. No jargon. 3 sentences."
Negative instructions ("no jargon") work better when paired with what to do instead. Never rely on a single word; explain it in a short clause.
Say what you want, and say what you don't.