From 812afbd95436ff330653d969191ba55c2eb6bf40 Mon Sep 17 00:00:00 2001 From: Ofek Gabay <61761153+tupe12334@users.noreply.github.com> Date: Fri, 20 Mar 2026 03:08:36 +0700 Subject: [PATCH] feat: add block-no-verify PreToolUse hook to .claude/settings.json Prevents agents from bypassing git hooks via the hook-skip flag. --- .claude/settings.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index d7e294d47926..8ab2d5ed85d4 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -35,5 +35,18 @@ "Bash(fastlane release *)", "Bash(fastlane deliver *)" ] + }, + "hooks": { + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "npx block-no-verify@1.1.2" + } + ] + } + ] } }