What a good prompt contains
- The task: what you want, stated directly.
- Context: who it's for, why it matters, and anything the model can't guess.
- Constraints: length, tone, language, and what to avoid, ideally with the reason.
- Format: bullet points, a table, JSON, or a specific template.
- Examples: one to three samples of the output you want.
Prompt vs system prompt
A user prompt asks for one thing. A system prompt is the standing brief an app or AI agent sends before every conversation: its role, rules, tools and when to ask a person. System prompts deserve the same care as code, because every answer depends on them.
Common mistakes
- Being vague ("make it better") instead of saying what "better" means.
- Writing rules in capital letters instead of explaining why they matter.
- Giving rules that contradict each other without saying which one wins.
- Pasting long documents after the question instead of before it.
If the same detailed prompt still gives inconsistent results across hundreds of requests, that's when fine-tuning becomes worth considering.