Guide · updated October 31, 2026

How to Write a Good Prompt: The Complete Method and 8 Examples

The five-part method to get great answers from ChatGPT, Claude or Gemini, before/after examples, seven advanced techniques and eight ready-to-copy prompts.

Two people use the same assistant, on the same day, for the same task. The first gets generic text and throws it away. The second gets a usable result on the first try. The difference isn't the model or the subscription: it's the request — what we call the prompt.

Writing a good prompt takes no technical skill. It's a simple method, the same one you'd use to brief a capable colleague who knows nothing about your situation. This guide gives you all of it, with before/after examples, the techniques that make the difference and a library of ready-to-use requests.

The 30-second answer: the RCTFE method

A good prompt contains five elements. Remember them with the acronym RCTFE:

ElementThe question to askExample
RoleWhich expert should answer?"You are an HR manager with fifteen years of hiring experience."
ContextWhat do they need to know about my situation?"We're a 30-person company with no HR department."
TaskWhat exactly should they produce?"Write a job ad for an accountant."
FormatIn what form, how long?"250 words, three sections, responsibilities as bullet points."
ExamplesWhat should the result look like?"Here's a job ad we liked: […]"

You don't always need all five. But whenever an answer disappoints you, check which one was missing: it's almost always context or examples.

The five elements in detail

Role: choosing the right expert

Giving a role shapes the vocabulary, level of detail and priorities of the answer. "You are an employment lawyer" doesn't produce the same answer as "You are a supportive manager". Be specific about the expected experience and point of view.

Context: everything a new colleague would need to know

This is the most underrated element. The AI knows nothing about your company, audience or constraints. Say who will read the result, what has already been tried, what's sensitive, and which facts to use. Paste the relevant documents rather than summarizing them.

Task: an action verb and an outcome

"Help me with my presentation" is vague. "Propose a five-slide outline to convince the leadership team to fund project X" is precise. One main task per request; for a complex task, break it down.

Format: describe the expected shape

Length, structure, tone, language, table or paragraphs, what to avoid. "Answer in a three-column table", "no more than 100 words", "no jargon", "use a formal tone".

Examples: show rather than explain

An example is worth a thousand instructions. If you want a style, paste a text in that style. If you want a data format, show one completed row. Two or three examples are enough for the AI to reproduce a pattern very faithfully.

Before / after: three real examples

1. An email.
Before: "Write an email to follow up with a client."
After: "You're a considerate salesperson. A client received our $4,800 quote ten days ago and hasn't replied; they were very interested during the demo. Write an 80-word follow-up that recalls the main benefit (two hours saved per week) and offers two call slots. Friendly tone, no pressure, no stock phrases."

2. An analysis.
Before: "Analyze these results."
After: "You're a financial analyst. Here is our shop's monthly revenue over 12 months [table]. Identify the three most important trends, any anomaly, and suggest two concrete actions. Answer in a table: finding, figure that shows it, proposed action. If data is missing, say so instead of assuming."

3. Ideas.
Before: "Give me LinkedIn post ideas."
After: "I'm a cybersecurity consultant for small businesses. My readers are non-technical executives. Suggest 10 post ideas, each with a hook under 15 words and the key message. Avoid alarmist topics; I want advice that can be applied in under an hour."

7 techniques that make the difference

  1. Get it to ask you questions. End with: "Before answering, ask me the questions you need." The AI identifies the missing context itself.
  2. Break long tasks down. Outline, then writing section by section, then review. Each step is easy to correct.
  3. Ask for several options. "Give me three very different versions." You choose instead of settling.
  4. Have it critique the result. "Review your answer as a harsh expert: what's wrong, vague or useless? Then fix it."
  5. Add negative constraints. "Don't use superlatives", "don't suggest paid tools". What you forbid matters as much as what you ask for.
  6. Ask for the reasoning on complex topics. "Explain your reasoning step by step, then give your conclusion." Mistakes become easier to spot.
  7. Save your best instructions. ChatGPT's custom instructions, Claude's projects or Gemini's Gems keep your context and style across all your conversations.

Library: 8 ready-to-use prompts

  1. Summarize a document: "Summarize this document in five points for a busy reader, then list the three decisions it implies and the open questions. [document]"
  2. Prepare a meeting: "Here's the agenda and the notes from the last meeting. Prepare the points to raise, the likely objections and a proposed decision for each topic."
  3. Learn a topic: "Explain [topic] to me as to a smart beginner, starting from a concrete example. Then ask me three questions to check I've understood."
  4. Make a decision: "I have to choose between [A] and [B]. My criteria: [list]. Make a comparison table, give your recommendation and tell me what could change it."
  5. Improve a text: "Improve this text without changing its meaning or tone: shorter sentences, simpler words, no repetition. Show the main changes. [text]"
  6. Build an action plan: "My goal: [goal] by [date]. My constraints: [time, budget]. Propose a week-by-week plan with a measurable result at each step."
  7. Reply to an unhappy customer: "Here's a message from an unhappy customer. Draft a reply that acknowledges the problem, explains what we're doing and offers a concrete solution, in 100 words max."
  8. Check a claim: "Here's a claim: [text]. Tell me what's verifiable, what's doubtful, and which sources to check to confirm it."

Structuring long prompts

When you provide a lot of material (a contract, meeting notes, a table), structure matters as much as content:

  • Put documents first and the question at the end: models make better use of long material when the instruction comes after it.
  • Separate the parts clearly with headings or tags, such as "### Context", "### Document", "### Instructions". Claude in particular follows tags like <document>…</document> very well.
  • Number your instructions when there are several: the AI forgets fewer of them.
  • Specify which source to use: "Answer only from the document provided; if the information isn't there, say so." It's the best protection against made-up answers.

The 5 most common mistakes

  1. A one-line request for a task that deserves ten.
  2. Starting over every time instead of correcting in the same conversation: "keep everything, but make the conclusion shorter".
  3. Mixing several tasks in one message.
  4. Trusting the answer without checking figures, quotes and sources. For facts, use a tool that cites its sources, like Perplexity.
  5. Pasting sensitive data (clients, health, passwords) into a consumer tool.

What about images and video?

The principle is the same, with visual elements: subject, action, setting, style, light, framing and format, plus camera movement for video. We detail these formulas in our guides to the best AI image generators and the best AI video tools.

Our advice to improve fast

For one week, apply the RCTFE method to every important request and keep the prompts that worked well in a document. After seven days you'll have your own library, tailored to your work, and your answers will be noticeably better whichever assistant you use.

To go further, the free tutorials from OpenAI, Anthropic and the Prompt Engineering Guide go deeper into each technique, and our ChatGPT vs Claude vs Gemini guide helps you choose an assistant.

Frequently asked questions

What is a prompt?

It's the request you write to an AI. Its quality largely determines the answer: a precise prompt with context and an example gives a usable result on the first try.

How do I write a good prompt?

Use the RCTFE method: give a role, the context of your situation, a precise task, the expected format and, if possible, an example of the result you want.

Should prompts be very long?

As long as needed, no longer. A simple question needs one line; a complex task deserves a full brief with context, documents and examples.

How can I stop the AI from making things up?

Provide the source documents, ask it to answer only from them and to flag what's missing, then check figures and quotes, ideally with a tool that cites its sources.

Can I reuse my prompts?

Yes: save your best prompts in a document, or use ChatGPT's custom instructions, Claude's projects or Gemini's Gems to keep your context.

More guides