What problem does it solve?
Git hooks management with Lefthook. Use when writing or reviewing git hook configuration for Go projects, polyglot repos, or any project where Node.js is not already in the toolchain. Also trigger on mentions of 'lefthook', 'lefthook.yml', 'lefthook install', parallel git hooks, or when the user asks which git hooks tool to use (husky vs lefthook). For Node.js/Bun projects that already have a JS runtime, see the husky skill instead.
Core Features & Use Cases
- Declarative YAML-based hook definitions (pre-commit, pre-push, etc.)
- Parallel execution by default and monorepo root support
- Go/vet/lint integration and language-agnostic tooling
- Use Case: In a Go monorepo, run format, vet, and lint across modules in parallel.
Quick Start
Install Lefthook and run lefthook install in your project to enable fast, parallel git hooks.