From cli-power-skills
Use when managing Python packages, virtual environments, or linting and formatting Python code
How this skill is triggered — by the user, by Claude, or both
Slash command
/cli-power-skills:python-toolingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Installing Python packages or creating virtual environments
| Tool | Purpose | Structured output |
|---|---|---|
| uv | Ultra-fast Python package manager and venv tool (Rust, 10-100x faster than pip) | N/A (status messages) |
| Ruff | Extremely fast Python linter + formatter (Rust, replaces black + flake8 + isort) | --output-format json for JSON |
uv venv
uv venv --python 3.12
uv pip install requests pandas numpy
uv pip install -r requirements.txt
uv run --with requests --with beautifulsoup4 script.py
uv run script.py
Where script.py has:
# /// script
# requires-python = ">=3.12"
# dependencies = ["requests", "rich"]
# ///
uv init myproject
cd myproject
uv add requests
uv add fastapi uvicorn
uv add --dev pytest pytest-cov
ruff check --output-format json .
ruff check --select E .
ruff check --fix .
ruff format .
ruff format --check .
ruff check --select F401,I .
uv init myproject && cd myproject
uv add requests fastapi
ruff check --fix .
ruff format .
Each stage: uv scaffolds project and installs deps, Ruff fixes lint issues, Ruff formats code.
ruff check --output-format json . | jq 'group_by(.code) | map({rule: .[0].code, count: length}) | sort_by(-.count)'
Each stage: Ruff lints to JSON, jq aggregates issue counts by rule code.
uv sync && uv run pytest -v
Each stage: uv installs exact locked dependencies, runs pytest in the managed environment.
pip / pip3 for package installation — 10-100x faster, better dependency resolutionpython -m venv for virtual environments — faster creation, better Python version managementblack + flake8 + isort — single tool replaces all three, 10-100x fastertwine or flit may be expected by the projectnpx claudepluginhub ykotik/cli-power-skills --plugin cli-power-skillsSets up modern Python projects with uv package manager for fast dependencies, pyproject.toml config, virtual environments, ruff linting/formatting, src layout, and PyPI publishing.
Configures Python projects with uv, mise, ruff, basedpyright, and pytest. Use for setting up pyproject.toml, builds, environments, linting, formatting, type checking, and testing.