Prompting Guide

Prompt Engineering Guide for Beginners

Learn the foundations of better AI prompting without technical jargon.

1. What Is a Prompt?

A prompt is the instruction you give to an AI system. A better prompt gives the AI a clearer job, more context, and a specific format for the answer.

2. The Anatomy of a Great Prompt

RoleTaskContextAudienceConstraintsFormatExamples

3. Simple Prompt Formula

Act as [role]. Your task is to [goal]. The audience is [audience]. Use this context: [context]. Follow these constraints: [constraints]. Format the answer as [format].

4. Common Mistakes

  • Being too vague
  • Asking for too many things at once
  • Not defining the audience
  • Not giving enough context
  • Forgetting to specify format
  • Not iterating after the first answer

5. Prompting Techniques

  • Role prompting
  • Few-shot prompting
  • Step-by-step prompting
  • Format-based prompting
  • Constraint-based prompting
  • Iterative prompting

6. Examples

Bad prompt

Write about cybersecurity.

Better prompt

Act as a cybersecurity advisor. Explain the top five cybersecurity risks for small businesses in simple language. Include practical prevention tips for each risk. Format the answer as a table with columns for risk, why it matters, and what to do.

Bad prompt

Make this better.

Better prompt

Rewrite the following paragraph to be clearer, more concise, and more professional. Keep the meaning the same. Use plain language and limit the revised version to 120 words.

Practice what you learned.

Open Prompt Builder