Designs and maintains Python CI workflows using uv, pytest, Ruff, mypy, package build checks, dependency caching, and Python version matrices. Keeps local and CI commands aligned.
Ships in python-skills. 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.
Read when SKILL.md points to them.
Make Python CI prove the same behavior maintainers care about locally.
The practical job is to choose Python setup, uv installation, dependency sync, pytest, Ruff, mypy, package-build checks, path filters, and matrix scope without making CI broader or noisier than the project needs.
Use repo-local files, checked-out dependency sources, Dash MCP or Dash HTTP for installed docsets, and then official project documentation when Dash/local coverage is missing or stale:
rg --files -g 'pyproject.toml' -g 'uv.lock' -g '.python-version' -g '.github/workflows/*.yml' -g '.github/workflows/*.yaml'
rg --files .github/workflows -g '*.yml' -g '*.yaml'
requires-python.python-versionpython-versionFor local development, prefer the narrowest useful shape:
uv sync --dev
uv run pytest
uv run ruff check .
uv run mypy .
Add formatting verification only when the repo enforces Ruff formatting:
uv run ruff format --check .
Add package validation only for package surfaces:
uv build
For reproducible CI in a repository that commits uv.lock, use a locked sync.
Include all extras only when the job intentionally validates every extra:
# Typical locked CI job
uv sync --locked --dev
# Use only when every optional feature is part of this job's contract
uv sync --locked --all-extras --dev
Do not copy --all-extras into application CI by default. A service with no
published extras should validate its actual runtime and development dependency
groups instead.
For workspaces, target package-specific jobs explicitly when the repo does not need a full workspace sweep:
uv run --package <package-name> pytest
uv run --package <package-name> mypy .
uv build --package <package-name>
Use the repo's existing workflow style first.
For new GitHub Actions workflows:
uv through the official setup action or documented installer pathuv sync --locked --dev when the repository commits uv.lock; add
--all-extras only when the job intentionally validates all extrasReturn:
Existing CI: workflows, Python versions, uv setup, and checks.Local parity: local commands CI should mirror.Change: workflow, matrix, cache, package build, or docs update.Commands: exact local commands and CI job commands.Residual risk: checks still manual, secrets needed, or matrix not covered.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/python-skills:python-ci-workflowfrom python-skills
npx claudepluginhub gaelic-ghost/socket --plugin python-skills6 skills in this plugin
/diagnose-python-projectDiagnose Python uv sync, lock, import, test, Ruff, mypy, FastAPI, FastMCP, packaging, and CI failures with concrete phase classification and next checks./python-package-workflowValidate Python package surfaces with pyproject metadata, uv-managed builds, dependency boundaries, local smoke checks, semantic versioning, and release-boundary guidance./python-testing-workflowSet up, run, and improve Python tests in uv projects and workspaces. Use for pytest configuration, focused and package-targeted runs, fixtures, parametrization, async and integration tests, coverage, CI parity, or failure triage.Other plugins' skills for the same job