{"categories":[{"label":"Git","url":"https://skillfed.io/packages/category/software-development-version-control-git"}],"enrichment":{"capability":"Lefthook is a Git hooks manager that installs and runs custom commands automatically before or after Git operations, supporting parallel execution across Node.js, Ruby, and other project types.","skillfed_tags":["git-automation","pre-commit","polyglot"],"use_cases":["Run linters and formatters automatically before commit to enforce code style across a team.","Execute tests before push to prevent broken code from reaching the repository.","Validate commit messages against a standard format before allowing commits.","Run security checks or dependency audits as part of the pre-commit workflow.","Coordinate multiple checks (lint, test, type-check) in parallel to speed up the commit process."],"what_it_does":"Lefthook is a Git hooks manager written in Go that runs as a single binary, installed via pip as a platform-specific wheel. It lets you define custom commands to run before or after Git operations (commit, push, etc.) in a YAML configuration file, then installs those hooks into your repository's `.git/hooks` directory. The manager supports parallel execution of commands and works across polyglot projects\u2014Node.js, Ruby, and others\u2014without requiring language-specific hook frameworks.\n\nYou configure hooks once in `lefthook.yml`, run `lefthook install`, and the hooks execute automatically on each Git operation. The package has no Python runtime dependencies; it's a thin wrapper around the Go binary, which handles all the hook management and execution logic. This makes it lightweight and portable across teams and CI environments.","worth_installing":"Yes, if you need a lightweight, language-agnostic Git hooks manager. Active maintenance, no runtime dependencies, permissive MIT license, and no known vulnerabilities make it low-risk. Medium install friction from platform-specific wheels is a minor trade-off for a single self-contained binary. Best suited for teams wanting to standardize pre-commit checks across polyglot codebases without heavyweight frameworks."},"id":"lefthook","links":{"html":"https://skillfed.io/packages/lefthook","md":"https://skillfed.io/packages/lefthook.md","pypi":"https://pypi.org/project/lefthook/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-08","license_spdx":"MIT","license_treatment":"permissive","name":"lefthook","python_support":"supports_current","summary":"Git hooks manager. Fast, powerful, simple."},"popularity":{"monthly_downloads":399753,"position":6944,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.10"}
