How to Write a Good Prompt
By Hugues Lourmieres, founder of TROIE Studio, web agency in Nice. Checked on 9 November 2026.
A prompt is the message you write to an AI: a question, an instruction, a request. When the answer is mediocre, the problem almost always lies in the request. A good prompt combines four ingredients: the role, the task, the context and the format. Here is the method, with eight examples ready to copy.
What is a prompt?
A prompt is the text you send to ChatGPT, Claude, Gemini or Le Chat. The golden rule fits in one line:
A vague request gets a vague answer. A precise request gets a useful one.
How to write a good prompt: the 4 ingredients
| Ingredient | The question to ask | Example |
|---|---|---|
| The role | Who should the AI be? | “You are a supportive writing tutor.” |
| The task | What exactly do you want? | “Proofread this text without changing its meaning.” |
| The context | For whom, for what purpose, in what tone? | “It is for a professional email, polite and concise.” |
| The format | What shape should the answer take? | “Reply in 5 bullet points, no jargon.” |
8 prompt examples ready to copy
- “Explain [a topic] to me as if I were 12 years old.”
- “Rewrite this message to make it more polite: [text].”
- “Give me 10 ideas for [a meal / a gift / a title].”
- “Summarise this document in 5 key points: [text].”
- “Compare [A] and [B] in a simple table.”
- “Act as a recruiter and ask me 5 interview questions.”
- “Translate this text into French, natural tone, not word for word.”
- “Before answering, ask me any questions you need.”
What is the trick to getting a better answer?
Ask the AI to ask you questions before it answers (the last example above). It gathers the context it is missing, and the answer improves markedly. Then follow up:
First request
Role, task, context, format.The AI's questions
You answer in a few words.The follow-up
“Too long, make it shorter”, “Give me 3 other versions”.The check
You review, you correct, you approve.
Why should you always check the answer?
Even with a perfect prompt, the AI can get things wrong: read why AI sometimes makes things up. You remain the decision-maker: you review, you approve. That is the whole idea behind manager, not replaced.
What if you use the same prompt every day?
A prompt you reuse every week deserves to be stored once and for all. In Claude, this is called a skill: a folder with the method, the answer template and the checklist. Claude applies it on its own when your request matches.
We publish five free skills on GitHub, including a single-page SEO audit and replies to customer reviews. The full catalogue, with one pack per trade, is on troie.app.
