Prompt Engineering Fundamentals: Write Instructions Models Follow
by Laura Mbeki
Ship model features that refuse the right things and never leak your system instructions.
LM Created by Laura Mbeki
Every bullet below is something you will have built, shipped or be able to explain by the time you finish the last lesson.
7 modules · 59 lessons · 7h 50m of material
8 lessons running 1h in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
9 lessons running 1h 10m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
9 lessons running 1h 14m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
9 lessons running 1h 16m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
8 lessons running 1h 6m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
8 lessons running 1h 4m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
8 lessons running 1h in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
7 modules · 59 lessons
7h 50m total length
Short list, and deliberately so. If you meet these you can start today.
Once a model feature has real users, a new category of bug appears. It is not a crash and not a wrong answer. It is the assistant confidently promising a refund your company does not offer, reciting its own system prompt to a curious user, or answering a question about a competitor in a way legal would rather it had not.
This course treats that category seriously. You map the failure surface first: instruction leakage, jailbreak patterns, indirect injection through retrieved documents, over-refusal that annoys legitimate users, tone failures, and the commitments a model can make on your behalf.
Then you build defences in layers. Input classification before the expensive call, instruction hierarchy that keeps untrusted content as data, output validation with a policy checker, blocked patterns for identifiers and secrets, and a refusal design that stays useful by offering the next best step instead of a flat no. A dedicated module covers indirect injection through retrieval, which is the failure most teams have not yet thought about.
The last part is operational: red-team suites that run in continuous integration, incident response for a bad answer that reached a customer, human escalation paths, and the logging and retention questions that follow. You leave with a guardrail layer and a red-team suite you can point at your own system.
Still unsure about something? Write to misteryjj100@gmail.com and a human answers, usually the same working day.
Reviews are written by people who bought this course. We publish the critical ones too.
4.0
Rated 4.0 out of 5Course rating · 1 review
Aurélien Faure
Security engineer
Demonstrating an attack that arrives inside a retrieved document rather than through the user's own message, and then defending against it properly, is material I could not find anywhere else. Four rather than five only because the red-team suite at the end is small and I wanted more adversarial cases to build from.
Prompt engineer and AI workflow designer
Laura went independent after seven years of agency work and now designs the prompt libraries that sit behind other people's products. She treats prompting as engineering: versioned prompts, a held-out evaluation set, a regression run before anything ships, and a token budget you have to hit. Her packs are the ones she uses with her own clients — briefing, rewriting, summarising, review — rather than sanitised examples, and each comes with notes on where it fails. She keeps every pack working across ChatGPT, Claude and a small open model, so the technique outlives the model.
One-time payment · lifetime access