Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

uv-project-management

/uv-project-management

Zakłada projekty Pythona, zarządza zależnościami i plikami lock przez uv oraz pyproject.toml.

Repozytorium
claude-plugins ↗
Licencja
MIT
Ostatnia zmiana repozytorium
24.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zakłada projekty Pythona, zarządza zależnościami i plikami lock przez uv oraz pyproject.toml.

Oryginalny opis (EN)

Python project setup, deps, and lockfiles with uv. Use when the user mentions uv, creating Python projects, managing dependencies, lockfiles, or pyproject.toml.

Jak działa

  1. When to Use This Skill
  2. When This Skill Applies
  3. Quick Reference
  4. Project Structure
  5. Generated pyproject.toml
  6. Common Workflows
  7. Key Features
  8. See Also
  9. References
Sekcje z nagłówków SKILL.md, w oryginale · 177 linii, 556 słów
Podgląd SKILL.md
---
created: 2025-12-16
modified: 2026-05-09
reviewed: 2026-04-25
name: uv-project-management
description: Python project setup, deps, and lockfiles with uv. Use when the user mentions uv, creating Python projects, managing dependencies, lockfiles, or pyproject.toml.
user-invocable: false
allowed-tools: Bash, Read, Grep, Glob
---

# UV Project Management

Quick reference for UV project setup, dependencies, and lockfiles.

## When to Use This Skill

| Use this skill when... | Use a focused sibling instead when... |
|---|---|
| Running `uv init`, `uv add`, `uv remove`, `uv lock`, or `uv sync` for everyday dependency management | Running a script or one-off command — use uv-run |
| Authoring or editing pyproject.toml `[project]` and `[tool.uv]` sections | Wiring git/path/editable deps or workspace inheritance — use uv-advanced-dependencies |
| Bootstrapping a new single-package Python project | Splitting a repo into multi-package workspaces — use uv-workspaces |

## When This Skill Applies

- Initializing new Python projects (`uv init`)
- Adding, removing, or updating dependencies (`uv add`, `uv remove`)
- Managing lockfiles (`uv lock`)
- Syncing project environments (`uv sync`)
- Configuring pyproject.toml

For running scripts, see **uv-run** skill.

## Quick Reference

### Project Initialization

```bash
# Create new project with complete structure
uv init my-project
cd my-project

# Initialize in existing directory
uv init

# Initialize with specific Python version
uv init --python 3.11 my-app
```

### Dependency Management

```bash
# Add dependencies
uv add requests
uv add 'flask>=2.0'
uv add 'django>=4.0,<5.0'

# Add development dependencies
uv add --dev pytest pytest-cov black

# Add optional dependency groups
uv add --group docs sphinx sphinx-rtd-theme

# Remove dependencies
uv remove requests flask

# Migrate from requirements.txt
uv add -r requirements.txt
```

### Lockfile Operations

```bash
# Create/update lockfile (uv.lock)
uv lock

# Lock with upgraded packages
uv lock --upgrade-package requests
uv lock --upgrade

# Lock without installing (CI/CD)
uv lock --frozen
```

### Environment Synchronization

```bash
# Sync environment to lockfile
uv sync

# Sync without updating lockfile
uv sync --frozen

# Error if lockfile is out of date
uv sync --locked
```

## Project Structure

UV projects follow this standard structure:

```
my-project/
├── pyproject.toml      # Project metadata and dependencies
├── uv.lock            # Locked dependency versions
├── .venv/             # Virtual environment (auto-created)
├── README.md
└── src/
    └── my_project/
        └── __init__.py
```

## Generated pyproject.toml

```toml
[project]
name = "my-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
dependencies = []

[build-system]
requires = ["uv_build>=0.9.2,<0.10.0"]
build-backend = "uv_build"
```

## Common Workflows

### Starting a New Project

```bash
uv init my-app && cd my-app
uv add ruff pytest
uv run pytest
```

### Adding Multiple Dependencies

```bash
# Production dependencies
uv add fastapi uvicorn 'pydantic>=2.0'

# Development tooling
uv add --dev pytest pytest-cov ruff ty

# Documentation
uv add --group docs sphinx mkdocs-material
```

### Updating Dependencies

```bash
# Update specific package
uv lock --upgrade-package requests

# Update all dependencies
uv lock --upgrade

# Sync after update
uv sync
```

## Key Features

- **Fast**: 10-100x faster than pip
- **Deterministic**: Lockfile ensures reproducible installs
- **Automatic**: Creates and manages virtual environments
- **Modern**: Uses pyproject.toml for configuration
- **Compatible**: Works with pip, Poetry, and other tools

## See Also

- **uv-run** - Running scripts, temporary dependencies, PEP 723
- **uv-python-versions** - Managing Python interpreter versions
- **uv-workspaces** - Monorepo and multi-package projects
- **uv-advanced-dependencies** - Git, path, and constraint dependencies
- **uv-tool-management** - Installing CLI tools globally
- **python-testing** - Running tests with pytest
- **python-code-quality** - Linting and formatting with ruff

## References

- Official docs: https://docs.astral.sh/uv/
- GitHub: https://github.com/astral-sh/uv
- Detailed guide: See REFERENCE.md in this skill directory
Pliki w paczce (2)
  • REFERENCE.md 14 KB
  • SKILL.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie uv-project-management.

Migawka bazy z 28.10.2026 · wersja paczki 1fa9761b317d (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95python-packaging
    Przygotowuje pakiety Pythona z pyproject.toml, strukturą projektu i publikacją na PyPI.
  • 100python-conventions
    Wymusza konwencje narzędziowe Pythona dla uv, ty, Ruff, pytest i pyproject.toml przy pracy z plikami .py i konfiguracją projektu.
  • 100python-packaging
    Tworzy paczki Pythona z poprawną strukturą projektu, setup.py lub pyproject.toml oraz publikacją na PyPI, także dla narzędzi CLI.
  • 100python-project-setup
    Konfiguruje projekty Python z pyproject.toml, lintingiem ruff, formatowaniem, sprawdzaniem typów mypy lub pyright, testami pytest i hookami pre-commit.
  • 95setting-up-python-libraries
    Zakłada profesjonalne biblioteki Pythona: pyproject.toml, uv, ruff, pytest, pre-commit i GitHub Actions.
  • 95python-packaging
    Pomaga tworzyć dystrybuowalne pakiety Pythona ze właściwą strukturą projektu, setup.py lub pyproject.toml oraz publikacją w PyPI.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.