uv-python-manager
uv Python Manager
Goal
Provide a fast and reliable way to manage Python environments and dependencies using the uv command-line tool.
Instructions
- Interpret the user's request related to Python project setup, dependency management, or execution.
- Choose the appropriate
uvsubcommand (e.g.uv venv,uv add,uv sync,uv run). - Execute the command via the script in
scripts/run.sh. - Clearly explain what the command does before and after execution.
- Show concise output summaries instead of full logs when possible.
Common Operations
- Create a virtual environment:
uv venv
- Add dependencies:
uv add <package>
- Sync environment from lockfile:
uv sync
- Run a Python script or command:
uv run python script.py
- Manage Python versions:
uv python installuv python list
Constraints
- Do not use
sudo. - Do not modify system-wide Python installations.
- Only operate within the user's current working directory unless explicitly instructed.
- Do not delete files or environments unless the user explicitly asks.
Examples
User: Create a new virtual environment for this project
Action:
uv venv
User: Install requests and pandas Action:
uv add requests pandas
User: Run main.py using uv Action:
uv run python main.py
More from gemini960114/skills
dockerize-project
Use this skill when the user wants to dockerize the current project and generate a Dockerfile and docker-compose.yml based on the existing codebase. This skill inspects the repository structure, avoids unsafe assumptions, and produces a minimal, runnable Docker setup for local development.
12uv-environment
Use when the user asks about uv, Python virtual environments, pyproject.toml, dependency management, or shows uv/venv output. Assume uv is already installed and prefer using the existing setup instead of reinstalling.
11fastapi-templates
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
11frontend-development
Generic frontend development skill for HTML, CSS, JavaScript, and modern frontend frameworks. Covers code patterns, best practices, debugging, and common patterns for building responsive web applications.
10frontend-requirements
Use this skill when the user asks to generate a frontend integration requirements document (frontend.md) from an existing FastAPI backend codebase. The output must be a Markdown guide for frontend engineers, including auth, endpoints, job/task workflow, status definitions, result querying, errors, and UX recommendations.
9backend-development
Generic backend development skill for building REST APIs, working with databases, authentication, and server-side logic. Covers patterns, best practices, and common patterns for backend applications.
6