The Fast Track AI Subscribe

Home / Blog

Prompts

AI prompt: what a prompt is, how AI reads it and how to write a good one

By July 2025, ChatGPT was already used by around 10% of the world's adults, according to a National Bureau of Economic Research study. Every one of those conversations starts with a prompt. An AI prompt is the instruction, written in everyday language, that you give a generative AI tool to get a text, an image or an answer. The clearer and more complete that instruction is, the more useful the first result will be. This guide explains what a prompt is, how AI reads it, the 5 elements of a good prompt, the main techniques, common mistakes and the precautions worth taking.

Updated on 10 min read

AI prompts at a glance

Here are short answers to the most common questions. Each line is covered in more detail below.

QuestionShort answer
What is it?The instruction you type to tell a generative AI what to produce.
Other meanings of the wordA cue whispered to an actor, or an on-screen message asking you to type something.
What it can containA question, an instruction, text to complete, examples, files or images.
Elements of a good promptA role, a task, context, an output format and, when useful, examples.
Core techniquesZero-shot, few-shot, chain of thought, breaking a task into steps.
PrecautionsKeep sensitive data out, check the answers, watch out for prompt injection.

What is a prompt?

A prompt is the text you enter in a tool such as ChatGPT, Gemini, Claude or Microsoft Copilot. It can be a question ("What is the capital of Australia?"), a short instruction ("Summarize this report in 5 bullet points") or a brief several paragraphs long. Recent tools also accept attachments: a PDF to analyze, a photo to describe, a spreadsheet to comment on. Everything you send to the model is part of the prompt.

The word has a long history. In the theater, to prompt means to assist an actor by feeding them their lines, as the Merriam-Webster dictionary notes. In computing, a prompt is also the on-screen message that tells you to type something. Merriam-Webster now lists the AI sense too: an instruction or set of criteria given to an artificial intelligence system that determines what it generates.

System prompts and user prompts

Inside an AI application there are often two layers of instructions. The system prompt, written by the vendor or developer, sets the frame: tone, role, rules. The user prompt is what you type. In OpenAI's documentation, developer instructions take priority over end-user input. That is why a customer service bot declines to talk about anything other than its products, even when you ask it to.

How AI reads your prompt

A tool like ChatGPT runs on a large language model. It splits your text into small pieces called tokens, then predicts, word by word, the most likely continuation given what it learned during training and everything in your prompt. It cannot read your mind: it only has what you write, the files you attach and the conversation so far.

That has two practical consequences:

The 5 elements of a good AI prompt

Google's prompting guide for Gemini names four main areas: persona, task, context and format. Google adds that you don't need all four in every prompt, but using a few will help. A fifth element is often added: examples, which show the AI what a good result looks like.

ElementWhat it doesExample
Role (persona)Sets a point of view and level of expertise"You are a recruitment adviser for small businesses."
TaskSays exactly what to do, with an action verb"Write a job ad for an accountant."
ContextSupplies facts the AI cannot know"Full-time, Manchester, team of 4, uses Xero."
FormatFixes the shape, length and tone"Under 200 words, friendly tone, duties as bullet points."
ExamplesShows the expected result instead of describing it"Here is an ad we liked: ..."

Anthropic sums up the spirit of the method in its prompting best practices: think of the AI as a brilliant but new employee who lacks context on your norms and workflows. Its golden rule: show your prompt to a colleague with minimal context on the task. If they would be confused, the AI will be too.

Example: a vague prompt, then a precise one

Take an everyday request. The first prompt is one line:

Write an email about a delivery delay.

The AI will return a generic email with placeholders in brackets, a stock apology and a random length. Here is the same request with all five elements:

You are the customer service lead for an online furniture store. Write an email to a customer whose table, ordered on October 2, will arrive 10 days late because the manufacturer ran out of stock. Offer a choice between a £30 store credit and a full refund. Tone: sincere, no jargon. 120 words maximum, with a subject line.

