Koda Dojo
· Claude Code

Module 10: Common Mistakes and Anti-patterns

The operator loop, in place of the nine mistakes that silently cap everyone's results: scoped asks, verified output, corrected behavior, codified lessons.

Lessons

  1. One ask, one diff. Predict which of three asks lands as a diff nobody can review, send them, then cut the kitchen-sink ask down to one task with a check.
  2. Put the CLAUDE.md on trial. Eight rules that load every session. Cut the ones no diff could break, then run a session against the file.
  3. Context is a budget. Seven moves in one afternoon. Keep each, do it leaner, or /clear first, then run the afternoon and watch the window.
  4. Prove it before done. A try-out of the prompt, then Claude says it should work now. Run the one check that matters, collect the missing evidence, then write the rule.
  5. The recovery contract. The renewal job runs at 2am. Write its contract clause by clause, then run it against tonight's failure.
  6. Fresh check. An invented case: a change that compiles and passes the linter, and still returns the wrong number. Your first result is kept.

What you take away

  • Run the operator loop: scoped ask, verified output, corrected behavior, codified lesson; it compounds while the amateur loop stays flat
  • Every CLAUDE.md line must be falsifiable; wishes cost context on every request and govern nothing
  • Paste raw evidence, never summaries: your description of an error deletes exactly the details that make diagnosis deterministic
  • Done means demonstrated: an executed flow with visible output, not a compiling diff and an optimistic claim
  • Automate the verifiable, assist the judgment calls, and write recovery contracts before workflows fail instead of after

Field exercises

  • Put Your CLAUDE.md on Trial for Vagueness
  • Debug From Raw Evidence, Never From a Summary
  • Kill the Kitchen-Sink Prompt
  • Audit Your Context Window Like a P&L
  • Plan Before Multi-File Surgery
  • Refuse Unverified "Done": Run the Prove-It Ritual
  • Write a Recovery Contract for a Workflow That Bites
  • Find Your Over-Automation Line Before It Finds You
  • Review the PR Beyond the Diff

All fifteen modules of the Claude Code Dojo