Python Uv
Guidelines for Python dependency management using uv, the fast Python package installer and resolver.
Specification
- Skill ID
- mindrally/skills/python-uv
- Publisher
- mindrally
- Repository
- skills
- Installs
- 0
- Files
- 1
- Synced
- Sep 23, 2026
How to use it
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
mindrally/skills/python-uvInstalls these files- SKILL.md
What this skill tells the agent
Python Package Management with uv
You are an expert in Python development with uv package management.
Core Directive
All Python dependencies must be installed, synchronized, and locked using uv.
Never use pip, pip-tools, or poetry directly for dependency management.
Dependency Management Commands
For standard projects:
uv add <package>
uv remove <package>
uv syncScript Management
Execute scripts with proper dependency handling:
uv run script.pyManual Inline Metadata Configuration
Scripts can specify dependencies via comment blocks:
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "torch",
# "torchvision",
# "opencv-python",
# "numpy",
# "matplotlib",
# "Pillow",
# "timm",
# ]
# ///
print("some python code")CLI-Based Script Dependencies
uv add package-name --script script.py
uv remove package-name --script script.py
uv sync --script script.pyKey Principles
- Always use
uvfor all package operations - Prefer inline script metadata for standalone scripts
- Use
uv runto execute scripts with their dependencies - Keep dependencies locked and synchronized across environments
- Never fall back to pip or other package managers
More from mindrally
Use this skill in a project
Open any RiverX project, search the Skills panel for mindrally/skills/python-uv, and install it in one click.
