# Lefthook Git Hooks Manager

> Lefthook is a fast, dependency-free Git hooks manager written in Go that runs pre-commit, pre-push, and custom hook commands in parallel. It integrates with Node.js, Ruby, Python, and any other project type through a simple YAML configuration.

- Skill: `agentskillexchange/lefthook-git-hooks-manager` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/lefthook-git-hooks-manager`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/lefthook-git-hooks-manager/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/lefthook-git-hooks-manager

---


# Lefthook Git Hooks Manager

Lefthook is a fast, dependency-free Git hooks manager written in Go that runs pre-commit, pre-push, and custom hook commands in parallel. It integrates with Node.js, Ruby, Python, and any other project type through a simple YAML configuration.

## Installation

Use the upstream install or setup path that matches your environment:
- go install github.com/evilmartians/lefthook/v2@v2.1.6
- npm install lefthook --save-dev
- gem install lefthook
- pipx install lefthook

Requirements and caveats from upstream:
- A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
- For **Python**:
- ### **Support Docker**

Basic usage or getting-started notes:
- **Fast.** It is written in Go. Can run commands in parallel.
- With **Go** (>= 1.26):
- bash

- Source: https://github.com/evilmartians/lefthook
- Extracted from upstream docs: https://raw.githubusercontent.com/evilmartians/lefthook/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/lefthook-git-hooks-manager/)

