Prompt chains for a beginner workflow

Split a task at natural review points so the final answer can use checked intermediate work.

Find a point where one result can be checked

For a reading-list review, first extract each title and source location. Then compare the extracted entries with the requested style. The first step needs source fidelity. The second needs formatting and editorial judgment. Anthropic describes prompt chaining as assigning different subtasks to successive model calls, with the opportunity to check each stage. A person can use the same pattern across short requests in a chat. 1

Specify what carries forward

Ask for an intermediate table with IDs and evidence, then explicitly use that table in the next request. Keep the required context for the current step close at hand. The chain should preserve the evidence needed for the final output, rather than expecting the next step to reconstruct where every title came from. Clear prompt language and focused context help you make each stage reviewable. 2 3

Decide whether the added stage pays off

Try the task as both one brief and a two-stage sequence. Compare how easy it is to spot a wrong extraction and how much effort the extra step takes. If the source is three rows and decisions are simple, one prompt may be sufficient. Add the checkpoint when an early mistake would otherwise get copied into several parts of the result.

Keep the extracted title and proposed edited title in separate fields so formatting never replaces the evidence from the source.

Sources

  1. Anthropic’s guide to building effective agents
  2. Anthropic prompting best practices
  3. Anthropic’s context engineering article