home/categories/code-quality/wshobson-agents-plugins-block-no-verify-skills-block-no-verify-hook-skill-md
code-qualitytesting-security

block-no-verify-hook

Configure a PreToolUse hook to prevent AI agents from skipping git pre-commit hooks with --no-verify and other bypass flags. Use when setting up Claude Code projects that enforce commit quality gates.

wshobson
maintainer
wshobson
更新于 4/5/2026
星标
33377
分支
3622
quick start

Installation and usage

Configure a PreToolUse hook to prevent AI agents from skipping git pre-commit hooks with --no-verify and other bypass flags. Use when setting up Claude Code projects that enforce commit quality gates.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use block-no-verify-hook