/superclaude-plusplus:uv-packagefrom superclaude-plusplus
Manages Python dependencies, virtual environments, project initialization, and lock files using the uv package manager. Provides commands for adding/removing packages, resolving conflicts, and generating pyproject.toml templates.
Ships in superclaude-plusplus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub excatt/superclaude-plusplus --plugin superclaude-plusplus44 skills in this plugin
/adaptAdapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility./animateReview a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive./auditRun project-specific verification rules (business logic, architecture patterns, naming) that linters cannot catch; bootstraps rules if none exist. Not for build/lint/test (/verify)./bolderAmplify safe or boring designs to make them more visually interesting and stimulating. Increases impact while maintaining usability. Use when the user says the design looks bland, generic, too safe, lacks personality, or wants more visual impact and character./brainstormInteractive requirements discovery through Socratic dialogue and systematic exploration/build-fixExpert skill for resolving build errors with minimal change principle. Use for build failures, type errors, compile errors. Keywords: build, fix, error, compile, typescript, type, resolve.Other plugins' skills for the same job