← Prompt Engineering That Pays

Lesson 3 — Chaining and Decomposition

When one prompt has to be right about five things at once, it will be mediocre at all five.

♪ Download audio Prefer to listen? Take this lesson on the commute.
  • Decompose any task where the steps have different definitions of success.
  • Define the exact output shape of each step so the next step has a stable contract.
  • Use the extract, decide, write, check chain; the decide step is the one people skip.
  • Do not chain single-criterion tasks; the handoff cost outweighs the benefit.

Loading the quiz…

← Previous