
Python Uv
Guidelines that require uv for all Python dependency work, blocking pip, pip-tools, and poetry.
- skills.sh installs
- 1K
- GitHub stars
- 306
- last updated
- Aug 21, 2026
What it does
- Covers project dependency workflows: adding, removing, syncing, and running scripts with
uv add,uv remove,uv sync, anduv run - Includes inline script metadata via
# /// scriptblocks and--scriptflags for per-file dependency declarations - Enforces locked, synchronized environments and bans direct use of pip, pip-tools, or poetry for dependency management
- Designed for Python projects and standalone scripts that need reproducible dependency handling
Install
$ npx -y skills add mindrally/skills --skill python-uv -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/mindrally/skills
- Category
- Python
- First seen
- Jun 3, 2026
More from mindrally/skills
All 240- Zustand State Management1K
- Java1K
- Sequelize997
- React995
- Nestjs Clean Typescript990
- Deep Learning989
- Pixi Js988
- Security Best Practices987
- Django Python983
- Gcp Development982
- Java Spring Development972
- Flutter969
- Storybook962
- Unity961
- Laravel Development959
- Drupal Development955
- Design Systems949
- Supabase949
- Game Development944
- Shopify Theme Development Guidelines940
- Wordpress938
- Pandas Best Practices935
- Scikit Learn Best Practices932
- Mongodb Development930
Similar to Python Uv
More Python
python-prosickn33/antigravity-awesome-skills747 installspython pro
fastapi-prosickn33/antigravity-awesome-skills676 installsfastapi pro
fastapi-microservices-developmentmanutej/luxor-claude-marketplace591 installsComprehensive guide for building production-ready microservices with FastAPI including REST API patterns, async operations, dependency injection, and deployment
python-development-python-scaffoldsickn33/antigravity-awesome-skills378 installspython development python scaffold
python-patternsdavila7/claude-code-templates361 installsPython development principles and decision-making. Framework selection, async patterns, type hints, project structure. Teaches thinking, not copying.
python-expertpersonamanagmentlayer/pcl277 installsExpert-level Python development with Python 3.12+ features, async/await, type hints, and modern best practices