The cheapest lever you have. And its 2026 upgrade: managing everything the model sees.
Onboarding a brilliant but very literal new contractor. The system prompt is their standing rules; few-shot examples are 'three past tickets done right'; structured output is 'fill in this exact form.' Context engineering is the bigger job: making sure the right briefing, files and tools are on their desk — because a perfect instruction on a messy desk still fails.
That the prompt is the whole game. In 2026 the discipline has widened to context engineering — managing everything the model sees (retrieved docs, tools, memory, history, state), of which the prompt is one part. A well-crafted prompt in a poorly-engineered context still fails.
The lesson, in five answers
Prompting is just giving the model instructions in text. Zero-shot means you give no examples. Few-shot means you include a few worked examples. A system prompt sets standing rules for the whole chat. Structured output forces a strict format like JSON, so your software can act on the result. These days you enforce that format directly through 'structured outputs' or tool schemas. You don't just ask nicely. Context engineering is the bigger umbrella. It's deciding what goes into the context window on each call. That's the prompt, plus retrieved documents, tool results, memory, and chat history. It's also deciding what to drop, shorten, or summarise.
Try this first, before you spend on RAG or fine-tuning. A lot of the product lives right here. Structured output is what lets AI plug into real workflows. A JSON result can trigger a refund or call an API. And context engineering is where agent and RAG quality is really won or lost. The wrong stuff, or too much of it, is the most common cause of bad output.
Always start here. Put the stable, reusable part of your prompt first, so it can be cached. Caching makes repeat calls cheaper and faster. If the task needs current or private facts, add RAG. If it needs a steady behaviour that prompting can't hold, think about fine-tuning. But prompt first.
Prompts are fragile. A small wording change can shift how the model behaves. So save versions of them and test each one against a fixed set of examples. More context isn't better. It adds cost, slows the answer, and can distract the model. So pick it carefully. And remember: few-shot examples add tokens.
"I don't think 'prompt', I think context. What's the smallest set of instructions, examples, facts, and tools the model needs for this one call? I'd keep a stable cached prefix at the front. I'd pull in only the context that's relevant. I'd enforce a JSON format. And I'd save versions of the whole thing and test them against a fixed example set. A prompt change is a product change."
The canonical explainers for this topic. Open them alongside the lesson, not after it.
External links open in a new tab. Content and prices change — verify before relying on any of them.
Zero-shot / few-shot
Asking with no examples vs. including a few worked examples to steer the model.
System prompt
Persistent rules and role set once for the whole conversation.
Structured output
Forcing a strict format like JSON, so your software can act on the result. More and more, you enforce it directly rather than asking nicely.
Chain-of-thought
Asking the model to reason step by step before it answers. It helps on multi-step logic. Reasoning models do this on their own.
Delimiters
Fencing your inputs with things like triple quotes or XML tags. This keeps the model from mixing up your instructions with the data. It's also a light defence against prompt injection, where hidden text tries to hijack the model.
Prompt chaining
Breaking a big task into a line of smaller prompts, like extract, then draft, then check. Each step is simpler, and you can test each one on its own.
Context engineering
Managing everything the model sees on a call. That's the prompt, retrieved docs, tools, memory, and history. It also means deciding what to drop or shorten. It's the 2026 successor to prompt engineering.
Prompt caching
Reusing an unchanged prompt prefix so repeated calls are cheaper and faster. Put the stable part first.
You don't need to use or master these. Recognising the names — and which box each sits in — is the tech-stack awareness a PM needs. No deep dive.
Try it
Toggle the system prompt, examples and JSON format on and off, and see the answer transform.
Prompt engineering
My data isn't working after recharge.
Oh no, sorry to hear your data isn't working! There are honestly so many things that could be going on here. Sometimes it's the network, sometimes the phone, sometimes the plan. You could try turning it off and on, or maybe checking coverage in your area, or it might be a recharge that hasn't gone through under policy #4471-B (I think?). Let me know more and we can dig in together...
Rambling, off-role, and it invented a policy number — nothing told it how to behave.
Zero-shot vs few-shot: zero-shot just asks; few-shot shows a couple of worked examples first, so the model mirrors their format and tone.
System prompt: persistent rules that apply to every turn — role, tone, and the lines it must never cross.
Why it matters to a PM: prompting is the cheapest, fastest lever — try it before RAG or fine-tuning. Structured output is what lets AI trigger real actions: a refund, a CRM update, a routed ticket. And a prompt change is a product change — version it and eval it like any other release.
Try it
Ten prompting techniques — what each is, when to reach for it, and a concrete example. Tap to expand.
The prompting toolkit
Treat prompts like any other artefact you ship: version them, keep a set of eval prompts, and measure changes instead of eyeballing. These are the techniques an AI PM should recognise by name and know when to reach for.
Ask directly, no examples — just the instruction.
Show 2–3 worked examples so the model copies the pattern.
Ask it to reason step by step before giving the answer.
Assign an identity: "You are a senior telecom support agent…"
Fence inputs so the model can't confuse instructions with data.
Force a strict shape (JSON / schema) that software can act on.
Sample several answers and take the majority vote.
Split a big task into a pipeline of smaller prompts.
Explicitly allow "I don't know" to cut hallucination.
Never treat retrieved or user text as instructions.
Why it matters to a PM: knowing these by name lets you spec features precisely — “few-shot the classifier, then chain a policy check” is a design, not a vibe. And it lets you reach for the cheapest technique that works: most quality problems are a prompting problem before they're a RAG or fine-tuning problem.
Recall beats re-reading. Answer before you flip.
Take a real support question and write two prompts for it: a lazy one-liner, and a structured one with a system role, two examples, and a required JSON shape ({intent, answer, escalate}). Note how much more usable the second output is.
This is where the hours go — reading is the warm-up, doing is the learning.
External resources open in a new tab. Course prices and links change — verify before paying.
Marked this one off? Your progress saves on this device.