← All notes

Prompting strategies that actually work

A practical checklist: structure, formatting, few-shot examples, chain-of-thought and grounding.

Structure every prompt in three parts

  1. System — persona and rules (“You are a precise technical writer. Answer only from the context.”).
  2. User — the concrete request.
  3. Context — the source material to ground the answer.

Keeping these separate makes prompts predictable and easy to iterate on.

High-leverage techniques

Anti-patterns to avoid

A quick checklist

If an answer is bad, the fix is usually better context or a clearer format, not a longer question.