Tiny Test-First Loop — Claude Code Checklist

Invalid Date

Tiny Test-First Loop — Claude Code Checklist

Here’s the full resource, ready to copy and use. No email gate. Use it today.

Download the file

What this is

A tiny checklist you can use every time you ask Claude Code to change code. It keeps the model honest by forcing a real failing test before the patch.

The 4-step loop

  • Goal — Write 1 sentence: what should be true?
  • Failing test — Add the smallest test that fails for the right reason.
  • Smallest patch — Change the minimum code to make the test pass.
  • Verify — Run tests + one quick manual check.

Copy-paste prompt

Before you change code, list the exact files you will touch.
Then write ONE failing test that proves the bug.
Then make the smallest patch to pass the test.
Do not refactor.

By Steve Merrill · @merrills · WRKNG Digital

Back to Blog