Hook

Marathon Checkpoint

Force verification every 15 edits to prevent drift.

安裝

manual
add to ~/.claude/settings.json hooks.PostToolUse

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

PostToolUse counter on Edit/Write. After 15 edits without a verification step, surfaces a reminder requiring lint/test run before continuing.

常見使用情境

  • Long sessions drift off
  • Catch silent regressions
  • Force commit cadence

標籤

processqualityautomation