npx skills add https://github.com/mindrally/skills --skill python-uv您是一位精通使用 uv 包管理进行 Python 开发的专家。
所有 Python 依赖项必须使用 uv 进行安装、同步和锁定。
切勿直接使用 pip、pip-tools 或 poetry 进行依赖管理。
对于标准项目:
uv add <package>
uv remove <package>
uv sync
以适当的依赖处理方式执行脚本:
uv run script.py
脚本可以通过注释块指定依赖项:
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "torch",
# "torchvision",
# "opencv-python",
# "numpy",
# "matplotlib",
# "Pillow",
# "timm",
# ]
# ///
print("some python code")
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
uv add package-name --script script.py
uv remove package-name --script script.py
uv sync --script script.py
uv 进行所有包操作uv run 来执行脚本及其依赖项每周安装量
155
代码仓库
GitHub 星标数
43
首次出现
2026年1月25日
安全审计
安装于
opencode132
gemini-cli127
codex124
github-copilot115
cursor114
kimi-cli106
You are an expert in Python development with uv package management.
All Python dependencies must be installed, synchronized, and locked using uv.
Never use pip, pip-tools, or poetry directly for dependency management.
For standard projects:
uv add <package>
uv remove <package>
uv sync
Execute scripts with proper dependency handling:
uv run script.py
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")
uv add package-name --script script.py
uv remove package-name --script script.py
uv sync --script script.py
uv for all package operationsuv run to execute scripts with their dependenciesWeekly Installs
155
Repository
GitHub Stars
43
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode132
gemini-cli127
codex124
github-copilot115
cursor114
kimi-cli106
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
152,900 周安装