dependency-skill

Manage Python dependencies with uv commands for reproducible environments.

Updated Dec 7, 2025
One-click install
npx skills add https://github.com/maneeshanif/cli-todo-app-speckit --skill dependency-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-skill
Source: https://github.com/maneeshanif/cli-todo-app-speckit/tree/main/.claude/skills/dependency-skill
Command: npx skills add https://github.com/maneeshanif/cli-todo-app-speckit --skill dependency-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you manage dependencies using uv, replacing pip for modern projects.

Core Features & Use Cases

  • uv init & add: Initialize project and add dependencies.
  • Sync & lock: Install from lockfile and upgrade dependencies.
  • Use Case: Set up a new project with essential libraries and a dev workflow.

Quick Start

Initialize a project with uv and install core dependencies.

Frequently Asked Questions about dependency-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Python dependencies with uv instead of pip?

uv is a modern package manager that replaces pip for dependency management. Initialize a project with `uv init`, add packages with `uv add`, and install from a lockfile using `uv sync`. uv enforces lockfile-based reproducibility across environments.

What's the best way to set up a new Python project with dependencies and a lockfile?

Use `uv init` to scaffold a new project, then `uv add` to install core and dev dependencies. uv automatically generates and maintains a lockfile for reproducible installs across teams and environments.

Can I use uv to manage both production and development dependencies?

Yes. uv supports adding dev-only dependencies and running project scripts in both contexts with `uv run`. The lockfile tracks all dependency versions, ensuring consistency between production and development environments.

How do I update and sync Python dependencies across my project?

Use `uv add` to add or upgrade specific packages, `uv lock` to update the lockfile, and `uv sync` to install exact versions from the lockfile. This workflow ensures all team members and deployment environments use identical dependency versions.

Why should I use uv over pip for managing Python packages?

uv provides lockfile-based reproducibility, faster dependency resolution, and a unified workflow for initialization, adding, updating, and syncing dependencies. It eliminates inconsistencies that can occur with pip's less predictable version resolution.

Can I remove dependencies and keep the lockfile in sync with uv?

Yes. Use `uv remove` to uninstall a package, which automatically updates the lockfile and removes unused transitive dependencies, keeping your project environment clean and reproducible.