Index of every page on this site: llms.txt
All skills
qiao-925 avatar

/python-uv-acceleration

@50a1ee4
Run it yourself

Python 工具链加速能力单元,帮助 Agent 在 Python 项目创建虚拟环境、安装依赖、同步 requirements、替换 pip/venv 工作流时,优先使用 uv 提升速度与一致性,同时识别何时不应覆盖 poetry、pdm、hatch 等既有项目管理器。关键词:Python、uv、依赖安装、虚拟环境、pip 替代、venv 替代、requirements。

Use this Skill: https://skilld.dev/gh/qiao-925/qiao-skills/python-uv-acceleration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesadoption-boundaries.md

≈333 tokens on demand. Your agent reads this file only when SKILL.md points to it.

采用边界:uv 适合替代什么,不适合替代什么

核心判断

uv 最适合替代的是:

  • pip
  • venv
  • virtualenv
  • 以 requirements.txt 为核心的轻量依赖工作流

uv 不是一个“所有 Python 项目都必须切换”的口号。

优先采用 uv 的场景

  • 新建脚本型、工具型、小中型 Python 项目
  • 现有仓库本来就是 pip + venv
  • 用户明确希望提升依赖安装速度
  • CI 或本地初始化主要瓶颈在环境创建与依赖安装

不应强推 uv 的场景

  • 项目已稳定使用 poetry、pdm、hatch
  • 团队已有成熟工具链、锁文件与发布流程
  • 当前任务只是修 Python 代码,不涉及环境与依赖
  • 迁移成本明显高于当前收益

推荐表达方式

适合直接替换

当前项目是典型 pip/venv 工作流,可以直接改用 uv 来加速。

适合保守处理

当前项目已使用 poetry 管理依赖,不建议直接把 uv 设为主工具链。
如果只是追求安装速度,可以先评估局部替换是否值得。

检查清单

  • 是否确认当前项目不是另一套稳定管理器主导。
  • 是否明确这次任务真的和环境/依赖工作流相关。
  • 是否把“默认推荐”与“强制迁移”清楚地区分开。

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning7mo4 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    This skill is safe. It provides instructions for using 'uv' as a faster replacement for 'pip' and 'venv' in Python projects. It includes standard installation commands from the official Astral website, a well-known service in the Python ecosystem.

  • Socket7mo

    No alerts

  • Snyk7mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    2 files scanned · No issues

Signed by skilld at 50a1ee4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
Other metadata
metadata
{
  "type": "procedural",
  "category": "language-engineering",
  "scope": "python",
  "role": "skill-unit"
}

README badge

README badge for qiao-925/qiao-skills/python-uv-acceleration