← Browse by Chapter
Get the Book →
#70Refactor commit
Here are failing tests for `[function name]` [paste test file or reference path]. Write the implementation that makes all tests pass. Don't modify the tests. If any test seems contradictory or impossible to satisfy, flag it — don't silently adjust the test or write dead code.

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