uv
Installation
SKILL.md
uv Package Manager
Prefer uv over pip/poetry for Python dependency and project management. Use the workflow below and choose the right mode (project, script, or tool).
Mode Decision
User needs to...
│
├─ Repo uses poetry / pipenv / conda (poetry.lock, Pipfile, environment.yml)
│ → Ask: "This repo uses [poetry/pipenv/conda]. Do you want to switch to uv?"
│ → If yes: prefer the migrate-to-uv tool (uvx migrate-to-uv in project root) to convert metadata and lockfile; then uv sync. Remove legacy files only after user confirms.
│ → If no: do not use uv for project management; use the existing tool or uv pip only if appropriate.
│
├─ Repo has requirements.txt (no pyproject.toml)
│ → Ask: "This repo uses requirements.txt. Do you want to convert to uv (pyproject.toml + uv.lock)?"
│ → If yes: guide conversion (uv init, uv add from requirements, then uv sync)
│ → If no: use Pip-Compatible workflow (uv pip)
│
Related skills