Understanding Prompts
What Is a Prompt?
Section titled “What Is a Prompt?”A prompt is simply the instruction you give to an AI. Every time you type a message into ChatGPT, Claude, Gemini, or any other AI tool, you are writing a prompt. The AI reads your prompt, figures out what you are asking for, and generates a response.
Think of a prompt like placing an order at a restaurant. If you say “bring me food,” you might get anything. But if you say “I’d like a grilled chicken salad with no onions and dressing on the side,” you are much more likely to get exactly what you want. Prompts work the same way: the clearer and more specific your instruction, the better the result.
Two Types of Prompts
Section titled “Two Types of Prompts”When working with AI agents, there are two main types of prompts you need to know about.
User Prompts
Section titled “User Prompts”A user prompt is the message you type directly into the chat. It is visible, immediate, and usually changes with every conversation. This is what most people think of when they hear the word “prompt.”
Examples of user prompts:
- “Summarize this article for me.”
- “Write a professional email declining a meeting.”
- “Create a list of 10 blog post ideas about travel in Paraguay.”
System Prompts
Section titled “System Prompts”A system prompt is a hidden set of instructions that runs behind the scenes before the conversation starts. You do not see it in the chat, but it shapes how the AI behaves. System prompts tell the AI things like what role to play, what tone to use, and what rules to follow.
We will cover system prompts in detail in the next lesson. For now, just know they exist and that they are one of the most powerful tools for controlling an AI agent.
How Prompt Quality Affects Output Quality
Section titled “How Prompt Quality Affects Output Quality”The single most important thing to understand about AI agents is this: the quality of your prompt directly determines the quality of the response. This is true 100% of the time, across every platform.
Here is a comparison to illustrate the point:
A Vague Prompt
Section titled “A Vague Prompt”“Write something about dogs.”
This prompt gives the AI almost nothing to work with. It does not know what kind of writing you want, how long it should be, who the audience is, or what angle to take. The result will be generic and probably not what you were looking for.
A Clear Prompt
Section titled “A Clear Prompt”“Write a 150-word paragraph for a pet adoption website that explains why adopting an older dog is a great choice. Use a warm, encouraging tone. The audience is families with young children.”
This prompt tells the AI exactly:
- What to write (a paragraph)
- How long it should be (150 words)
- Where it will be used (pet adoption website)
- What topic to focus on (adopting older dogs)
- What tone to use (warm and encouraging)
- Who will read it (families with children)
The result will be dramatically better because the AI has clear guidelines to follow.
Good vs. Bad Prompts: More Examples
Section titled “Good vs. Bad Prompts: More Examples”| Bad Prompt | Why It’s Bad | Good Prompt |
|---|---|---|
| ”Help me with my resume.” | Too vague. What kind of help? | ”Review my resume for a marketing manager position and suggest three improvements to make it more compelling." |
| "Translate this.” | Translate into what language? What style? | ”Translate the following customer support email from English to Spanish. Keep the tone professional and friendly." |
| "Make it better.” | Better how? The AI has to guess. | ”Rewrite this paragraph to be more concise. Reduce it from 200 words to about 100 words while keeping all the key points." |
| "Write code.” | No context at all. | ”Write a simple Python function that takes a list of numbers and returns the average.” |
Tips for Writing Clear Prompts
Section titled “Tips for Writing Clear Prompts”Here are five practical tips you can start using immediately to get better results from any AI.
1. State your goal up front
Section titled “1. State your goal up front”Start your prompt by saying what you want to achieve. Don’t bury the important information at the end.
Instead of: “I have this report that was written last week and it needs some changes because my boss said the numbers section was confusing, can you fix it?”
Try: “Simplify the numbers section of this report so it is easier for non-technical readers to understand.”
2. Specify the format
Section titled “2. Specify the format”Tell the AI how you want the output structured. Do you want a list? A table? A paragraph? Bullet points?
“List five benefits of remote work, formatted as bullet points with one sentence each.”
3. Define the audience
Section titled “3. Define the audience”The AI writes very differently for a five-year-old versus a CEO. Tell it who will read the output.
“Explain how solar panels work in simple terms that a high school student would understand.”
4. Set constraints
Section titled “4. Set constraints”Constraints help the AI focus. You can set word limits, restrict topics, or define what to include and exclude.
“Write a product description in exactly three sentences. Do not mention the price. Focus on the product’s durability and design.”
5. Give an example
Section titled “5. Give an example”When you show the AI an example of what you want, it can match that style and format. This technique is called few-shot prompting and we will cover it more in the best practices lesson.
“Write a social media caption in this style: ‘Morning walks hit different when the coffee is just right. What’s your go-to morning routine?’ Now write a similar caption about reading books.”
Try It Yourself
Section titled “Try It Yourself”Open your preferred AI platform and try these two prompts. Compare the results:
Prompt A (vague):
“Tell me about Paraguay.”
Prompt B (specific):
“Write a short travel guide paragraph (about 100 words) introducing Paraguay to a tourist visiting South America for the first time. Mention the capital city, the primary languages spoken, and one must-visit landmark. Use an enthusiastic, welcoming tone.”
Notice how Prompt B gives you a result that is immediately useful, while Prompt A gives you a generic encyclopedia-style response that you would need to edit heavily.
Key Takeaways
Section titled “Key Takeaways”- A prompt is the instruction you give to an AI. Better instructions lead to better results.
- User prompts are what you type in the chat. System prompts are hidden instructions that shape the AI’s behavior.
- Be specific: state your goal, specify the format, define the audience, set constraints, and give examples when possible.
- You do not need to be a programmer to write great prompts. You just need to be clear about what you want.