Skip to content

Patterns

Patterns are reusable techniques for getting better results from AI. They’re not tools themselves, but ways of structuring prompts, workflows, and interactions.

  • The task is ambiguous or open-ended
  • A single prompt isn’t reliable enough
  • You need confidence beyond “it returned something”
  • You’re building a skill or workflow others will reuse
  • You correct the same kind of output repeatedly (Correction Diagnosis)
Symptom Read
Fixing output takes longer than writing it Delegation Fit
Same correction, again and again Correction Diagnosis
Wrong format or style Few-Shot Examples, Structured Output
Plausible code that does not run Verification Loops
Diffs too large to review Reviewable Output
Solved the wrong problem Problem Before Prescription, the Delegation Fit brief; long runs: Spec, Then Build
Long run drifts or loses the thread Context Handoff, Progress Breadcrumbs
Agent took an irreversible action unasked Checkpoint Gates
Shallow answers on hard steps Chain of Thought, Step-Level Routing
Confident answers about your own data that are wrong RAG
A prompt change broke something that worked Prompt Regression Testing

More symptoms, each linked to its fix: Anti-patterns

How to structure what you ask.

How to gain confidence in output.

How to set up and carry agent work

  • Checkpoint Gates: Block irreversible actions until a human clears a one-step decision
  • Context Handoff: Carry a run across compactions and sessions with a written handoff
  • Delegation Fit: Decide per task whether to delegate, pair, or write by hand
  • Progress Breadcrumbs: Record progress on a shared work board, not in the chat
  • Spec, Then Build: Agree a written spec and reviewed plan before execution
  • Unattended Runs: Launch an agent for hours with a stop condition and abort criteria

How to structure complex work.

How systems improve through use.