Agent skill
ops-uv-package-manager-5-running-scripts-and-commands
Sub-skill of ops-uv-package-manager: 5. Running Scripts and Commands (+1).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/operations/devtools/uv-package-manager/5-running-scripts-and-commands
SKILL.md
5. Running Scripts and Commands (+1)
5. Running Scripts and Commands
Run Python scripts:
# Run script with project dependencies
uv run python script.py
# Run module
uv run python -m pytest
# Run with specific Python version
uv run --python 3.11 python script.py
Run tools:
# Run pytest
uv run pytest tests/
# Run ruff for linting
uv run ruff check src/
# Run black for formatting
uv run black src/
# Run any CLI tool
uv run mypy src/
6. pip Compatibility Mode
Use UV as a pip replacement:
# Install packages (pip syntax)
uv pip install pandas numpy
# Install from requirements.txt
uv pip install -r requirements.txt
# Install in editable mode
uv pip install -e .
# Compile requirements
uv pip compile requirements.in -o requirements.txt
# Sync environment
uv pip sync requirements.txt
# Freeze installed packages
uv pip freeze > requirements.txt
# Show package info
uv pip show pandas
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?