The 5 techniques the Prompt Improver applies

Role, examples, chain of thought, structure, refinement — when to use each, with a one-line example.

Five numbered cards: 1 Role assignment with example 'You are a senior security reviewer'. 2 Few-shot examples with input/output pairs. 3 Chain of thought with 'Think step by step' tag. 4 Structured output with JSON schema example. 5 Iterative refinement: draft, critique, revise.
Figure: 5 prompt engineering techniques. SVG is CC BY 4.0 — credit prompt-improver-indol.vercel.app.

Quick rule

Stack techniques additively. Most production prompts use 1 + 4 (role + structured output). Add 3 (chain of thought) when reasoning matters, and 5 (iterative refinement) only when one-shot underperforms in eval.

Auto-apply these to my prompt →

Image license: CC BY 4.0. Embed via <img> or download and re-host with attribution.

🔥 Tonight: Claude Code Power Prompts · £5 £3 first 10Get PDF →