Prompt Lab: Advanced Prompting
Level up your prompts like a scientist: add examples, set rules, ask Claude to plan and check, then test and save your best recipes.
Your lab bench
Chapter 1 at a glance
1.1 Show examples
🎯 Goal: teach Claude your style with one or two samples- Instead of only telling Claude what you want, show it one or two examples.
- Examples teach style, length and format faster than long instructions.
- Label them clearly: “Example input” and “Example output”.
- Use examples from your own notes or make up simple ones. Then ask for new ones in the same style.
📋 With an example vs without
🌍 Real-life examples
No style to copy.
Claude copies the pattern.
📝 Quick quiz
1. What does an example teach Claude?
✅ The style, length and format you want.
2. How many examples are usually enough?A) 1 to 3 B) 100
✅ A. One to three is usually plenty.
3. Why label “Example input” and “Example output”?
✅ So Claude knows which part is which.
1.2 Set rules and limits
🎯 Goal: use constraints to get safer, sharper answers- Rules, also called constraints, tell Claude what to include, what to avoid and how long to go.
- Add a length, a level, a “do not” and an unsure rule.
- Say “If you are not sure, say so instead of guessing.” It helps against made-up facts.
- For homework help add “Do not give the final answer. Give one hint.”
🧰 Four handy rules
Length
“Under 80 words”
keeps it shortLevel
“Words a Class 6 student knows”
keeps it simpleDo not
“Do not give the final answer”
keeps you learningUnsure rule
“If unsure, say so”
fights guessing🌍 Real-life examples
Could be too long or too hard.
Clear rules.
📝 Quick quiz
1. What is a constraint?
✅ A rule such as length, level or something to avoid.
2. Which rule helps against made-up facts?A) “Be creative” B) “If you are unsure, say so”
✅ B. An unsure rule is honest and safe.
3. Write a rule that makes Claude give hints only.
✅ Example: “Do not give the final answer. Give one hint at a time.”
1.3 Plan, answer, check
🎯 Goal: make Claude think in steps and check its work- For harder tasks ask Claude to plan first, then answer, then check its own work.
- Ask for 2 different ways to solve something, then compare them.
- Ask “What could be wrong with this answer?” It helps you spot mistakes.
- Claude’s check is helpful but not perfect. You still verify in your book.
🔄 The Plan-Answer-Check loop
🌍 Real-life examples
Only an answer, no checking.
Mistakes get caught.
📝 Quick quiz
1. What are the 3 stages of the loop before improving?
✅ Plan, answer and check.
2. Is Claude’s own check always right?A) Yes B) No, I still verify
✅ B. Always verify in your book or with your teacher.
3. Why ask for two different ways?
✅ You can compare them and understand the idea better.
1.4 Test and save templates
🎯 Goal: improve prompts one change at a time and keep the best- Great prompts are tested. Change one thing at a time and see what improves.
- Keep a prompt notebook: version, what you changed and how the answer turned out.
- Turn your best prompts into templates with [brackets] you can fill in.
- Share templates with classmates, but never include personal details.
📓 Your lab notebook
🌍 Real-life examples
Slow, and different every time.
Fast and reliable.
📝 Quick quiz
1. Why change only one thing at a time?
✅ So you know which change made the difference.
2. What do [brackets] mean in a template?A) Fill in your own words B) Type the brackets
✅ A. Replace them with your details.
3. What goes in a prompt notebook?
✅ The version, what you changed and how the answer was.
⚗️ Prompt Duel
Two prompts enter the lab with the same goal. Which one will get the better answer? Tap it! 6 duels. Can you win 5 or more?
Chapter 1 summary
Show examples • Set rules • Plan, answer, check • Test and save templates.