configuring-lefthook

Community

Automate Git hooks with Lefthook.

Authorlucasilverentand
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lefthook automates git hooks (pre-commit, pre-push, and others) to run linting, formatting, tests, and validation checks, ensuring code quality before changes enter the repository.

Core Features & Use Cases

  • Automates common git hooks (pre-commit, pre-push, commit-msg) to run linting, formatting, tests, and custom scripts.
  • Enforces consistent code quality across teams by executing checks automatically during git operations.
  • Use cases include integrating with CI, standardizing local development workflows, and preventing common git mistakes.

Quick Start

Install Lefthook via npm, Homebrew, or devenv. Create a lefthook.yml that defines hooks (pre-commit, pre-push, etc.) with commands for linting, formatting, and testing. Run lefthook install to activate hooks and verify by performing a sample commit.

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: configuring-lefthook
Download link: https://github.com/lucasilverentand/skills/archive/main.zip#configuring-lefthook

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 223,000+ vetted skills library on demand.