python-uv-dev

Sync, lock, and run Python dev tools with uv.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ships/eden --skill python-uv-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-uv-dev
Source: https://github.com/ships/eden/tree/main/assets/claude/skills/python-uv-dev
Command: npx skills add https://github.com/ships/eden --skill python-uv-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

It solves the problem of inconsistent Python tooling and dependency drift by ensuring you use a project’s pinned versions via uv for installs, locking, and running dev tools.

Core Features & Use Cases

  • Project bootstrapping: initialize new or existing Python projects with uv, including a pinned Python version and a consistent dependency setup.
  • Deterministic dependency management: use uv.lock with uv sync and uv lock --upgrade to keep environments reproducible across machines and CI.
  • Correct tool execution: run pytest/ruff/mypy and other project-defined tools through uv run so the project’s versions are used rather than global installs.
  • Workspaces and monorepos: configure uv workspaces and workspace sources for multi-package repositories.
  • Dev workflow integration: set up pre-commit hooks and common testing/linting/refactoring workflows aligned with uv conventions.

Quick Start

Run this for your current repository so tools run with the project’s uv environment: uv sync && uv run pytest

Frequently Asked Questions about python-uv-dev

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

FAQPage Schema
How do I run pytest with project dependencies using uv?

To run pytest with project dependencies using uv, execute the command `uv run pytest` after syncing your environment with `uv sync` to ensure deterministic execution against pinned versions in uv.lock.

What is the best way to manage Python dependencies in a monorepo with uv?

Managing Python dependencies in a monorepo with uv involves configuring uv workspaces and workspace sources for multi-package repositories, ensuring deterministic dependency resolution and consistent environments across all sub-packages.

Why should I use uv run instead of global Python tool installs?

You should use uv run instead of global Python tool installs to prevent dependency drift, ensuring that commands like pytest, ruff, and mypy execute using the project's pinned versions from uv.lock rather than conflicting global installations.

How do I upgrade locked dependencies in a pyproject.toml using uv?

To upgrade locked dependencies in a pyproject.toml using uv, run `uv lock --upgrade` to update the uv.lock file, then use `uv sync` to apply the changes to your local project environment.

Can I use uv for both dependency management and linting workflows?

Yes, you can use uv for both dependency management and linting workflows by running tools like ruff and mypy through `uv run`, and integrating these commands into pre-commit hooks aligned with standard uv dev conventions.

Does uv support pinned Python versions for project bootstrapping?

Yes, uv supports pinned Python versions for project bootstrapping, allowing you to initialize new or existing Python projects with a specific Python version and a consistent, deterministic dependency setup.