Forward-deployed / Learning zone
Prompt engineeringa standalone module
A standalone module

Prompt engineering, from productivity to coding agents

The craft of writing input a model will reliably act on — from ChatGPT productivity patterns, through the classical techniques power users depend on, into the prompts that drive Claude Code, Cursor, and other coding agents.

9 lessons+ recapknowledge graphdiagrams included

Prompt engineering is the craft of writing input a language model will reliably act on. At the beginner end, that means turning ChatGPT or Claude from a novelty into a productivity tool — drafting emails, summarizing meetings, translating a rough idea into a first draft. In the middle, it means the techniques power users reach for when consistency starts to matter: structured prompts, few-shot examples, chain-of-thought, prompt chaining. At the far end, it means the patterns developers use to drive coding agents like Claude Code and Cursor — where the prompt is a spec, and the model is writing the code that ships. This module walks the full arc, one lesson per layer, so a reader picks up the mental model on lesson 1 and lands with real advanced patterns by lesson 9.

A note on scope. This is the technique module — the how of writing a prompt. Two adjacent modules deepen it in different directions. Context engineering argues that the inputs to the prompt (instructions, retrieval, memory, tool state) are the real quality lever at scale — prompt engineering is one layer inside that picture. TPM for AI products covers how you evaluate whether a prompt works. This module stays on the craft itself: what to write, why, and how it fails.

The knowledge graph

Every lesson sits on one arc — from the person typing into a chat box, through the techniques that make outputs reliable, to the patterns that let coding agents ship production code:

Prompt engineering, from productivity to coding agents

One arc, three altitudes · from the chat box to shipping code

Every lesson pairs the technique with a diagram that makes the mechanic concrete.

Beginner — lessons 1–3
What prompt engineering actually is
The anatomy of a prompt
Everyday productivity patterns
Intermediate — lessons 4–6
Structured prompting
Few-shot, CoT, self-consistency
Prompt chaining & workflows
Advanced — lessons 7–8
Prompting for tools and agents
Prompting inside coding agents
The meta lesson · 9 — When prompts fail: the diagnostic playbook — applies at every layer above

Read it in three passes. Beginner: the mental model, the six parts of a prompt, and the everyday patterns that turn an LLM into a productivity tool. Intermediate: the techniques power users use to make outputs consistent — structure, worked examples, step-by-step reasoning, multi-step chains. Advanced: how prompts change shape when the model can act — call tools, run code, edit files — and the specific patterns of prompting inside coding agents.

The lessons

Each lesson pairs the technique with a 🎯 For the AI PM (or coding-agent user) briefing — why it matters, the decision it changes, the question to ask your team or yourself, and the risk if ignored — plus one diagram that makes the mechanic concrete.

Connects to other tracks

📌 Close out the module: Recap & real-world examples.

The lessons

01

What prompt engineering actually is

Read lesson →
02

The anatomy of a prompt

Read lesson →
03

Everyday productivity patterns

Read lesson →
04

Structured prompting: XML, delimiters, scaffolds

Read lesson →
05

Few-shot, chain-of-thought, and self-consistency

Read lesson →
06

Prompt chaining and multi-step workflows

Read lesson →
07

Prompting for tools and agents

Read lesson →
08

Prompting inside coding agents

Read lesson →
09

When prompts fail: the diagnostic playbook

Read lesson →
📌

Recap & real-world examples

Read recap →