astral-uv

Automate Python project setup, dependency resolution, and virtual environments with uv.

Updated Jan 3, 2026
One-click install
npx skills add https://github.com/ianphil/my-skills --skill astral-uv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: astral-uv
Source: https://github.com/ianphil/my-skills/tree/main/astral-uv
Command: npx skills add https://github.com/ianphil/my-skills --skill astral-uv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline Python project setup, dependency management, and virtual environment handling with a fast, unified toolset.

Core Features & Use Cases

  • Rapid virtual environment creation and isolation using uv venv
  • Simplified dependency management with uv add and uv pip equivalents
  • Project initialization and version management with uv init and uv python
  • Run and test scripts directly via uv run without manual activation
  • Sync and reproduce environments with uv sync for CI stability
  • Manage pyproject.toml and project metadata automatically

Quick Start

Initialize a new Python project with uv init my-project, then add dependencies with uv add requests, and finally run your script with uv run script.py.

Frequently Asked Questions about astral-uv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new Python project and manage dependencies automatically?▼

Initialize a new Python project and manage dependencies automatically using uv init and uv add. This creates a pyproject.toml file, handles version management, and installs required packages without manual configuration.

What is the best way to run Python scripts without manually activating a virtual environment?▼

Run Python scripts directly in an isolated environment using uv run script.py. This command resolves dependencies and executes the script automatically without requiring manual virtual environment activation.

How do I create reproducible Python environments for CI stability?▼

Create reproducible Python environments for CI stability by using uv sync. This synchronizes your project dependencies exactly as defined in your pyproject.toml, ensuring consistent environments across different machines.

Can I handle pyproject.toml metadata and multi-environment work streams in one tool?▼

Yes, you can handle pyproject.toml metadata and multi-environment work streams in one tool. It unifies project initialization, dependency resolution, and venv isolation to maintain multiple isolated work streams efficiently.

Why use a unified toolset for Python package and project management instead of separate utilities?▼

A unified toolset streamlines Python project setup and virtual environment handling with high speed. It replaces fragmented utilities by integrating initialization, dependency installation, and script execution into a single workflow.