Python dependency management preferences using uv. Use when adding Python dependencies, creating Python projects, setting up virtual environments, writing standalone scripts with external packages, or when pip, requirements.txt, venv, virtualenv, pyproject.toml, or uv is mentioned. Ensures uv is used instead of pip/venv.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Python dependency management preferences using uv. Use when adding Python dependencies, creating Python projects, setting up virtual environments, writing standalone scripts with external packages, or when pip, requirements.txt, venv, virtualenv, pyproject.toml, or uv is mentioned. Ensures uv is used instead of pip/venv.
Python Dependency Management
Do
Use inline script metadata with uv run for standalone scripts
Use pyproject.toml with uv for multi-file projects
Don't
Use pip install or requirements.txt
Use venv or virtualenv directly
Inline Script Dependencies (Recommended)
For Python scripts that need external dependencies, use inline script metadata with uv run. This approach ensures scripts are self-contained and dependencies are automatically managed.