{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"Integrates uv as the virtual environment and package installer for pre-commit, speeding up hook installation and environment setup.","skillfed_tags":["pre-commit-plugin","performance-optimization"],"use_cases":["Speed up initial pre-commit hook installation in CI/CD pipelines where cache is unavailable or ephemeral.","Reduce local development setup time when running pre-commit install-hooks for the first time on a new machine.","Replace pre-commit's default package installer in projects where uv is already the standard tool.","Maintain faster hook environments in monorepos or projects with many dependencies.","Disable selectively on specific machines or environments using the DISABLE_PRE_COMMIT_UV_PATCH variable."],"what_it_does":"pre-commit-uv is a plugin that replaces pre-commit's default virtual environment and package installation mechanism with uv, a faster Rust-based Python package installer. It works by patching pre-commit at runtime to use uv instead of the standard tools, transparently speeding up the initial hook installation and environment setup without requiring changes to your pre-commit configuration.\n\nThe package is installed as an injection into an existing pre-commit installation (via pipx inject) or alongside it (via uv tool install). Once active, it automatically intercepts pre-commit's environment creation calls and delegates them to uv, which typically reduces hook installation time by roughly 30% according to the project's own benchmarks. It includes escape hatches via environment variables to disable the patching if needed, and only applies the patch when pre-commit is actually invoked to avoid startup overhead.","worth_installing":"Yes, if you use pre-commit and want faster initial hook installation without configuration changes. The low install friction, active maintenance, permissive license, and demonstrated performance gain (roughly 30% faster in the benchmark) make it a straightforward win. Install via pipx inject or uv tool install, and it works transparently. No known vulnerabilities."},"id":"pre-commit-uv","links":{"html":"https://skillfed.io/packages/pre-commit-uv","md":"https://skillfed.io/packages/pre-commit-uv.md","pypi":"https://pypi.org/project/pre-commit-uv/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-21","license_spdx":null,"license_treatment":"permissive","name":"pre-commit-uv","python_support":"supports_current","summary":"Run pre-commit with uv"},"popularity":{"monthly_downloads":722100,"position":5228,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.3.0"}
