feat: add block-no-verify PreToolUse hook to .claude/settings.json

Prevents agents from bypassing git hooks via the hook-skip flag.
This commit is contained in:
Ofek Gabay 2026-03-20 04:26:26 +07:00
parent 2ebe3848d6
commit 4781a7bbc1

View file

@ -10,6 +10,17 @@
}
]
}
],
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "npx block-no-verify@1.1.2"
}
]
}
]
}
}