Manuals / Prompt Engineering / Chapter 6

B · Patterns · intermediate · ~40 min · Chapter 6 of 12

Decompose, rubric, chain-of-thought

Complex tasks fail in one shot. Outline → draft → critique → revise. Score outputs with rubrics. Ask models to think step-by-step for reasoning tasks.

Path progress
46%

Step 1 of 2

Build a rubric

Criteria with 1–5 scores: accuracy, completeness, clarity, actionability. Improve the prompt until scores rise.

Build a rubricDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Build a rubricdrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Do this now

Code-review prompt + rubric. Score 3 outputs. Iterate once.

Was this step clear?
Chapter learning outcomes
  • Task decomposition
  • Rubrics
  • Chain-of-thought

Clear these before you leave

Side quest

Template library

3 reusable prompts: summarize, critique, plan.