Loading

Learn Prompt Engineering

Design prompts that are clear, testable, and safer to use.

Start learning 6 lessons · about 1 hours · free
About this track

Learn to write clear instructions, use examples, organize context, request structured outputs, and improve prompts through evaluation. Practice treating prompt injection and model output as reliability and security concerns.

Before you start
  • No prior prompt engineering experience needed.
  • Basic programming concepts are helpful but not required.
  • A modern browser with JavaScript enabled.
  1. Unit 1 · 0/2 lessons

    Prompt foundations

    Write clear requests and use examples to show the expected pattern. Badge: Clear communicator

    1. 0x001Write a clear promptSpecify the task, useful context, constraints, and response format. 12 min 12 min
    2. 0x102Use examples to show the patternUse zero-shot and few-shot examples to clarify what a good response looks like. 12 min 12 min
  2. Unit 2 · 0/3 lessons

    Prompt design and testing

    Manage context, request useful structures, and evaluate changes. Badge: Prompt craftsperson

    1. 0x203Manage context and break down tasksProvide the right source material and turn complex work into checkable steps. 12 min 12 min
    2. 0x304Request structured, usable outputsSpecify schemas and constraints, then validate generated results in code. 12 min 12 min
    3. 0x405Test and refine prompts systematicallyUse examples, rubrics, and controlled changes to improve prompt reliability. 12 min 12 min
  3. Unit 3 · 0/1 lessons

    Prompt safety

    Recognize injection attempts and reinforce boundaries in software. Badge: Boundary keeper

    1. 0x506Handle prompt injection and sensitive dataProtect instructions and data boundaries, and do not treat prompting as an access control. 12 min 12 min
Did you like the lesson? 😆👍
Consider a donation to support our work: