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.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论