Prompt writing examples: weak and strong prompts for AI training tasks

For experts4 min read

Prompt writing examples are the fastest way to learn what makes a prompt useful. In AI training work you are often asked to write the prompts that others, or the model itself, will answer, so clear and realistic prompts are a core skill.

Why prompt writing is paid expert work

Training data starts with a question. If the prompts are vague, repetitive or unrealistic, the answers and rankings built on them are weak too. Projects ask experts to write prompts that look like real requests from people in a field: a nurse asking about a handover note, a trader asking for a risk summary, a student asking for help with a proof.

Guidance from Anthropic offers a simple test for any prompt: show it to a colleague with minimal context on the task and ask them to follow it. If they would be confused, the model will be too. The same page advises numbered steps when order matters and says a few well-made examples improve accuracy and consistency.

Source: Prompting best practices, Claude documentation(opens in a new tab)

Prompt writing examples: weak and strong

Weak promptProblemStronger prompt
Write about diabetes.No audience, length or purposeWrite a 150-word explanation of type 2 diabetes for a patient who has just been diagnosed. Use plain words and end with two questions to ask the doctor.
Fix my code.No code, language or errorThis Python function should return the average of a list but fails on an empty list. Explain the bug and show a fix that returns 0 for an empty list.
Summarise this contract.No focus or readerSummarise the payment and termination clauses of this supplier contract for a small business owner. List any date that needs action.
Help with my essay.No stage or aimHere is my introduction for an essay on rural electrification. Suggest three ways to make the argument sharper, without rewriting it.

The stronger versions name the audience, the length, the goal and the form of the answer. They also contain a detail that a grader can check, such as the empty list or the two questions.

A method for writing a good prompt

  1. Pick a real situation from your field. Think of one actual person who would ask this.
  2. Write the request in the words that person would use, including any mistakes they would make.
  3. Add the details they would know: numbers, constraints, a short excerpt.
  4. State the form of the answer when it matters: list, table, length, language.
  5. Check that the prompt can be answered without information you left out.
  6. Read it as a stranger would. Remove anything confusing.

Real prompts are usually messier than textbook ones. A prompt with a typo, a half-formed question or a missing detail is more valuable for training than a perfectly polished one, as long as it can still be answered.

Prompt types you may be asked to write

  • Open questions that test explanation and judgement.
  • Tasks with constraints, such as write exactly three bullets under 20 words each.
  • Multi-step requests that need planning.
  • Prompts with a false premise, to see if the model corrects it.
  • Prompts that are close to a rule boundary, for safety testing, written within project rules.
  • Prompts in a particular language or mixing languages.

Writing prompts that are hard in the right way

Difficulty should come from the content, not from tricks. A hard prompt asks for reasoning that needs a fact from your field, or for a trade-off with no obvious answer. An unfair prompt hides a catch in the wording. Reviewers can tell the difference, and unfair prompts waste everyone's time.

Variety matters across a batch. If every prompt you write opens the same way, the model learns the opening. Vary length, tone, subject and the amount of detail from one prompt to the next.

Adding examples inside a prompt

When a prompt asks for a particular format, include one or two examples of it. The Anthropic guide recommends examples that are relevant, diverse and clearly marked off from the instructions, and suggests three to five for best results. For training prompts, one clean example is usually enough, and it should not be so close to the real task that it gives the answer away.

Mistakes to avoid

  • Putting two unrelated questions in one prompt.
  • Asking for opinions on contested topics unless the project requests it.
  • Copying a prompt from a website or exam. It may already be in the model's training data.
  • Including personal data about real people.
  • Writing prompts that only an AI would write, such as stiff and over-explained.

Test your prompt with the checklist: audience, goal, constraints, form, answerability. If any is missing, add it or decide on purpose to leave it out.

Curatrain's experts take graded tests for each skill and level. Prompt and response writing is part of the expert work it matches people to.