zer09/pi-config/uv

Claude Code and agent skill by zer09/pi-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use for uv commands, configuration, dependencies, environments, and package-manager work, or Python execution/dependency handling in a uv-configured project.

Install

npx vskill@latest install zer09/pi-config/uv

SKILL.md

The same SKILL.md was published earlier as zer09/pi-config/uv.

uv

Use this skill for uv work, not generic Python code. The project's Python execution policy still applies even when this skill is not needed.

Routing

Prefer uv when you see:

  • uv.lock
  • [project] in pyproject.toml with uv-managed workflows
  • requirements files generated by uv

Do not override an existing Poetry or PDM project unless the user asks to migrate:

  • poetry.lock means use Poetry conventions.
  • pdm.lock means use PDM conventions.

Inspect manager/configuration only when it affects the task. Generic Python code or a pyproject.toml alone does not establish uv ownership.

Mutation boundaries

Read-only advice does not authorize project mutation. Run uv init, uv add/uv remove (including script dependencies), uv sync, or other project/environment writes only when the user's requested local change authorizes them.

uv sync updates the environment and may update uv.lock. uv sync --locked requires an up-to-date lockfile but still writes to the environment; it is not a read-only check.

For read-only checks in a prepared environment, use uv run --no-sync ... to avoid unrequested synchronization. Missing setup is not permission to create or sync it; ask before changing it.

Commands

Scripts
bash
uv run script.py
uv run --with requests script.py
uv add --script script.py requests

Use uv run --with <package> python <script.py> when a script needs dependencies that are not already installed.

Projects
bash
uv init
uv add requests
uv remove requests
uv sync
uv run <command>
uv run python -c "..."
uv run -p 3.12 <command>
One-off tools

Use uv run <tool> ... for project dependencies so the command uses the project's pinned tool version and dependencies. Use uvx for standalone tools in an isolated environment, not as a substitute for project tools.

bash
uvx ruff check .
uvx ty check
uvx <tool>@<version> <args>

Use uvx for well-known tools only. Use uv tool install only when the user explicitly asks for a persistent install.

Legacy requirements workflows
bash
uv venv
uv pip install -r requirements.txt
uv pip compile requirements.in -o requirements.txt
uv pip sync requirements.txt
uv pip compile --universal requirements.in -o requirements.txt

Use the pip interface only for legacy requirements workflows. Do not introduce new requirements.txt files when a uv project is appropriate.

Local policy

  • Prefer uv run ... over bare python, python3, or activating virtualenvs.
  • Prefer uv add and uv remove over pip install in uv projects.
  • Prefer uvx <tool> for one-off Python CLI tools.
  • Keep changes scoped to the active project; do not migrate package managers without explicit instruction.

Docs

  • https://docs.astral.sh/uv/llms.txt

Maintenance

For future updates, read ../../../docs/skills/astral-python-tools-update-process.md.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zer09/pi-config/uv/badge)](https://verified-skill.com/skills/zer09/pi-config/uv)

Something wrong with this skill or its page? Tell us.