skills/uv-package/SKILL.md
Utilize uv package manager. Manage dependencies, virtual environments, project initialization, and lock files.
npx skillsauth add excatt/superclaude-plusplus uv-packageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Support Python package management and project setup using uv.
uv: Ultra-fast Python package and project manager written in Rust (by Astral)
# Create new project
uv init my-project
# Add uv to existing project
uv init
# Install dependencies
uv sync
# Create virtual environment (automatically managed)
uv venv
# Add package
uv add fastapi
# Add development dependency
uv add --dev pytest mypy ruff
# Add version constraint
uv add "fastapi>=0.100.0,<1.0.0"
# Remove package
uv remove requests
# Upgrade all dependencies
uv lock --upgrade
# Upgrade specific package only
uv lock --upgrade-package fastapi
# Create/update lock file
uv lock
# Install based on lock file (reproducible)
uv sync --frozen
# Verify lock file
uv lock --check
# Environment information
uv venv
# Use specific Python version
uv venv --python 3.11
# Install Python version
uv python install 3.11
📦 Package Management
─────────────────────
✅ Added: fastapi (>=0.115.0)
📝 Updated: pyproject.toml
🔒 Lock File: uv.lock (updated)
Next: uv sync
⚠️ Dependency Conflict
─────────────────────
Package: urllib3
Required by:
- requests (>=1.26.18,<2.0)
- boto3 (>=1.26.0)
Resolution Options:
1. uv add "urllib3>=1.26.18,<2.0"
2. uv add "requests>=2.32.0" (urllib3 2.x support)
Recommended:
uv add "urllib3>=1.26.18,<2.0" --locked
[project]
name = "my-api"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"sqlalchemy>=2.0",
"alembic>=1.13",
"pydantic>=2.0",
"httpx>=0.27.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"mypy>=1.8",
"ruff>=0.8",
"coverage>=7.4",
]
[project]
name = "my-webapp"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"django>=5.0",
"django-rest-framework>=3.15",
"psycopg[binary]>=3.1",
"django-cors-headers>=4.3",
"celery>=5.3",
"redis>=5.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-django>=4.8",
"mypy>=1.8",
"ruff>=0.8",
"django-stubs>=5.0",
]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
# 1. Install dependencies
uv sync
# 2. Run code
uv run python main.py
# 3. Run tests
uv run pytest
uv run mypy src/
uv run ruff check src/
# 4. Commit after adding package
uv add new-package
git add pyproject.toml uv.lock
git commit -m "deps: add new-package"
- uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Install dependencies
run: uv sync --frozen
- name: Run tests
run: uv run pytest --cov
- name: Type check
run: uv run mypy src/
FROM python:3.11-slim
# Install uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
# Install dependencies
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev
# Copy source
COPY . .
CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0"]
# Check dependency tree
uv tree
# Clean cache
uv cache clean
# Regenerate lock file
rm uv.lock && uv lock
# Recreate virtual environment
rm -rf .venv && uv sync
# Verify lock file sync
uv lock --check
[dependency-groups]
dev = ["pytest>=8.0", "mypy>=1.8"] # Development
test = ["pytest>=8.0", "coverage>=7"] # Testing
docs = ["sphinx>=7.0", "furo>=2024"] # Documentation
| Command | Description |
|---------|-------------|
| uv init | Initialize project |
| uv add [pkg] | Add package |
| uv sync | Install dependencies |
| uv lock --upgrade | Update dependencies |
| uv tree | Dependency tree |
| uv lock --check | Validate configuration |
testing
사용자 계획을 기존 도메인 모델에 대해 stress-test하는 인터뷰 세션. 용어를 날카롭게 다듬고, 결정이 굳어질 때마다 CONTEXT.md(도메인 어휘 사전)와 ADR을 인라인으로 갱신한다. 새 기능 요구사항 탐색은 `/brainstorm`을, 기존 도메인 모델·용어와의 정합성 점검은 이 스킬을 사용한다.
development
# Excel (XLSX) Spreadsheet Skill Claude Code supports comprehensive spreadsheet operations through the **xlsx** skill, enabling creation, editing, and analysis of Excel files (.xlsx, .xlsm, .csv, .tsv). ## Trigger - When user needs Excel spreadsheet creation or editing - Financial modeling or data analysis required - Spreadsheet formulas and calculations needed - Data import from CSV/TSV files ## Core Capabilities **Primary functions include:** - Creating new spreadsheets with formulas and f
tools
Generate structured implementation workflows from PRDs and feature requirements
development
실시간 통신 설계 가이드를 실행합니다.