Claude Code hooks: reject a broken JSON write before it lands
Build and test a PreToolUse hook that rejects malformed JSON from Claude Code’s Write tool, with explicit limits and a safe scratch-project test.
评论
?
参与讨论
Build and test a PreToolUse hook that rejects malformed JSON from Claude Code’s Write tool, with explicit limits and a safe scratch-project test.