#2121st of 43 in Code review and testing

prek

Rust reimplementation of pre-commit that runs Git hooks from a single binary

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
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit100k stars+2,481 (+2.5%) in 30 daysApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k starsMIT93 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments50k stars+3,413 (+7.3%) in 30 daysApache-2.092 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25k starsApache-2.088 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k starsApache-2.088 out of 100