← Browse by Chapter
Get the Book →
#113Chapter 21 — TDD with Claude Code
Refactor [module] toward [goal], one step at a time. Make only the next step, the smallest one that moves toward the goal. Do not change any test. Run the tests, show me the diff and the result, and stop. I will ask for the next step.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.