Shipped fast with AI and have no tests? 10 prompts and tools to catch real bugs before your users do
From my post on Nov 16, 2026. Here's the full pack, ready to copy.
Characterization Testing (Michael Feathers)
The idea behind this pack, from the author of Working Effectively with Legacy Code: before you change code, write tests that record what it does today, not what you think it should do. Paste into Claude Code or Codex: "Write characterization tests for <function> that pin down what it returns today for normal, empty and odd inputs. Don't edit any source file. If a result looks like a bug, keep the assertion on the current behaviour and add a TODO comment." You get back new test files only, with TODOs where the code looks wrong; check the diff to confirm no source file changed.
FreeClaude Code docs: Common workflows, Work with tests
Anthropic's official recipes for testing uncovered code in the project's existing style and asking for edge cases like errors, boundary values and unexpected input. Our stricter version comes in two steps. First: "Find the 5 riskiest functions with no tests (auth, payments, parsing and data writes first) and explain what would break. Don't write tests yet." You get a short list with the reason for each. Then: "List the edge cases for <function>, wait for my OK, then test each one."
FreeBest practices for Claude Code (official docs)
Explains why an agent needs a check it can run, and how to enforce must-have rules with hooks instead of prompts. For every bug, type: "Write a failing test that reproduces this bug, run it and show me it fails. Then fix the code and show the same test passes." You see the test fail, then pass after the fix; in the diff, the test should fail without the fix.
Free
Unlock the full list + get the AI brief.
One email, and the whole free library opens on this device. Unsubscribe anytime.
Want the next one?
I post a new collection every week. Follow so you don't miss it.