AI PM 10X / CORE SKILLS

Prompt Engineering

How to communicate with AI models so they reliably do what your product needs. It is the cheapest, fastest lever a PM has for shaping AI behaviour.

Overview

Prompt engineering is the practice of writing the instructions, context, and examples that tell an AI model what to do. The same model can be brilliant or useless depending on how you ask. A vague request produces a vague answer, while a precise, well-structured prompt produces output you can ship.

For product managers, the prompt is where product intent becomes product behaviour. It is the part of the AI stack you can change fastest and own most directly. Before you fine-tune a model, switch providers, or build retrieval, a better prompt is almost always the highest-leverage thing to try first.

Why It Matters for PMs

Cheapest lever

A prompt change ships in minutes and costs nothing. Before you fine-tune, swap models, or build retrieval, a better prompt is almost always the first thing to try.

The prompt is the spec

Whatever you write in the prompt defines how the feature behaves. Vague prompts produce vague products. Owning the prompt means owning the behaviour your users actually see.

Variance control

The same model can answer well one moment and poorly the next. Structured prompting narrows that spread, which is what makes outputs predictable enough to measure and ship.

Key Concepts

Three levels of prompting. Start simple, and reach for more only when you need it

1

Zero-shot prompting

Fastest · Default

You give the model an instruction with no examples and rely on what it already knows. Sharpen it with a clear system promptsystem promptA system prompt sets the model's persona and standing rules before the user's request, for example 'You are a support agent for a banking app. Never give financial advice.' It frames every response that follows.Anthropic on system prompts and the habit of being clear and directclear and directState exactly what you want, in what format, with what constraints. Models do not infer unstated intent well, so spell out the task, the audience, and what good looks like.Anthropic: be clear and direct. The right starting point for most tasks before you reach for anything heavier.

2

Few-shot prompting

Examples · Higher accuracy

You include a handful of worked examples so the model can pattern-match the format and tone you want. Often called multishot promptingmultishot promptingProviding several input/output examples in the prompt, typically three to five. The model copies the demonstrated pattern. It is the single most reliable way to lock in a specific output format or style.Anthropic on multishot. Compared with zero-shotzero-shotFew-shot includes examples, zero-shot includes none. Few-shot usually wins on consistency and formatting, at the cost of a longer, more expensive prompt.Prompting Guide: few-shot, it trades a longer prompt for far more consistent results.

3

Structured & agentic prompting

Reliable · Composable

For harder tasks you guide the model's process as well as its output. Ask for chain-of-thoughtchain-of-thoughtPrompting the model to reason step by step before answering. It markedly improves accuracy on maths, logic, and multi-step tasks. Wei et al. (2022) showed large gains from adding 'let's think step by step' to a prompt.Anthropic on chain-of-thought reasoning, split a job into a prompt chainprompt chainBreaking one complex prompt into a sequence of simpler prompts, where each step's output feeds the next. Easier to test, debug, and keep reliable than a single mega-prompt.Prompting Guide: prompt chaining, or let the model interleave reasoning and tool use with ReActReActReAct prompts the model to alternate between reasoning ('Thought') and actions ('Act') such as calling a search tool, then observing the result. It is the backbone of most AI agents.Prompting Guide: ReAct.

Core techniques to know

Hover over any technique for a plain-English explanation and a link to go deeper.

Clarity & structure

Say exactly what you want

Be clear and directBe clear and directState the task, audience, format, and constraints explicitly. Models do not reliably infer unstated intent. The more precise the instruction, the more predictable the output.Anthropic prompt guideRole / system promptRole / system promptAssigning the model a persona and standing rules up front ("You are a senior copy editor...") shifts tone, vocabulary, and what it will and will not do across the whole conversation.Anthropic on system promptsDelimiters / XML tagsDelimiters / XML tagsWrapping instructions, context, and examples in clear separators (XML tags, triple quotes, headings) stops the model confusing your instructions with the data it should act on.Anthropic on XML tags
Reasoning

Improve how it thinks

Chain-of-thoughtChain-of-thoughtAsking the model to reason step by step before answering. It lifts accuracy on maths, logic, and multi-step problems, at the cost of a longer, slower response.Wei et al., 2022 (arXiv)DecompositionDecompositionBreaking a hard task into smaller sub-tasks, each handled by its own prompt. Easier to test and debug than one large prompt, and each step can be improved independently.Prompting Guide: chainingReActReActA pattern where the model alternates reasoning with actions such as calling tools, searching, and observing results. It is how most AI agents combine thinking with doing.Prompting Guide: ReAct
Examples

Show the model, then tell it

Zero-shotZero-shotAn instruction with no examples. Fast and cheap, and often enough for simple, well-known tasks. The default to start from before adding examples.Prompting Guide: zero-shotFew-shotFew-shotIncluding a few input/output examples so the model copies the pattern. The most reliable way to lock in a specific format, tone, or edge-case handling.Prompting Guide: few-shotMultishotMultishotFew-shot at scale, with several diverse examples covering the range of inputs you expect. Useful when one or two examples are not enough to pin down the behaviour.Anthropic on multishot
Reliability & control

Make output usable

Output formattingOutput formattingSpecifying the exact shape of the response (JSON schema, markdown table, bullet list). Essential when the output feeds another system rather than a human reader.OpenAI prompt guidePrefillingPrefillingPutting the first words of the model's answer in the prompt to force a format or skip preamble, for example starting the response with '{' to guarantee JSON output.Anthropic on prefillingGuardrailsGuardrailsExplicit constraints on what the model must not do (no medical advice, stay under 100 words, never invent a price). Stated as rules, they reduce off-policy and unsafe outputs.Prompting Guide

In Practice

Four ways prompting changes how PMs build and ship AI features

1

Writing the prompt is writing the spec

When an AI feature behaves wrongly, the cause is usually an underspecified prompt. The model is rarely at fault. Treat the prompt as the product spec. State the task, the audience, the format, the tone, and the things the model must never do. The precision you put in is the behaviour your users get out.

2

Shipping quality without touching the model

Model swaps and fine-tuning are slow and expensive. A prompt change is neither. When a failure mode shows up in production, your first move is almost always to reproduce it, fix the prompt, and re-test against your examples. Reach for heavier machinery only once prompting has run out of road.

3

Making outputs predictable enough to evaluate

You cannot measure quality you cannot reproduce. Structured prompting, with clear formatting, examples, and explicit constraints, narrows the spread of outputs so the same input gives a consistent answer. That consistency is the precondition for any meaningful eval suite.

4

Treating prompts as versioned product assets

A prompt that feels better can still regress edge cases you were not watching. Store prompts in version control, change one thing at a time, and test each version against a fixed set of inputs. When something breaks in production, you want to roll back to a known-good prompt rather than rewrite from memory.

Curated Resources

Videos

Key Takeaway

A prompt is the cheapest and fastest product lever you have. Write it like a spec, version it like code, and you can shape how an AI feature behaves without ever waiting on a model change.