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.
To ensure commit quality gates are enforced by preventing AI agents from skipping pre-commit hooks via bypass flags like `--no-verify`.
功能
- Blocks git commit bypass flags (--no-verify, --no-gpg-sign)
- Integrates as a PreToolUse hook in Claude Code
- Provides clear error messages when bypass flags are detected
- Configurable to block additional flags
使用场景
- Setting up Claude Code projects that enforce commit quality gates
- Preventing unformatted or untested code from entering a repository via AI agents
- Ensuring all commits are GPG signed when required by project policy
非目标
- Implementing custom pre-commit hook logic
- Directly running git commands
- Enforcing commit message content or style
安装
请先添加 Marketplace
/plugin marketplace add wshobson/agents/plugin install block-no-verify@claude-code-workflows质量评分
已验证类似扩展
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Using Git Worktrees
100在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。
Context Mode Ops
100使用并行子代理军队管理 context-mode GitHub 问题、PR、发布和营销。为每个任务编排 10-20 个动态代理。在分类问题、审查 PR、发布版本、撰写 LinkedIn 帖子、宣布发布、修复错误、合并贡献、验证 ENV 变量、测试适配器或同步分支时使用。
Safe Mode
100Prevent destructive operations using Claude Code hooks. Three modes — cautious (warn on dangerous commands), lockdown (restrict edits to one directory), and clear (remove restrictions). Uses PreToolUse matchers for Bash, Edit, and Write.
Trader Regime
100Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy
Setup
100Use first for install/update routing — sends setup, doctor, or MCP requests to the correct OMC setup flow