Aligns Python formatting, linting, type checking, and test configuration around uv. Useful when adding or changing Ruff, mypy, pytest, or dependency groups.
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.
Keep Python formatting, linting, type checking, and test tooling explicit.
The practical job is to respect existing repo conventions, use uv for commands and dependency groups, keep Ruff and mypy behavior understandable, and make local validation match CI.
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 'ruff.toml' -g '.ruff.toml' -g 'mypy.ini' -g '.mypy.ini' -g 'pytest.ini' -g 'tox.ini' -g 'noxfile.py' -g '.pre-commit-config.yaml' -g '.github/workflows/*.yml' -g '.github/workflows/*.yaml'
uv syncpytestUse Ruff lint checks for code-quality and style rules:
uv run ruff check .
Use Ruff formatting only when the repo has adopted it or the user asked for formatting:
uv run ruff format .
uv run ruff format --check .
Keep formatting-only sweeps separate from behavior changes when practical.
Respect existing strictness first.
When adding type-checking:
Do not suppress type errors to make a check pass unless the suppression is narrow and documented.
Keep pytest configuration close to the repo's existing pattern.
Use pyproject.toml for new configuration unless the repo already keeps pytest settings in a dedicated file.
Register custom marks to avoid marker warnings, and keep fixtures scoped narrowly unless expensive setup requires a wider scope.
Keep maintainer tools in dependency groups rather than runtime dependencies:
[dependency-groups]
dev = [
"pytest",
"ruff",
"mypy",
]
Use repo-local version bounds when the project already pins tooling. Do not introduce global-tool assumptions into docs or CI.
Return:
Existing tooling: pytest, Ruff, mypy, dependency groups, CI, and custom scripts.Change: documentation, dependency, config, formatting, linting, typing, or CI alignment.Commands: exact uv commands.Validation: results from relevant checks.Residual risk: anything still manual or intentionally unenforced.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/python-skills:python-tooling-style-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-ci-workflowDesign and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity./python-package-workflowValidate Python package surfaces with pyproject metadata, uv-managed builds, dependency boundaries, local smoke checks, semantic versioning, and release-boundary guidance.Other plugins' skills for the same job