This skill should be used when the user asks to "set up a Python project with uv", "manage Python dependencies", "configure uv", "create a virtual environment with uv", "migrate from pip to uv", "speed up CI with uv", or when working with uv for virtual environments, package management, lockfiles, Docker builds, or Python version management.
From uv-package-managernpx claudepluginhub grailautomation/claude-plugins --plugin uv-package-managerThis skill uses the workspace's default tool permissions.
references/ci-cd-docker.mdreferences/lockfiles-caching.mdreferences/migration-guide.mdreferences/package-management.mdreferences/project-configuration.mdreferences/python-versions.mdreferences/tooling-integration.mdreferences/virtual-environments.mdFast Python package installer and resolver written in Rust. 10-100x faster than pip, with built-in virtual environment management, Python version management, and lockfile support.
# Create a new project
uv init my-project
cd my-project
# Add dependencies
uv add requests pandas
# Add dev dependencies
uv add --dev pytest black ruff
# Sync all dependencies (creates venv if needed)
uv sync
# Run commands in the virtual environment
uv run pytest
uv run python app.py
# Project management
uv init [PATH] # Initialize project
uv add PACKAGE # Add dependency
uv remove PACKAGE # Remove dependency
uv sync # Install dependencies
uv lock # Create/update lockfile
# Virtual environments
uv venv [PATH] # Create venv
uv run COMMAND # Run in venv (no activation needed)
# Python management
uv python install VERSION # Install Python
uv python list # List installed Pythons
uv python pin VERSION # Pin Python version
# Package installation (pip-compatible)
uv pip install PACKAGE # Install package
uv pip uninstall PACKAGE # Uninstall package
uv pip freeze # List installed
uv pip list # List packages
# Utility
uv cache clean # Clear cache
uv --version # Show version
uv.lock for reproducibility.python-version via uv python pinuv add --dev for test/lint toolsuv run — Avoid manual venv activation--frozen in CI — Exact reproduction from lockfile[tool.uv.workspace]uv export --format requirements-txt when neededDetailed guides for each workflow:
uv run