The Operator's Library · No. 02
For anyone whose work runs through a prompt window
Prompting
Like a Pro.

A handbook on the underrated craft layer. Five components, six anti-patterns, and the prompts professionals actually use. No hacks, no incantations — just the principles that make outputs reliably good.

Prompting Like a ProContents & Introduction
Contents & Introduction

The craft underneath the magic.


Prompting is not a vibe. It is the practice of writing a brief that an extremely capable, slightly forgetful intern can execute reliably. Once you see prompts as briefs, everything that follows is just being a good manager — in writing.

Contents.

01Why prompting is craftThe five-component anatomy every reliable prompt shares.p. 03
02Role and contextSet the stage before you set the task.p. 04
03Task and formatTell the model what to do and what shape to do it in.p. 05
04Examples (few-shot)Two examples beat ten adjectives. When, how many, and which ones.p. 06
05Six anti-patternsThings that look like good prompts and quietly aren't.p. 07
§Twelve prompt recipes & colophonp. 08

Three principles.

  1. A prompt is a brief, not a riddle. Clear, structured, specific. Hidden tricks are not the craft — clarity is.
  2. Show, don't just tell. One good example outperforms ten sentences of description. Examples are free; use them.
  3. Iterate cheaply. Get a first output fast, then close the gap with targeted edits. Five small revisions beat one heroic prompt.

If you wouldn't hand this prompt to a thoughtful new hire and expect a good first draft, the model won't give you one either. Fix the brief.

02Contents
Ch. 01 · The five-component anatomyPrompting Like a Pro
01
Chapter One

The five-component anatomy.


Every reliable prompt has five sections. Skipping one is the single most common cause of "the model didn't do what I wanted." Get the anatomy right and 80% of prompt problems disappear.

A prompt, anatomically
01 · ROLEwho the AI is 02 · CONTEXTfacts & setting 03 · TASKwhat to do 04 · FORMAToutput shape 05 · EX.show me

The five in plain English.

01 · Role. Who is the AI playing? "You are a careful copy editor." "You are a senior infrastructure engineer reviewing this for risk." The role sets vocabulary, depth, and stance.

02 · Context. What does the model need to know? The brand voice. The customer. The previous email. Paste it in; don't gesture at it.

03 · Task. One sentence. What you want the model to do. Verbs at the front: summarise, draft, classify, extract.

04 · Format. What should the output look like? Markdown? JSON with these fields? Three bullets? A 200-word paragraph? Be precise.

05 · Examples (optional but powerful). One or two filled-in examples of input → output. Pulls the model toward your taste faster than any adjective.

A weak prompt vs. a strong one.

Weak: "Write a follow-up email to this lead."
Strong:
## Role You are a friendly, concise B2B sales assistant. ## Context Lead: Jane Doe, Head of Ops at Acme. Last touch: demo on Tues; she said budget cycle starts in April. Our positioning: ROI within 90 days. ## Task Draft a follow-up email. Reference the demo specifically. ## Format Subject line + 4 short paragraphs + 1 CTA. Max 150 words. ## Example [one good prior email pasted here]

Same model. Same lead. Wildly different outputs. The model didn't change; the brief did.

Right now

Take a prompt you used today. Mark which of the five components you included. Add the missing ones. Run again. The difference is the chapter.

03Chapter 01
Ch. 02 · Role and contextPrompting Like a Pro
02
Chapter Two

Role and context. The stage before the task.


Most operators jump to the task and starve the model of the two things that most determine quality — who it is and what it knows. Spend the first third of the prompt here, even when it feels like throat-clearing.

Role — three principles.

01 · Specific beats grand. "Senior product designer with 10 years in fintech, careful about accessibility" beats "world-class expert." Specificity narrows vocabulary and stance.

02 · Stance, not just title. "Skeptical reviewer who pushes back on weak claims" gives you a different output than "summariser." Decide what you want the model's posture to be.

03 · One role per prompt. Asking the model to be "a marketer and a lawyer and a designer" produces mush. If you need three perspectives, run three prompts.

Sample roles, by stance.

  • Critic: "Senior editor reviewing this for clarity and overreach."
  • Coach: "Patient mentor explaining concepts to a smart beginner."
  • Drafter: "Confident copywriter producing a first draft in our voice."
  • Extractor: "Careful analyst extracting structured data from messy text."

