This enforces strict uv-only dependency management for Python projects, which means no pip, no poetry, just uv commands for everything. It covers the basics like uv add and uv remove, but the interesting part is how it handles standalone scripts with inline dependency metadata using those triple-slash comment blocks. If you're already bought into uv or want Claude to stop suggesting pip install commands, this will keep things consistent. The script management approach is clean, letting you either embed dependencies directly in your Python files or manage them via CLI flags. It's opinionated by design, so if you need flexibility between package managers, look elsewhere.

skills.sh installs
992
GitHub stars
302
last updated
Aug 21, 2026

Install

$ npx -y skills add mindrally/skills --skill python-uv --agent claude-code

Installs into .claude/skills of the current project.

Files

Python Package Management with uv

You are an expert in Python development with uv package management.

Core Directive

All Python dependencies must be installed, synchronized, and locked using uv.

Never use pip, pip-tools, or poetry directly for dependency management.

Dependency Management Commands

For standard projects:

uv add <package>
uv remove <package>
uv sync

Script Management

Execute scripts with proper dependency handling:

uv run script.py

Manual Inline Metadata Configuration

Scripts can specify dependencies via comment blocks:

# /// script
# requires-python = ">=3.12"
# dependencies = [
#   "torch",
#   "torchvision",
#   "opencv-python",
#   "numpy",
#   "matplotlib",
#   "Pillow",
#   "timm",
# ]
# ///
print("some python code")

CLI-Based Script Dependencies

uv add package-name --script script.py
uv remove package-name --script script.py
uv sync --script script.py

Key Principles

Sponsors

Details

Repository
github.com/mindrally/skills
Category
Python
First seen
Jun 3, 2026

More from mindrally/skills

All 240

Recommended

More Python
1thebushidocollective avatarfastapi-async-patternsthebushidocollective/hanUse when FastAPI async patterns for building high-performance APIs. Use when handling concurrent requests and async operations.958skills.sh installs
2sickn33 avatarpython-prosickn33/antigravity-awesome-skillspython pro747skills.sh installs
3sickn33 avatarfastapi-prosickn33/antigravity-awesome-skillsfastapi pro676skills.sh installs
4manutej avatarfastapi-microservices-developmentmanutej/luxor-claude-marketplaceComprehensive guide for building production-ready microservices with FastAPI including REST API patterns, async operations, dependency injection, and deployment590skills.sh installs
5sickn33 avatarpython-development-python-scaffoldsickn33/antigravity-awesome-skillspython development python scaffold378skills.sh installs
6davila7 avatarpython-patternsdavila7/claude-code-templatesPython development principles and decision-making. Framework selection, async patterns, type hints, project structure. Teaches thinking, not copying.359skills.sh installs