skills/uv-usage/SKILL.md
Provides concise guidance for using uv (Python package manager), including project workflows, pip-compatible commands, Python version management, and PEP 723 inline script dependencies. Use when users mention uv, uv run, inline dependencies, PEP 723, or Python dependency/project management.
npx skillsauth add liatrio-labs/ai-prompts uv-usageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use uv as a fast, unified tool for Python projects:
uv inituv add <package>uv syncuv run <cmd>uv add updates uv.lock automatically; use uv lock when you need to re-lock after manual pyproject.toml edits.
Use inline metadata so a script runs standalone with uv run <script-file>.
# /// script block at the top of the file.requires-python and dependencies.uv run <script-file>.uv add --script and uv remove --script.# /// script
# requires-python = ">=3.11"
# dependencies = [
# "requests>=2.31",
# "rich>=13.0",
# ]
# ///
import requests
from rich import print
print(requests.get("https://api.github.com/repos/astral-sh/uv").status_code)
uv run script.py
uv add --script script.py beautifulsoup4
uv remove --script script.py rich
Use these for drop-in workflows or legacy projects:
uv pip install <package>
uv pip install -r requirements.txt
uv pip compile requirements.in -o requirements.txt
uv pip sync requirements.txt
uv python install 3.12
uv python pin 3.12
uv venv --python 3.12
uv run --python 3.12 -- python -V
uv init demo
cd demo
uv add ruff
uv run ruff check .
uv run script.py
uvx <tool> (alias for uv tool run) to run tools ephemerally without installing them globally.uv add, uv sync) for new work, and run uv lock when re-locking after manual pyproject.toml changes.testing
Interactive GitHub Epic planner. Plans one milestone at a time. The first epic is always Shell (scaffold + CI with a fixed set of stories). Each subsequent epic is defined through operator dialogue. Use /plan-issue to create the individual stories once an epic is defined.
development
Use when you need lightweight browser QA for a web page, local HTML file, or app: inspect console errors, broken assets, keyboard/focus behavior, viewport readability, and publish evidence-backed findings JSON through a local HTML report viewer.
data-ai
Provision DNS records for liatr.io subdomains in the liatrio/liatrio-external-dns repository. Use when adding, modifying, or removing DNS CNAME records, A records, or other Route53 records for liatr.io or k8s-ignite.com domains. Triggers on requests like 'add a domain', 'create a subdomain', 'point X.liatr.io to Y', or 'set up DNS for a new site'.
development
Manage local development environments with Tilt. Use when working with projects that run services via Tilt (indicated by presence of Tiltfile), including checking service status, viewing logs, troubleshooting connectivity issues, or managing the Tilt stack. Essential for projects using Tiltfile with local_resource for orchestrating backend, frontend, and other services.