AI AGENT ADDONS

Block No Verify Hook

wshobson/agents
Git & Pull Requests
4,063installs

AI coding agents can accidentally skip important safety checks when they commit code. They might use flags like --no-verify to bypass pre-commit hooks. That means linting, formatting, and security tests are ignored.

This hook stops those bypass flags before the command runs. It checks every bash command for dangerous patterns. If found, it rejects the command and shows a clear message explaining why.

Teams using Claude Code can enforce commit quality gates with this setup. Every commit must go through pre-commit hooks. Code stays clean, tested, and secure.

Add Block No Verify Hook skill to your workflow

Global

mkdir -p ~/.claude/skills/block-no-verify-hook

Project

mkdir -p .claude/skills/block-no-verify-hook

Source Repository

Stars
37,285
Forks
4,009
Watchers
37,285
License
MIT
Last Push
1 month ago
Created
1 year ago