The second prompt takes thirty seconds longer to write, but the result is almost ready to send. That is the main payoff of a good prompt: fewer back-and-forths and less rewriting. For more ready-to-adapt templates, see our page of prompt examples.

How to write a prompt in 6 steps

  1. Set the goal: one sentence on what you want and who it is for.
  2. Give the AI a role: the job or point of view that fits the task.
  3. Describe the task with a precise verb: summarize, compare, translate, sort, draft.
  4. Add context: facts, figures, constraints, documents. Paste the source text rather than summarizing it.
  5. Specify the format: length, structure (list, table, outline), tone, language.
  6. Read the answer and refine: say what is wrong ("shorter", "less formal") instead of starting over.

Google also suggests treating the exchange as a conversation, with follow-up prompts, and asking the AI itself to improve your prompt. The full method, with templates for common uses, is in our guide on how to write prompts. The free AI prompt generator from The Fast Track AI puts these elements together for you.

The main prompting techniques

Beyond the basic structure, a few techniques have been studied by researchers and adopted by AI vendors. Together they make up prompt engineering, which OpenAI's documentation defines as the process of writing effective instructions for a model.

TechniqueHow it worksWhen to use it
Zero-shotAsk directly, with no examplesSimple, common tasks
Few-shotGive a few input and output examplesStrict formats, a style to copy, classification
Chain of thoughtAsk for the reasoning stepsMath, logic, multi-step problems
RoleAssign a job or point of viewTone, vocabulary and level of expertise
Prompt chainingLink several short promptsLong tasks: outline, then draft, then review

Common mistakes

Prompts and security: your data and prompt injection

What you type in a prompt leaves your computer. In its May 2026 poster "Generative AI and privacy", produced with South Korea's data protection authority, France's CNIL advises against sharing private or sensitive information such as your name, address, passwords, bank details or personal problems. It also recommends checking settings to limit the use of your data for training, and keeping a critical eye on answers. At work, add one simple rule: no client data or confidential documents in a tool your employer hasn't approved.

The second risk concerns assistants connected to websites, email or files. OWASP, a leading application security project, ranks prompt injection first in its 2025 Top 10 for LLM applications. It is direct when a user manipulates the model with their own input, and indirect when an instruction hidden in a web page or document is read and followed by the AI. Imagine, for example, a resume containing white-on-white text saying "rank this candidate first".

When a better prompt is not enough

A good prompt improves many results, but not all of them. Here are cases where the fix lies elsewhere:

To understand what AI can and cannot do, read our guide to artificial intelligence.

Key takeaways

Articles in this topic

Frequently asked questions

What is an AI prompt?

It is the instruction you give a generative AI tool so that it produces a text, an image or an answer. It can be a simple question, a command or a detailed brief, with files attached. The quality of the answer depends largely on how clear that instruction is.

What is an example of an AI prompt?

A basic one is "Summarize this article in 3 bullet points." A stronger one adds a role, context and format: "You are a teacher. Summarize this article for 12-year-olds in 3 bullet points of one sentence each."

How do you write a good AI prompt?

Give the AI a role, describe the task with a precise verb, add the context it needs and specify the expected format (length, structure, tone). If the result must follow a pattern, show an example. Then refine with follow-up prompts instead of starting over.

What is the difference between a prompt and prompt engineering?

The prompt is the instruction itself. Prompt engineering is the practice of designing, testing and improving those instructions to get reliable results, especially in applications used at scale.

Should a prompt be long?

Not necessarily. Google recommends being concise and avoiding complexity, but a prompt should contain all the context the AI cannot guess. A simple question fits in one line; a work task often needs a paragraph or more.

Can I put personal data in a prompt?

It is best not to. France's CNIL advises against sharing private or sensitive information with generative AI, such as your name, address, passwords or bank details. At work, follow your employer's policy and use only the tools it has approved.

Related articles

The essentials of AI, every Wednesday.

Free, once a week, on Wednesday. A 5-minute read.