pre-commit
Some data may be outdated — see provenance labels.
A framework for managing and maintaining multi-language pre-commit hooks. observed · 2026-09-25
Health v2 · maintenance only
88/100
- Activity 90
- Release rhythm 78
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 74.0
- age_days: 4605
- days_rel: 71
- days_push: 64
- n_releases_24m: 9
Adoption not part of the score
15593 stars · 1011 forks observed · 2026-09-25
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pre-commit is a framework for managing and maintaining multi-language Git pre-commit hooks. It automatically installs and runs hooks written in any language before each commit, catching issues like formatting errors and debug statements before code review.
Use cases
- run linters automatically before every git commit
- share linting hooks across multiple projects
- use linters written in other languages without installing their toolchains
- check for trailing whitespace and missing semicolons on commit
- enforce code style checks before code review
- manage pre-commit hook dependencies without root access
When to choose
- you want consistent automated checks on every commit across a team
- your project uses linters written in multiple languages
- you want to share hook configurations across many repositories
- you want to catch trivial style issues before human review
When to avoid
- you only need a CI pipeline check without local git hooks
- your team commits infrequently and hooks would slow the workflow
- you need hooks for non-git version control systems
Facets
framework · maturity stable
linter developer-tools cli code-review formatter developer-tools version-control python cross-platform cli git-hooks pre-commit-hooks code-quality multi-language linting command-line automation
5 sources
- readme: https://github.com/pre-commit/pre-commit · fetched 2026-09-25 · e247ace0ab84
- homepage: https://pre-commit.com · fetched 2026-10-19 · ab680fae1d5e
- registry_pypi: https://pypi.org/pypi/pre-commit/json · fetched 2026-10-19 · 64485160ccb5
- registry_pypi: https://pypi.org/pypi/pre-commit-hooks/json · fetched 2026-10-19 · 3377edd81869
- site_page: https://pre-commit.com/index.html · fetched 2026-10-19 · ab680fae1d5e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pre-commit/pre-commit | main | 88 |
| pre-commit/pre-commit-hooks | plugin | 63 |
| pre-commit/mirrors-mypy | plugin | 72 |
| pre-commit/pre-commit.com | docs | 75 |
| pre-commit/mirrors-prettier | plugin | 10 |
| pre-commit/demo-repo | examples | 32 |
| pre-commit/mirrors-eslint | plugin | 75 |
| pre-commit/mirrors-clang-format | plugin | 75 |
For agents
markdown · JSON · MCP: product_card(name="pre-commit/pre-commit")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem