Skip to content
#8 High

The Fire-and-Forget

Skipping verification after every Claude change

! 55% of teams lack verification hooks

Trusting Claude's changes without running tests, linting, or type checking. Claude says "I fixed it" but the code doesn't compile, tests fail, or the fix introduces a regression. 55% of teams haven't configured any verification hooks.

DON'T Trust Claude, skip verification
# Claude says it fixed the bug
"color:#7C5CFC">claude -p "Fix the payment processing bug"
# "Done! I've fixed the bug in payment.ts"

# You commit without checking:
"color:#7C5CFC">git add -A && "color:#7C5CFC">git commit -m "fix: payment bug"
"color:#7C5CFC">git push

# CI fails. Payment.ts doesn't even compile.
# Claude forgot to import a dependency.
DO Always verify with hooks or manual checks
# Hook: auto-run tests after every edit
{
  "hooks": {
    "PostToolUse": [{
      "matcher": "Edit|Write",
      "hooks": [{
        "type": "command",
        "command": "">npm test ">--silent 2>&1 | ">tail -5"
      }]
    }]
  }
}

# Or verify manually in CLAUDE.md:
# After EVERY change, run:
# 1. npx tsc --noEmit
# 2. npm test
# 3. npm run lint

Sources

Anthropic Hooks Documentation Community Survey

Related Recipes