Prompt Engineering

Lessons in this group, roughly in build order:

  • be-specific-in-what-you-want — Specificity is the practice of replacing vague intent with explicit task, audience, constraints, and…
  • provide-additional-context — Context engineering is supplying the facts, examples, and constraints a model needs at inference time so…
  • specify-length-format-etc — Output shaping is constraining the form of a response — length, structure, schema, tone — so it can be…
  • iterate-and-test-your-prompts — Prompt iteration is treating a prompt as code under test: version it, run it against a fixed example set,…
  • chain-of-thought-cot — Chain of Thought is prompting a model to emit intermediate reasoning steps before its final answer,…
  • react-reason-act — ReAct is a prompting pattern that interleaves reasoning traces with tool actions, letting a model think,…