Agent skill
dependency-skill
Manage Python dependencies using uv package manager. Use when installing, adding, removing, or updating packages. Always prefer uv over pip.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/devops/dependency-skill
SKILL.md
Dependency Skill
Purpose
Manage Python dependencies efficiently using the uv package manager.
Instructions
Initialize a new project
uv init
Add production dependencies
uv add typer rich textual pydantic tinydb questionary pyfiglet python-dateutil
Add development dependencies
uv add --dev pytest pytest-cov black ruff mypy
Sync dependencies (install from lock file)
uv sync
Run scripts
uv run python -m package_name.main
uv run pytest
Update dependencies
uv lock --upgrade
uv sync
Remove a dependency
uv remove package-name
Common Dependency Sets
Todo App Dependencies
# Core
uv add typer rich textual pydantic tinydb questionary pyfiglet python-dateutil
# Development
uv add --dev pytest pytest-cov black ruff
Web App Dependencies
uv add fastapi uvicorn sqlmodel httpx
Examples
Full project setup
# Initialize
uv init
# Add all dependencies at once
uv add typer[all] rich textual pydantic tinydb questionary pyfiglet python-dateutil
# Add dev dependencies
uv add --dev pytest pytest-cov
# Sync to install
uv sync
# Verify installation
uv run python -c "import rich; print(rich.__version__)"
Best Practices
- Always use
uvinstead ofpipfor modern Python projects - Lock dependencies with
uv.lockfor reproducibility - Separate dev dependencies from production
- Run commands with
uv runto ensure correct environment - Update dependencies regularly with
uv lock --upgrade
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?