Tutorial 03
Beginner

Prompt Engineering

Stop guessing at prompts. Learn how LLMs read your words, then how to write prompts that work — from anatomy and system prompts to tool calling, chaining, evals, and safety.

Prompt Engineering: Zero to Mastery

A complete, beginner-friendly curriculum that takes you from “what is a prompt?” all the way to building, evaluating, and shipping production-grade LLM systems.

Read the modules in order. Each one builds on the last. Every module has explanations in plain language, copy-paste examples, “try it yourself” exercises, and common mistakes to avoid.


Who this is for

  • You have never written a prompt before, OR
  • You write prompts but they feel like guesswork, AND
  • You want to become genuinely expert — the person on the team who others ask for help.

No coding background is required to start. Modules 6 and later show code (Python), but every concept is explained from scratch and you can understand 80% of the value without writing a single line of code.


How to use this curriculum

  1. Read actively. Don’t just read the example prompts — open a chatbot (Claude, ChatGPT, Gemini, etc.) in another window and actually run them.
  2. Do the exercises. Each module ends with exercises. Skipping them is the #1 reason people stay stuck at “beginner.”
  3. Keep a prompt journal. A simple text file where you save prompts that worked and prompts that failed, with a note on why. This becomes your personal playbook.
  4. Don’t rush. Mastery comes from reps, not from reading fast.

The roadmap (the modules)

#ModuleWhat you’ll learnLevel
01Foundations: How LLMs Actually WorkTokens, context windows, temperature, why models “hallucinate”Beginner
02Anatomy of a Great PromptThe building blocks: role, task, context, constraints, examples, formatBeginner
03System PromptsSetting persistent behavior, persona, rules, and guardrailsBeginner→Intermediate
04Core Prompting TechniquesZero-shot, few-shot, chain-of-thought, self-consistency, decompositionIntermediate
05Structured Output (JSON & Schemas)Forcing reliable, machine-readable outputIntermediate
06Tool Calling / Function CallingLetting the model use calculators, search, APIs, databasesIntermediate→Advanced
07Prompt Chaining & WorkflowsBreaking big tasks into reliable multi-step pipelinesAdvanced
08Advanced Techniques: RAG, ReAct & AgentsRetrieval, reasoning+acting loops, autonomous agentsAdvanced
09Evaluating Prompts (Evals)Measuring quality, building test sets, LLM-as-judge, regression testingAdvanced
10Safety, Security & Prompt InjectionJailbreaks, injection attacks, guardrails, responsible useAdvanced
11Production Best PracticesCost, latency, caching, versioning, monitoring, model selectionAdvanced
12Capstone Projects & Continued LearningBuild real projects, a study plan, and where to go nextMastery

A 6-week study plan (optional)

  • Week 1: Modules 01–02. Run every example. Start your prompt journal.
  • Week 2: Modules 03–04. Rewrite 5 of your old prompts using new techniques.
  • Week 3: Module 05–06. Build one structured-output prompt and one tool-calling demo.
  • Week 4: Modules 07–08. Build a small 3-step chain (e.g., research → outline → draft).
  • Week 5: Modules 09–10. Create an eval set for one of your prompts; try to “break” it.
  • Week 6: Modules 11–12. Polish one project end-to-end and write it up.

A note on terminology

This field has a lot of jargon. Every term is defined the first time it appears, and there’s a glossary at the end of Module 01. When in doubt, search for the term in that glossary.

Let’s begin. Open Module 01: Foundations.