lefthook-bypass-guard

Official

Guard against Lefthook bypass during commits.

Authorblock
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lefthook bypass-guard helps prevent risky development practices by discouraging or blocking commands that bypass Lefthook hooks configured in Lefthook.yml. Pre-commit hooks (formatting, lint, ruff, buf-lint) and pre-push hooks (typecheck, golangci-lint) catch real problems; bypassing them shifts the failure to CI and produces noisier PRs.

Core Features & Use Cases

  • Enforce awareness when attempting to bypass Lefthook hooks during commits or pushes.
  • Provide guidance to fix the underlying hook configuration or environment issues.
  • Use case: when a developer tries to bypass hooks via git commit --no-verify, the guard prompts correction and preserves pipeline quality.

Quick Start

Enable lefthook-bypass-guard in your repository to warn on any bypass attempt of Lefthook during git operations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lefthook-bypass-guard
Download link: https://github.com/block/proto-fleet/archive/main.zip#lefthook-bypass-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.