One-click install
npx skills add https://github.com/gmcabrita/dotfiles --skill uv-gmcabrita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv
Source: https://github.com/gmcabrita/dotfiles/tree/main/.agents/skills/uv
Command: npx skills add https://github.com/gmcabrita/dotfiles --skill uv-gmcabrita

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

UV provides a unified workflow to run Python scripts, manage dependencies, and embed inline script metadata, avoiding separate pip/venv setup.

Core Features & Use Cases

  • Run scripts with uv run script.py and automatically apply declared dependencies
  • Add dependencies on the fly with uv add, or package projects using uv_build
  • Reproduce consistent environments across machines with inline metadata

Quick Start

Create a script with inline metadata and run it with uv run your_script.py.

Frequently Asked Questions about uv

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

FAQPage Schema
How do I run Python scripts with automatic dependency management?

You can run Python scripts with automatic dependency management by executing uv run script.py, which automatically applies declared dependencies from inline script metadata without separate pip or venv setup.

What is inline script metadata and when do I need it for Python projects?

Inline script metadata is a mechanism to declare dependencies directly within a Python script file. You need it to reproduce consistent environments across machines and avoid manual dependency installation during script execution.

How do I add dependencies on the fly while managing Python scripts?

You can add dependencies on the fly while managing Python scripts by using the uv add command, which updates your project requirements and ensures consistent script execution without manual package tracking.

Can I package pure-Python projects using a build backend with uv?

Yes, you can package pure-Python projects using uv_build as a build backend. This provides a unified workflow that manages both script execution and project packaging without requiring external build tools.

Does uv work for team workflows requiring consistent script execution?

Yes, uv supports team workflows requiring consistent script execution by using inline script metadata to reproduce environments across machines, ensuring all team members run scripts with identical dependency versions.

Why use uv instead of separate pip and venv setup for Python dependencies?

Using uv instead of separate pip and venv setup provides a unified workflow for running scripts and managing dependencies, avoiding manual virtual environment activation and ensuring on-demand dependency installation through inline metadata.