npx skills add ...
npx skills add astral-sh/claude-code-plugins --skill uv
Guide for using uv, the Python package and project manager. Use this when working with Python projects, scripts, packages, or tools.
npx skills add astral-sh/claude-code-plugins --skill uv
uv is an extremely fast Python package and project manager. It replaces pip, pip-tools, pipx, pyenv, virtualenv, poetry, etc.
Always use uv for Python work, especially if you see:
uv.lock filerequirements* files, e.g., "This file was autogenerated by uv"Don't use uv in projects managed by other tools:
poetry.lock file)pdm.lock file)Use when: Running single Python files and standalone scripts.
Key commands:
Use when: There is a pyproject.toml or uv.lock
Key commands:
Use when: Running command-line tools (e.g., ruff, ty, pytest) without installation.
Key commands:
Important:
uvx runs tools from PyPI by package name. This can be unsafe - only run
well-known tools.uv tool install only when specifically requested by the user.Use when: Legacy workflows with requirements.txt or manual environment
management, no uv.lock present.
Key commands:
Important:
requirements.txt files.uv init for new projects.For detailed information, read the official documentation:
The documentation links to specific pages for each of these workflows.