uv
Installation
SKILL.md
uv (Python)
Use uv as the default tool for Python dependency + environment management when the repo has uv.lock, mentions uv in its docs/Makefile, or already uses a .venv created by uv.
Quick decision rules
- If the repo has
uv.lockandpyproject.toml: treat it as a uv-managed project. - If the repo has only
requirements.txt: you can still useuv pipfor fast installs. - Prefer project commands (
uv add/remove/sync/run/lock) over rawpipunless the repo explicitly usesuv pip.
Installation (if needed)
Prefer a packaged install method when available. If you use the official installer, review it first (avoid blindly piping into a shell) and follow the latest instructions in the official docs.
# macOS/Linux (official installer)
curl -LsSf https://astral.sh/uv/install.sh | sh