#2121st of 43 in Code review and testing
prek
Rust reimplementation of pre-commit that runs Git hooks from a single binary
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 8.8k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Rust
Missed the latest GitHub check; these facts may be older.
Overview
prek runs hooks such as formatters, linters and secret scanners before commit, on demand, or in CI, and installs the toolchains those hooks need. It reads existing pre-commit YAML configs as a drop-in replacement and also supports a native prek.toml. It is not an AI tool itself, though the README mentions an installable skill so agents can use it.
Who it is for: Developers replacing pre-commit with a faster hook runner locally and in CI
Strengths
- Single Rust binary, no Python or other runtime required
- Reads existing pre-commit configs and hooks without changes
- Workspace mode for monorepos with concurrent runs of independent projects
- Uses uv for Python environments and shares toolchains across hooks
Weaknesses
- Not AI-specific; it is a general hook runner, so it fits this list loosely
- Built-in Rust hooks cover only some common hooks, not the full pre-commit ecosystem
- Building from source needs Rust 1.97 or newer
- Native prek.toml config is not portable to the original pre-commit
What it needs
- no GPU
- Docker
Also in Code review and testing
See all 43| Rank | Project | Score |
|---|---|---|
| 1 | playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit | 94 out of 100 |
| 2 | nxMonorepo build system with task caching, affected-only runs and CI integration | 93 out of 100 |
| 3 | open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments | 92 out of 100 |
| #4 | bendDependent-typed language where AI-written code must prove rules in LAWS.bend | 88 out of 100 |
| #5 | maestroYAML-based UI and end-to-end test framework for Android, iOS and web | 88 out of 100 |