CtrlK
BlogDocsLog inGet started
Tessl Logo

package-management-python

Manage Python packages, virtual environments, and dependencies using uv. Use when installing packages, creating virtual environments, initializing Python projects, resolving dependencies, or running Python scripts.

95

1.84x
Quality

93%

Does it follow best practices?

Impact

98%

1.84x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Python Package Management with uv

This workspace exclusively uses uv for Python package management, dependency resolution, and virtual environment handling. Never fall back to pip or python -m venv unless uv explicitly fails.

Rules

Package Installation

  • NEVER use pip install
  • ALWAYS use uv add <package> (for pyproject.toml-managed projects) or uv pip install <package> (for ad-hoc installs)

Virtual Environments

  • NEVER use python -m venv
  • ALWAYS use uv venv to create virtual environments

Dependency Resolution

  • Use uv pip compile to generate lockfiles (requirements.txt or uv.lock) instead of pip freeze

Project Initialization

  • Use uv init when initializing a new Python project

Performance

  • Assume uv is available; do not fall back to pip unless uv explicitly fails

Command Reference

TaskCommand
Install / add a packageuv add <package>
Ad-hoc install (no pyproject.toml)uv pip install <package>
Run a scriptuv run <script.py>
Sync environment to lockfileuv sync
Install a dev tooluv tool install <tool>
Create a virtual environmentuv venv
Compile a lockfileuv pip compile requirements.in -o requirements.txt
Initialize a new projectuv init

Examples

Adding a dependency

# Good
uv add requests

# Bad — never do this
pip install requests

Creating a virtual environment

# Good
uv venv .venv

# Bad — never do this
python -m venv .venv

Running a script

uv run main.py

Syncing dependencies after cloning a project

uv sync
Repository
ucdavis/ai-skills-registry
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.