uv-python-manager
1
总安装量
1
周安装量
#44015
全站排名
安装命令
npx skills add https://github.com/gemini960114/skills --skill uv-python-manager
Agent 安装分布
antigravity
1
Skill 文档
uv Python Manager
Goal
Provide a fast and reliable way to manage Python environments and dependencies using the uv command-line tool.
Instructions
- Interpret the user’s request related to Python project setup, dependency management, or execution.
- Choose the appropriate
uvsubcommand (e.g.uv venv,uv add,uv sync,uv run). - Execute the command via the script in
scripts/run.sh. - Clearly explain what the command does before and after execution.
- Show concise output summaries instead of full logs when possible.
Common Operations
- Create a virtual environment:
uv venv
- Add dependencies:
uv add <package>
- Sync environment from lockfile:
uv sync
- Run a Python script or command:
uv run python script.py
- Manage Python versions:
uv python installuv python list
Constraints
- Do not use
sudo. - Do not modify system-wide Python installations.
- Only operate within the user’s current working directory unless explicitly instructed.
- Do not delete files or environments unless the user explicitly asks.
Examples
User: Create a new virtual environment for this project
Action:
uv venv
User: Install requests and pandas Action:
uv add requests pandas
User: Run main.py using uv Action:
uv run python main.py