Skip to content

What is Prompt Engineering?

How to write precise prompts that get accurate, relevant and creative output from AI tools.

Sharing

What is Prompt Engineering?

Prompt engineering is the practice of writing instructions for an AI model so that it gives useful, accurate results. A prompt is everything you send the model: the question, the context, examples and any rules for the answer. Because large language models respond very differently to small changes in wording, how you ask matters.

What Goes Into a Good Prompt

  • Task: what you want, stated plainly ("List the three weakest points in this argument").
  • Context: who you are, the assignment, the audience and the level.
  • Material: the text to work on, pasted in full rather than described.
  • Format: the shape of the answer, such as a table, bullet points or a word limit.
  • Constraints: what to avoid, such as "do not rewrite my sentences, only comment on them".

Common Techniques

  • Zero-shot: asking directly, with no examples.
  • Few-shot: giving one or more examples of the output you want, so the model copies the pattern.
  • Chain of thought: asking the model to work through a problem step by step before answering, which helps with reasoning tasks.
  • Role prompting: "Act as a sceptical peer reviewer in sociology" sets the angle and vocabulary of the reply.
  • Iteration: treating the first answer as a draft and following up with corrections.

Prompt Examples for Academic Writing

  • "Here is my introduction. Which sentence states my research question, and is it clear to a non-specialist?"
  • "Explain the difference between validity and reliability with one example from education research."
  • "Suggest five search terms and synonyms for a literature review on remote work and wellbeing."

What Prompts Cannot Fix

A better prompt improves the answer, but it cannot make the model check facts. Asking for sources is still risky: models can produce references that do not exist (see AI hallucination). Verify anything you keep. Writing tools built for a task, such as an AI writing assistant, often write the prompt for you behind a button.

What Does a Prompt Engineer Do?

A prompt engineer designs, tests and maintains the prompts inside AI products, such as the instructions behind a support chatbot, and measures how well they work. As models have improved, the role has merged into broader AI engineering, but the skill of writing clear instructions remains useful to anyone who uses ChatGPT or similar tools.

Use case: Best AI for essay writing that keeps it yours

Your next paper, with real citations.

Describe your paper and get an outline in a minute. The Free plan needs no card.