Learning Objectives
- Write clear, specific prompts
- Use advanced techniques like few-shot and chain-of-thought
- Iterate and refine effectively
The Two Golden Rules
Great prompts follow two fundamental principles:
Rule 1: Clarity
Use simple, unambiguous language. Avoid jargon unless necessary. Say exactly what you mean.
Bad: "Make it good" Good: "Make it more concise and professional"
Rule 2: Specificity
Provide context, desired format, length, and audience. The more details, the better.
Bad: "Write an email" Good: "Write a professional follow-up email to a client named Sarah about the website project we discussed. Remind her of our Monday meeting and confirm the time. Keep it under 100 words."
The Clarity + Specificity Formula
Good Prompt = Clear Language + Specific Details
Think about: What exactly do I want? Who is the audience? What format? How long? What tone?
The Prompt Structure Template
Here's a reliable template for structuring effective prompts:
[ROLE] Act as a [expert type]
[CONTEXT] I need help with [situation]
[TASK] Please [specific action]
[FORMAT] Present this as [format]
[CONSTRAINTS] Keep it [length/tone/style]
Example Using Template
Act as an experienced marketing copywriter.
I need help creating content for my small bakery's
grand opening next month.
Please write an Instagram caption announcing the event.
Present this as a single paragraph with 3-5 relevant
hashtags at the end.
Keep it friendly and under 150 characters (not
including hashtags).
When to Use Each Element
| Element | Use When |
|---|---|
| ROLE | You want expertise or a specific perspective |
| CONTEXT | Background information affects the answer |
| TASK | Always - be specific about what you want |
| FORMAT | You need output in a particular structure |
| CONSTRAINTS | You have limits on length, tone, or style |
Advanced Techniques
Once you've mastered the basics, try these powerful techniques:
Few-Shot Prompting
Give examples of what you want, and AI will follow the pattern.
Here are examples of the style I want:
- "The sunset painted the sky in shades of amber"
- "Morning dew clung to petals like tiny diamonds"
Now write one like this about a forest.
Chain of Thought
Ask AI to reason through problems step by step.
Let's solve this problem step by step:
[Your problem here]
Walk me through your reasoning before giving
the final answer.
Role Prompting
Assign a specific role or expertise.
You are a patient teacher explaining this concept
to a complete beginner who has no technical
background. Use simple language and everyday
analogies.
Negative Prompting
Specify what you DON'T want.
Explain quantum computing to me.
Don't use technical jargon.
Don't assume I know physics.
Iterative Refinement
The best results come from iteration, not a single perfect prompt.
The Iteration Cycle
- First attempt - Give your best initial prompt
- Evaluate - Is this what you wanted? What's missing?
- Adjust - Ask for specific changes
- Repeat - Keep refining until satisfied
Useful Refinement Phrases
For length:
- "Make this shorter/longer"
- "Condense this to one paragraph"
- "Expand point #2"
For tone:
- "Make this more formal/casual"
- "Add more enthusiasm"
- "Make it sound more professional"
For content:
- "Add specific examples"
- "Include statistics/data"
- "Focus more on [topic]"
- "Remove the part about [topic]"
For structure:
- "Convert this to bullet points"
- "Add headers/sections"
- "Present this as a table"
Example Iteration
First prompt: "Write about coffee"
AI Response: (generic essay about coffee)
Refinement 1: "Make this specifically about the health benefits of coffee"
Refinement 2: "Add scientific studies and make it suitable for a health blog"
Refinement 3: "Shorten to 300 words and make it more conversational"
Each iteration gets you closer to exactly what you need.
Exercises
- 1Take a vague request and transform it using the template structure
- 2Practice the iteration cycle: write a prompt, evaluate the response, refine 3 times
- 3Try few-shot prompting with a creative writing task