Tip: press / anywhere to search. Or open a random note →

Handwritten notebook page with six tips on how to write a good AI prompt, ending with the formula Role + Task + Context + Example + Format
Tap the note to see it full size

AI & Tech One-page note

How to Write a Good AI Prompt

Better prompt = better answer. 5 tips from the AI companies' own guides. Save this page.

What's on the page

The note as text, so you can read it, copy it or use a screen reader.

Be specific

  • "Write a poem"
  • "Write a 4-line funny poem about Mondays for my team chat"

Give context

  • Who it's for
  • Why you need it
  • What you already have

Give a role

  • "You are a friendly maths tutor for a 12-year-old"

Show an example

  • Paste one example of what good looks like
  • AI copies the style and format

Say the format

  • "Answer in 5 bullet points"
  • "Make it a table with 3 columns"
  • "Under 100 words"

Then improve it

  • Reply with what to change
  • Ask: "What else do you need to know?"
Want the full story? How to Write a Good AI Prompt: 6 Tips | Scribbled Smart Read the full guide →

Sources

  1. OpenAI Help: Best practices for prompt engineering with the OpenAI API
  2. OpenAI: Prompt engineering guide
  3. Anthropic: Prompting best practices
  4. Google: Gemini prompt design strategies
  5. OpenAI: Reasoning best practices

How we checked this

Every fact on this note comes from the 5 sources listed here, checked against official or peer-reviewed sources where possible. AI tools help with drafting; a person checks every fact against the sources. How we research

Spotted a mistake? Tell us and we'll fix it and log it on the corrections page.

More from AI & Tech

All AI & Tech notes →