prek
Hacker ApprovedRanked 2 of 5 Git hooks managers by recommenders
Rust reimplementation of pre-commit, compatible with existing hooks and faster, with monorepo support and no Python dependencies. Critics say it does not fix the underlying pre-commit hook problems.
Rust reimplementation of pre-commit, compatible with existing hooks and faster, with monorepo support and no Python dependencies. Critics say it does not fix the underlying pre-commit hook problems.
19 people gave an opinion
- recommend it
- 13
- criticize it
- 6
- approval share
- 68%
Recommended in 5 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: not recommended
- April 2026: not recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: not recommended
- August 2026: not recommended
- September 2026: recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 13 people recommend itNeeds 10 or more, met.
- 2.2 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 5 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Compatible with existing pre-commit hooks
“The main advantage for me is that prek has support for monorepo/workspaces, while staying compatible with existing pre-commit hooks.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” “prek is compatible with pre-commit so any hooks that can be used for pre-commit can be used with prek”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” “Not just faster than pre-commit, and totally compatible. Also with more features.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” Easy to drop into projects
“It was seamless to drop into my projects.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” “Really enjoying using prek.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” Single tool for CI linting
“So in CI/CD you can replace all discrete lint/format tool calls with one to pre-commit/prek.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” “Using prek, not pre-commit for the linters.”
Comment from 23 Sep 2026 in “AI coding has made CI a bottleneck, so we reworked ours to keep up”
What people warn about
Each mark is one comment
Does not fix core hook problems
“Not fundamentally broken, just broken on certain use cases where'd I have to do something like”
Comment from 27 Dec 2025 in “Pre-commit hooks are fundamentally broken” “I think it's improving on an already awful platform so you should not use it”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” “It doesn’t seem like this solves the main issues with pre-commit hooks.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” Arguments seen as weak or circular
“This just seems like calling a shell script with extra steps.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust” “All I'm seeing is circular logic.”
Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”
Other Git hooks managers people recommend
The four most recommended other Git hooks managers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| pre-commit | 24 | 20 | 55% | 7 | — | — |
| prekThis page | 13 | 6 | 68% | 5 | — | Approved |
| Lefthook | 7 | 2 | 78% | 6 | — | — |
| Husky | 6 | 2 | 75% | 3 | — | — |
| hk | 5 | 1 | 83% | 2 | — | — |
What people said
19 of the 23 comments that mention it, newest first. Each links to the original comment.
“Using prek, not pre-commit for the linters.”
“It is better because of WASI. That's what provides sandboxing.”
“Would need auto-fix & commit capabilities to really replace lefthook or lint-staged for me”
“Emojis as bullet points in the README make me think this was generated with an LLM. No thanks”
“I agree it’s better, but not because of wasi”
“It doesn’t seem like this solves the main issues with pre-commit hooks.”
“prek is compatible with pre-commit so any hooks that can be used for pre-commit can be used with prek”
“Really enjoying using prek.”
“The main advantage for me is that prek has support for monorepo/workspaces, while staying compatible with existing pre-commit hooks.”
“All I'm seeing is circular logic.”
“This just seems like calling a shell script with extra steps.”
“I think it's improving on an already awful platform so you should not use it”
“So in CI/CD you can replace all discrete lint/format tool calls with one to pre-commit/prek.”
“It was seamless to drop into my projects.”
“Not just faster than pre-commit, and totally compatible. Also with more features.”
“never had these issues even using rebase flows exclusively”
“Not fundamentally broken, just broken on certain use cases where'd I have to do something like”
“they save dev cycles back-and-forth with CI more than they hurt”
“the most intriguing feature is no Python dependencies”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.