The parts of a great prompt
Most disappointing answers come from a missing piece, not a weak AI tool. A strong prompt has these parts. Short questions only need the first two.
- Task. One plain sentence saying what you want done.
- Output. What the result should look like: table, email, code, three bullets.
- Role. The expert whose judgment you want.
- Context. Who you are, who it is for, and why it matters.
- Material. Files, data and examples, clearly separated from your instructions.
- Rules. What must be included, and what must be left out.
- Definition of good. How you would judge the result.
Where to put what
Each AI tool has its own best layout.
| Tool | Layout | Files and images |
|---|---|---|
| ChatGPT | Instructions first, then material under clear headings | Upload with the + button, then refer to it by name |
| Claude | Material at the top in tags, task at the end | Attach first, so documents come before the question |
| Gemini | Rules first, material next, task last | Add files with the + button before the instructions |
| Perplexity | A short, focused question | Attach only what the question depends on |
| Cursor and agents | Goal, files, requirements, done-when | Use @ references to exact files |
| Image tools | Subject, style, composition, lighting, then what to avoid | Reference image first |
Attachments and references
- A file path means nothing to a chat tool.
C:\report.pdfis on your computer. Upload the file itself. - Name what you attach and say what it is for: “Use the attached price list for all amounts.”
- Separate data from instructions. Put pasted text in fenced blocks or tags.
- Check that the tool can open links. If it can't, it may guess. Paste the important part instead.
- Say how to use a reference. “Match the tone of this sample” is far better than just attaching it.
Common mistakes
- “Make it better.” Better how? Shorter, more formal, more persuasive?
- Saying only what you don't want. Say what you do want too.
- Hiding the audience. A note for your CEO and a note for a class of ten-year-olds are different jobs.
- Several unrelated tasks at once. Number them, or send them separately.
- Never giving an example. One good sample often does more than a paragraph of description.
When the first answer misses
Say precisely what was wrong and what you want changed, and keep what worked: “Keep the structure. Cut it to 150 words and make the opening a question.”