Learn Prompt Engineering
Structured tutorials from absolute basics to expert-level techniques. Read, practice in challenges, earn GeraCoins.
Tutorial Modules
Complete in order for the best learning path, or jump to what you need.
Prompt Engineering Basics
Learn what prompt engineering is, why it matters, and the core anatomy of an effective prompt. Perfect for complete beginners.
- What is a prompt?
- Role, context, task, format
- Common beginner mistakes
- Your first effective prompt
Advanced Prompt Techniques
Go beyond basic instructions. Learn temperature control, delimiters, negative constraints, and output format specification.
- Delimiters and structure
- Negative constraints
- Output format control
- Iterative refinement
Chain of Thought Prompting
Make AI reason step by step. CoT dramatically improves performance on math, logic, and multi-step problems. Learn when and how to use it.
- Zero-shot CoT ("think step by step")
- Few-shot CoT with examples
- Self-consistency technique
- Tree-of-thought extension
Few-Shot Learning
Teach AI by example without re-training it. Master the art of crafting in-context examples that guide outputs precisely.
- Zero-shot vs one-shot vs few-shot
- Choosing good examples
- Example ordering matters
- Format consistency
System Prompts & Personas
System prompts are the foundation of every AI product. Learn to write persistent personas, safety constraints, and behavior guardrails.
- System vs user vs assistant roles
- Persona design patterns
- Constraint layers
- Jailbreak resistance
Video Lessons
Prefer watching? Start with these curated YouTube lessons.
Intro to Prompt Engineering
ChatGPT Prompt Engineering for Developers
Advanced Prompt Engineering Techniques
Prompt Engineering Cheat Sheet
Quick reference for the most effective prompting patterns.
"Translate the following English text to French: {text}"No examples. Works for simple tasks.
"Review: Good movie. Sentiment: Positive
Review: Awful. Sentiment:"Examples guide output format and style.
"Solve this step by step: If John has 5 apples..."Forces intermediate reasoning steps.
"You are an expert Python developer. Review this code..."Sets persona for targeted expertise.
"Return a JSON object with keys: name, score, reason."Controls structure โ critical for APIs.
"Do not use technical jargon. Avoid bullet points."Explicit exclusions reduce unwanted outputs.
Test Your Knowledge
3 quick questions. Sign in to record your score and earn GeraCoins.
Q1: Which technique adds step-by-step reasoning to a prompt?
Q2: What is a "delimiter" in prompt engineering?
Q3: Which role persists across an entire conversation?