---
name: "uv-blazing-fast-python-package-manager"
description: "Install and resolve Python packages 10-100x faster than pip using Astral's uv engine."
metadata:
  author: "Astral"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "install packages with uv"
  - "uv pip install"
  - "uv sync project uv.lock"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# uv Extremely Fast Rust Python Package Installer & Resolver

Operates Astral uv: managing virtual environments (uv venv), lightning-fast dependency resolution (uv pip install), locking dependencies with uv.lock (uv sync), running tools ephemerally (uvx), and Python version switching.

## When to Invoke
Invoke this skill whenever you need to:
- install packages with uv
- uv pip install
- uv sync project uv.lock

## Execution SOP & Rules
1. Install package manager: curl -LsSf https://astral.sh/uv/install.sh | sh.
2. Create virtualenv: uv venv && source .venv/bin/activate.
3. Install dependencies: uv pip install -r requirements.txt (instant global cache hits).
4. Manage projects: uv init, uv add <package>, and uv sync to guarantee deterministic environments.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
