Skip to main content
Free Learning Hub

Learn Prompt Engineering

Structured tutorials from absolute basics to expert-level techniques. Read, practice in challenges, earn GeraCoins.

Your progress:
1/5 modules completeSign in to save progress โ†’

Tutorial Modules

Complete in order for the best learning path, or jump to what you need.

๐Ÿ“šBeginner
Module 1

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
10 min readRead
โšกIntermediate
Module 2

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
15 min readRead
๐Ÿ”—Intermediate
Module 3

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
12 min readRead
๐ŸŽฏIntermediate
Module 4

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
10 min readRead
๐Ÿง Advanced
Module 5

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
18 min readRead

Video Lessons

Prefer watching? Start with these curated YouTube lessons.

Intro to Prompt Engineering

Andrej Karpathy41 min

ChatGPT Prompt Engineering for Developers

DeepLearning.AI1 hr 20 min

Advanced Prompt Engineering Techniques

Prompt Engineering Institute28 min

Prompt Engineering Cheat Sheet

Quick reference for the most effective prompting patterns.

Zero-shot
"Translate the following English text to French: {text}"

No examples. Works for simple tasks.

Few-shot
"Review: Good movie. Sentiment: Positive Review: Awful. Sentiment:"

Examples guide output format and style.

Chain of Thought
"Solve this step by step: If John has 5 apples..."

Forces intermediate reasoning steps.

Role Prompting
"You are an expert Python developer. Review this code..."

Sets persona for targeted expertise.

Output Format
"Return a JSON object with keys: name, score, reason."

Controls structure โ€” critical for APIs.

Negative Constraints
"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?