The Guide to Writing Good AI Prompts + 7 Examples


The Guide to Writing Good AI Prompts + 7 Examples

A well-crafted AI prompt will allow you to obtain relevant and quality results.

Properly formulating your request helps effectively guide the language model and avoid off-topic or incomplete responses.

We will explore together the best practices for writing effective AI prompts, as well as concrete examples for different use cases.

Clearly define your objective and expected result

Have a precise objective

Before writing a prompt, you need to clearly define the objective to achieve.

A precise objective helps guide the LLM toward the desired result and avoid responses that are too general or off-topic.

Examples of well-defined objectives

Vague objectivePrecise objective
Write an article about climate changeWrite an article of 800 words explaining the causes and consequences of global warming, intended for a high school student audience
Generate recipe ideasSuggest 5 original vegetarian recipes based on seasonal vegetables, for 4 people, with a preparation time under 30 minutes
Create a logo for a companyDesign a logo for a vegetarian meal delivery startup called “GreenBite“. The logo must incorporate a green leaf and stylized cutlery, use the colors dark green (#006400) and light orange (#FFA500), and be suitable for use on social media and delivery packaging.

Use relevant context elements to guide the AI

The role of context in an AI prompt

Providing relevant context in the prompt gives the language model the information needed to generate an appropriate response.

Context can include details about the target audience, the tone to adopt, the expected format, etc.

Examples of context elements to include

  • Purpose or goal of the content (inform, persuade, entertain, sell)
  • Target audience characteristics (age, knowledge level, interests)
  • Desired tone and writing style (formal, humorous, educational)
  • Expected content format and length (article, summary, script)
  • Specific constraints (budget, deadlines, available resources)
  • Cultural or geographical context (country, region, specific culture)

Choose the right keywords and appropriate terminology

The impact of keywords on result quality

The choice of keywords in an AI prompt will allow you to obtain more or less relevant and quality results.

Precise keywords adapted to the domain help effectively guide the language model toward the desired information.

Tips for choosing the right keywords

  • Use vocabulary specific to the relevant domain (e.g., “mitosis” rather than “cell division” in biology)
  • Avoid vague or ambiguous terms (e.g., replace “good” or “interesting” with more precise adjectives)
  • Prefer descriptive and informative keywords (e.g., “extended-range electric vehicle” rather than simply “car”)
  • Vary synonyms to cover different aspects of the subject (e.g., use “ecological,” “sustainable,” and “environmentally friendly” in a text about sustainable development)

Provide sufficient context and examples

Examples in an AI prompt

Including concrete examples in a prompt helps precisely illustrate the type of result expected.

Examples help the language model understand the desired structure, style, and level of detail.

How to integrate effective examples

  • Choose examples representative of the final result (e.g., for a blog article writing prompt, include an article excerpt with title, paragraphs, and keywords to make it more human)
  • Vary examples to cover different aspects of the subject (e.g., for a prompt about renewable energies, give examples about wind, solar, and hydroelectric power)
  • Structure examples in a clear and logical manner (e.g., present examples in chronological order or from simplest to most complex)
  • Use consistent formatting to facilitate model comprehension (e.g., systematically use bullet points for lists, quotation marks for citations, and bold text for important points)

Techniques for managing long and complex prompts

The challenges of long and complex prompts

Long and complex prompts can be difficult for language models to handle.

They risk generating incoherent, off-topic, or incomplete responses.

Tips for effectively structuring long prompts

TechniqueExample
Divide the prompt into distinct sectionsIntroduction, Context, Objectives, Instructions, Examples, Conclusion
Use clear tags and separators<section>, <example>, —, ===
Prioritize information by order of importancePlace key elements at the beginning of the prompt, followed by supplementary details
Limit sentence and paragraph lengthPrefer short sentences and paragraphs of 2-3 sentences maximum
Request one section at a timeSince LLMs are limited, you will generally get better results by dividing your sections then requesting the prompt related to these sections one by one

Methods for evaluating the quality and relevance of generated results

Evaluation criteria for AI prompt results

  • Alignment with the initial objective
  • Coherence and logic of generated content
  • Writing and syntactic quality
  • Originality and relevance of proposed ideas
  • Compliance with requested constraints and format

7 examples of well-designed AI prompts

For students:

  1. Essay writing: Can you help me craft a compelling introduction on the topic of the impact of social media on adolescent mental health, with a structured plan in three main parts and concrete examples?
  2. Essay writing 2: I need to write a 1500-word essay on the impact of the digital revolution on education. Can you help me structure this essay with a catchy introduction, three main parts addressing the advantages, disadvantages, and future prospects, as well as a conclusion that opens up a debate? I would also like to include concrete examples and recent statistics.
  3. Text revision: I just wrote a 300-word summary of the novel ‘The Stranger’ by Albert Camus. Can you review it and give me suggestions to improve the clarity, coherence, and relevance of the ideas?

For service sector employees:

  1. Writing a professional email: Help me write an email to inform our team about the organization of a project follow-up meeting, specifying the date, time, agenda, and emphasizing the importance of everyone’s participation.
  2. Meeting preparation: Can you create a meeting plan for a brainstorming session on the marketing strategy of our new product? The plan should include the objectives, discussion points, and space for participants’ ideas.
  3. Writing an analysis report: I need to write a 10-page analysis report on our company’s financial performance over the last quarter. The report should include: a general introduction, a detailed analysis of revenues, expenses, and profitability by department, graphs to illustrate trends, and a conclusion with recommendations for the next quarter. Can you help me structure this report and provide wording suggestions for the key sections?

For teachers:

  • Can you help me create an interactive 10-question quiz on the Industrial Revolution for 8th-grade students, making sure to include multiple choice, true/false, and open-ended questions?

Articles à ne pas manquer

  • Claude Sonnet 5.5: benchmarks, pricing and when it replaces Opus 5.5

    Claude Sonnet 5.5: benchmarks, pricing and when it replaces Opus 5.5

    Anthropic launched Claude Sonnet 5.5 on September 28, 2026, six days after Opus 5.5. Pricing does not move from Sonnet 5, $2 per million input tokens and $10 per million output tokens, but the model generates output more than 30% faster and uses fewer tokens per task. On Terminal-Bench 4.0, it jumps from 10.3% to…

  • Claude Opus 5.5: benchmarks, pricing and a 40% lower cost per task

    Claude Opus 5.5: benchmarks, pricing and a 40% lower cost per task

    Anthropic launched Claude Opus 5.5 on September 22, 2026, the first model in the Claude 5.5 family. It costs $4 per million input tokens and $20 per million output tokens, 20% less than Opus 5, and cache reads drop to $0.20. Anthropic places it at the level of Claude Fable 5.1 on most work, at…

  • Ads in ChatGPT: who sees them and how to avoid them

    Ads in ChatGPT: who sees them and how to avoid them

    ChatGPT shows ads on the Free and Go plans, and only on those two. Plus, Pro, Business, Enterprise and Edu stay ad-free, and accounts identified as belonging to someone under 18 see no ads. On the Free plan you can turn ads off, but you pay for it in messages and tools. A Go subscriber…