Validates Python package metadata in pyproject.toml, runs uv-managed builds, checks dependency boundaries, and guides release preparation. Best before publication.
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.
Validate a Python package before release or publication.
The practical job is to make package metadata explicit, build and test the package, inspect the generated artifact when needed, and keep publishing as an explicit release step rather than an accidental side effect.
pyproject.toml package metadata, versioning, dependencies, optional dependencies, or release notes change.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:
pyproject.tomlTranslate documentation into the specific package, metadata, and release decision in front of you.
rg --files -g 'pyproject.toml' -g 'uv.lock' -g 'README*' -g 'LICENSE*' -g 'src/**/*.py' -g '*.py'
nameversion or repository-owned version sourcedescriptionreadmerequires-pythonlicenseauthors or maintainersclassifiersdependencies[project].dependencies[project.optional-dependencies][dependency-groups][tool.uv.sources]uv sync --dev
uv run pytest
uv run ruff check .
uv run mypy .
uv build
For workspaces, validate package members deliberately:
uv run --package <package-name> pytest
uv build --package <package-name>
Do not assume every workspace member should publish. Services, examples, internal tools, and test fixtures are often intentionally unpublished.
When package behavior is public or packaging changed materially, create a temporary consumer outside the package tree and install the built artifact there. Verify both the wheel and sdist when the project publishes both:
uv run --isolated --no-project --with dist/*.whl tests/smoke_test.py
uv run --isolated --no-project --with dist/*.tar.gz tests/smoke_test.py
Keep tests/smoke_test.py deliberately small: import the public package, run
one representative public API or CLI command, and fail if required package data
is missing. Use a disposable directory instead when the repository does not
ship a smoke-test script.
Keep the smoke check small:
Do not commit temporary consumer directories or generated artifacts unless the repo intentionally tracks release evidence.
Return:
Package boundary: package name and path.Metadata: changed or verified package metadata.Artifacts: built wheel or sdist path if created.Validation: exact commands run and results.Publish status: not published, blocked, or explicitly published by user request.Residual risk: missing smoke checks, external index state, or release notes still needed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/python-skills:python-package-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-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