| name | python-uv-cli |
| description | UV command-line usage patterns for Python project management |
| license | MIT |
| compatibility | opencode |
| metadata | {"related_uv_mcp":"For uv MCP automation tools, use skill `uv-mcp`","related_python_guidelines":"For general Python development standards, use skill `python-guidelines`"} |
Python UV CLI
What I Do
Provide UV command-line patterns for Python project management. Use UV instead of virtualenv, venv, or pip directly.
Core Commands
Environment Management
uv sync --all-extras -U
uv sync
uv run python script.py
uv run python -c"code"
uv run pytest -v
uv run --help
Dependency Management
uv add package-name
uv add package-name --dev
uv remove package-name
uv remove package-name --dev
uv build
When to Use Me
Use this skill when:
- Running Python scripts or tests
- Managing project dependencies
- Setting up development environments
- Building and distributing packages
Key Rules
- Never use pip directly - Always use UV commands instead
- Use
--dev for dev dependencies - pytest, ruff, ty, etc.
- Always use
uv run - Never invoke python directly from .venv
- Use
uv sync --all-extras -U - Full dependency update