Manages Python dependencies and scripts using uv only. Use when adding, upgrading, removing, or syncing Python packages, or when running Python scripts and managing their dependencies.
uv for all Python dependency management.pip, pip-tools, poetry, or IDE prompts to install Python packages.uv add PACKAGEuv remove PACKAGEuv syncuv sync --all-extras to include optional/dev extras.uv run python main.pyuv run python -m PACKAGE.moduleuv add --script path/to/script.py PACKAGEuv remove --script path/to/script.py PACKAGEuv sync --script path/to/script.pyAutomatically use these rules whenever:
uv (uv.lock, pyproject.toml mentioning uv).If a command suggestion would normally involve pip or poetry, rewrite it into the equivalent uv command instead.