Context — what to include.

Anything the model needs but doesn't have. Most "the AI doesn't get our business" complaints are missing-context complaints.

  • Source material. The doc to summarise. The thread to reply to. Paste it, don't summarise it.
  • Background. Who the audience is. What the project is. What's been tried.
  • Constraints. Word counts, tone, banned words, must-include phrases.
  • Style references. "Match the voice of this example." Three sentences of style sample beat three pages of style description.
Watch out

More context isn't always better. Past ~80% of the context window, models start losing track of details in the middle ("lost in the middle"). For long inputs, summarise non-essential context — keep the essential verbatim.

The three questions.

Before sending, ask: (1) Does the model know who it is? (2) Does it know what it needs to know? (3) Does it know what's NOT in scope? If any answer is no, you'll be re-prompting.

Habit

Always write the role and context first; the task last. Reverse the order most beginners use. Output quality climbs noticeably the first week you try it.

04Chapter 02
Ch. 03 · Task and formatPrompting Like a Pro
03
Chapter Three

Task and format. What and what shape.


A vague task gets a vague output. A precise task with a precise format gets, surprisingly often, exactly what you wanted. The model is more obedient than its critics admit — when the brief is real.

Task — write it as a verb chain.

Lead with the verb. Chain dependent steps with "then." Each step is a single, checkable thing.

Weak: "Help me with this email."
Strong: "Read the lead's message. Identify their top concern. Draft a reply that addresses the concern and proposes a 15-min call."

Chain-of-thought, when to ask for it.

For reasoning-heavy tasks (math, multi-step logic, classification with judgement), asking "think step by step before answering" measurably improves output. The thinking is exposed, which also helps you debug.

For drafting, summarising, and other language-shaped tasks, it's usually unnecessary noise. Use deliberately.

Decomposition — the harder lever.

If a task feels like it needs five things to be true at once, split it. Three short prompts beat one heroic prompt. Each can be reviewed, fixed, and chained (BPA Ch. 11).

Format — the contract with the next step.

Specify the shape with the same care you'd give a database schema. Examples:

Markdown: "Reply with: a 1-sentence headline, then 3 bullet points, then 1 question."
JSON: "Return only valid JSON in this schema: { priority, owner, next_action }."
Table: "Return a markdown table with columns: name, role, risk, recommendation."
Voice: "Conversational, contraction-friendly. Sentences under 18 words. No exclamation marks."

Negative constraints.

Sometimes the format is what to not do: "No emoji. No marketing speak. Don't start with 'In today's fast-paced world.'" The model takes specific bans seriously when stated explicitly.

Treat format as a contract. The model honours contracts more than it honours pleas.

Tonight

For one prompt you'll run tomorrow, write its output schema before the task. Five fields, named. Then write a one-row example. Send. Compare to last week's output on the same task.

05Chapter 03
Ch. 04 · Examples (few-shot)Prompting Like a Pro
04
Chapter Four

Examples (few-shot). The shortcut to your taste.


If the model keeps drifting from what you want, stop describing what you want and start showing it. Two good examples are worth a page of style notes. This is the single highest-leverage technique in the handbook.

How many examples.

Zero-shot — just the task. Use when the model has clearly seen this pattern in training (summarise this article).

One-shot — one input/output example. Use when you have a specific format or voice that's not the default.

Few-shot (2–5) — multiple examples. Use when the task is judgement-y (classification with ambiguous categories, copy in a particular brand voice). Diminishing returns past 5 for most tasks.

Picking examples — three rules.

  1. Cover the variety. Don't show three near-identical examples. Show the easy case, the edge case, and the hostile case.
  2. Show the format, exactly. If you want JSON, the examples are JSON. If you want 3 bullets, the examples have 3 bullets. Format drifts toward the examples.
  3. Pick examples you'd ship. The model copies tone, length, sharpness. Mediocre examples produce mediocre outputs.

An example of examples.

# task: classify support tickets Example 1 Input: "My card was charged twice for the same order" Output: "billing · high · refund-team" Example 2 Input: "How do I export my data?" Output: "how-to · low · self-serve" Example 3 Input: "Why is the dashboard so slow today?" Output: "bug · medium · eng-on-call" Now classify: Input: "I want to cancel my account" Output:

