What is a prompt?

A prompt is the text you give an AI model: your question or instruction, with everything you add to it. The language model, an LLM, writes its answer based on that.

What makes a prompt good?

Anthropic, the company behind Claude, offers a useful comparison (opens in a new tab): think of the model as a brilliant but new employee who doesn't know your habits and ways of working yet. Their tips:

  • Give clear, explicit instructions.
  • Explain why you are asking for something. The model works out the rest from that.
  • Give a few good examples. Three to five works best.
  • Give the model a role, so tone and behaviour fit your task.

A test

Show your prompt to a colleague who doesn't know the task and ask them to follow it. If that colleague is confused, the model will be too.

Back to the overview