anthropics/prompt-eng-interactive-tutorial
Anthropic's Interactive Prompt Engineering Tutorial
What this project is
An interactive tutorial that teaches you how to write effective prompts for Claude, Anthropic's AI assistant. It's a hands-on course with lessons, exercises, and a playground for experimenting.
What you'll learn
By the end, you'll be able to:
- Structure a good prompt
- Spot common mistakes and fix them with simple '80/20' techniques
- Know what Claude is good and bad at
- Build strong prompts from scratch for everyday uses
How it's organized
The course has 9 chapters plus an appendix, meant to be done in order. Each chapter has a lesson and exercises. At the bottom of each lesson is an Example Playground where you can tweak prompts and see how Claude's answers change. There's also an answer key (linked in the README).
Chapter topics (from the table of contents)
- Beginner: Basic prompt structure, being clear and direct, assigning roles
- Intermediate: Separating data from instructions, formatting output, thinking step by step, using examples
- Advanced: Avoiding hallucinations, building complex prompts for real industries (chatbots, legal, financial, coding), plus an appendix on chaining prompts, tool use, and search/retrieval
Which model it uses
The tutorial runs on Claude 3 Haiku — Anthropic's smallest, fastest, and cheapest model. The README notes that Anthropic also has two smarter models (Sonnet and Opus), but this course sticks with Haiku.
How to access it
You can go through the tutorial directly in the repository (start with 01_Basic Prompt Structure). There's also a Google Sheets version using Anthropic's Claude for Sheets extension, which the README recommends as more user-friendly.
Key takeaway
This is a practical, exercise-heavy course for anyone who wants to get better at prompting Claude — no prior experience assumed, just a willingness to practice.
Related
- Project
- Project
- Project
- Project