The model picks up the format (slash-separated triple), the vocabulary (specific team names), and the implicit rubric — without you ever defining "high" vs "medium." That's the power.

Watch out

If your examples are inconsistent (different shapes, different tones), the model averages them and you get muddy output. Examples teach by pattern; pattern requires consistency.

Build a snippet library

For each recurring task, save your best 2–3 examples in a snippet doc. Reuse them. Edit them as the work evolves. Your "prompt library" is really an example library.

06Chapter 04
Ch. 05 · Six anti-patternsPrompting Like a Pro
05
Chapter Five

Six anti-patterns. Things that look like prompting and aren't.


If your outputs are disappointing, the answer is almost always in this list. None of these are exotic — they're the same six mistakes everyone makes the first month. The fix in each case is small.

A·01 · MAGIC WORDS

"Act as an expert."

"World-class." "10x." "Genius." These adjectives don't condition the model toward better work; they condition it toward more confident-sounding work — which is worse when wrong.

Fix: specific role, specific stance. Skip the superlatives.

A·02 · OVER-CONSTRAINT

17 rules, contradictory.

"Be concise. Be thorough. Use active voice. Match this 400-word reference. Don't be too formal. Don't be too casual. Cite sources." The model averages them and you get mush.

Fix: 3–5 constraints max. Rank if conflicts are possible.

A·03 · POLITE FOG

"Could you maybe try to…"

Vague modal verbs ("maybe," "perhaps," "try to") read as optional to the model. Polite is fine; soft is not. Be courteous and direct in the same sentence.

Fix: imperative verbs. "Draft. Extract. Classify."

A·04 · NO FORMAT

"Write me something about…"

No length, no shape, no audience. You get an essay you didn't want. The model will fill any vacuum you leave; leave fewer.

Fix: name length, audience, and structure. Always.

A·05 · BURIED ASK

The real task is in paragraph four.

Long preambles dilute the signal. Models pay disproportionate attention to the first and last parts of a prompt; the middle is more easily ignored.

Fix: state the task at the top and again at the bottom. Yes, repeat it.

A·06 · NO ITERATION

Expecting one-shot perfection.

You sent one prompt. Output was mediocre. You concluded the model is bad. You stopped. The pros expect 2–4 short iterations to land a tricky task. Beginners send one prompt and despair.

Fix: budget for iteration. "First pass, then I'll edit." Sometimes the edit is the work.

There is no secret prompt. There is a clear brief, given to a capable intern, with two examples and a willingness to iterate twice. That's the whole craft.

07Anti-patterns
Reference · Recipes & colophonPrompting Like a Pro
Reference

Twelve prompt recipes worth memorising.


Patterns, not magic strings. Each one is a fill-in-the-blanks template that fits the five-component anatomy. Mix and match.

R·01
Critique then improve. "Critique this draft as a senior editor. Then rewrite it addressing every critique."
R·02
Three options. "Give me three distinct directions for this. Brief reason for each. Don't recommend yet."
R·03
Extract to schema. "Extract from the email: { sender, ask, urgency, owner }. JSON only."
R·04
Classify with rubric. "Classify as high / medium / low. High = customer pays. Medium = team blocked. Low = anything else."
R·05
Voice match. "Match the voice of the example below. Same sentence rhythm, same level of formality."
R·06
Adversarial review. "Steel-man the strongest objections a skeptical CFO would raise to this plan."
R·07
Pre-mortem. "Assume this launch failed. Generate the 5 most likely reasons, ranked by probability."
R·08
ELI-an-operator. "Explain this technical concept to a non-technical founder. 200 words. One concrete example."
R·09
Translate & localise. "Translate to Spanish for a Mexico City audience. Idiomatic, not literal."
R·10
Bullet → paragraph. "Expand these bullets into a flowing 250-word paragraph. Preserve every claim; add no new ones."
R·11
Paragraph → bullets. "Compress this into 5 bullets, each ≤15 words. Preserve the main argument."
R·12
Source-locked summary. "Summarise the attached doc in 200 words. Cite the line every claim comes from."
Colophon

Prompting Like a Pro · The Operator's Library · No. 02. Read No. 03 — Working with Claude — for the surface-level craft of applying these prompts in the actual product.

Write the brief. Ship the work. Iterate twice. That's the loop.

— END · OPERATOR'S LIBRARY NO. 02

08Recipes