Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Block No Verify

Plugin Verifiziert Aktiv

PreToolUse hook that prevents AI agents from using --no-verify, --no-gpg-sign, and other bypass flags that skip git hooks

1 Skill 0 MCPs
Zweck

To prevent AI agents from bypassing critical git hooks and ensure code quality and security standards are maintained during commits.

Funktionen

  • Blocks git bypass flags (--no-verify, --no-gpg-sign)
  • Configures a PreToolUse hook for bash commands
  • Supports per-project and global configuration
  • Provides clear error messages upon blocking
  • Extensible to block additional flags

Anwendungsfälle

  • Ensuring pre-commit hooks run automatically for all commits
  • Preventing AI agents from submitting unformatted or insecure code
  • Enforcing GPG signing policies on all commits
  • Setting up a security baseline for AI-assisted development workflows

Nicht-Ziele

  • Implementing specific pre-commit hook logic
  • Managing git configurations beyond blocking bypass flags
  • Scanning code for vulnerabilities (this is the responsibility of the pre-commit hooks themselves)

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add wshobson/agents
/plugin install block-no-verify@claude-code-workflows

Qualitätspunktzahl

Verifiziert
95 /100
Analysiert 2 days ago

Vertrauenssignale

Letzter Commit4 days ago
Sterne35.3k
LizenzMIT
Status
Quellcode ansehen