pre-commit
Installation
SKILL.md
Pre-commit Framework
Configure and implement git hooks using pre-commit or prek for automated code quality checks, formatting, linting, and commit message processing across multi-language projects.
Alternative: prek
prek is a Rust-based reimplementation of pre-commit that offers:
- Faster execution (Rust vs Python)
- No Python dependency required
- Drop-in replacement: Uses same
.pre-commit-config.yamlfile - Identical CLI interface: All commands work the same way
Installation:
# Using uv (recommended)
uv tool install prek