/core:pypi-release --tag vX.Y.Zfrom core
Runs the PyPI release runbook — build, twine check, version bump, tag, upload. Use when the user wants a Python package published. Not for project scaffolding.
Ships in core. 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; scripts run unread.
Takes a Python package from a clean working tree to a published PyPI release: pre-flight, build, check, rehearse, tag, upload, verify.
CANARY: pypi-release-loaded-2026-06-04-ea39c2b5-820c8d070baea5a5
Load when a package is being published to PyPI or TestPyPI. Pre-merge
production sign-off (compatibility, observability, rollback) belongs to the
ship skill; the two compose.
Load automated release when the project
should publish from CI on a version bump instead of by hand (setting up or
fixing a release.yml, trusted publishing, an approval gate) — it holds the
workflow, the owner's one-time setup, and when to prefer it over this runbook.
From the project root:
python3 "${CLAUDE_SKILL_DIR}/scripts/validate_release.py" --tag vX.Y.Z
curl -s -o /dev/null -w "%{http_code}\n" https://pypi.org/pypi/PKG/X.Y.Z/json
Resolve every mismatch first: version_consistent: false means pyproject.toml
and __version__ disagree (dynamic = ["version"] with hatch-vcs removes the
second string); tag_matches_version: false means the tag does not match the
code; dist.stale lists old artifacts. The curl should print 404 — a 200
means the version exists, and PyPI never accepts a re-upload of a
name==version, even after a yank, so bump instead.
rm -rf dist/ # twine uploads everything in dist/, old builds included
uv build
uvx twine check dist/*
Rendering and metadata problems only show after upload, and a real upload spends the version, so rehearse first:
uvx twine upload --repository testpypi dist/*
uv run --with PKG --index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ python -c "import PKG; print(PKG.__version__)"
The extra index supplies dependencies TestPyPI rarely hosts.
Tag immediately before uploading, so a failed upload leaves at most a tag to move rather than a mismatch with PyPI:
PyPI never accepts a re-upload and a pushed tag is public, so stop here and get
the user's explicit go-ahead for this version, whatever autonomy says.
git tag vX.Y.Z && git push origin vX.Y.Z
uvx twine upload dist/*
uv run --with PKG==X.Y.Z python -c "import PKG; print(PKG.__version__)"
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
23 skills in this plugin
/arsenal-initRuns the claude-arsenal installer (the init skill) under a name that does not collide with Claude Code's built-in /init. Use when the user types /arsenal-init. Not for writing a CLAUDE.md./bugreportReads Android bugreports (dumpstate .txt or .zip) through a byte-offset index — device summary, ranked checkup, section lookup, merged timeline, redacted copies, report diffs. Use when the user has a bugreport to read or diagnose. Not for live-device adb sessions or logcat-only files./coverage-gapsRanks the most valuable missing tests from coverage.py's coverage.json. Use when the user asks which tests are missing. Not for non-Python code./dep-upgradeUpgrades a uv project's dependencies behind pip-audit and tests. Use when the user wants dependencies upgraded or vuln-checked. Not for adding one (uv add)./designTurns an approved spec into contracts, risks and a gated task plan. Use when the user plans how to build scoped work. Not for investigation (specify)./executionImplements a planned task test-first, through to a merge-ready PR. Use when the user is building what a plan describes. Not for one-off scripts.npx claudepluginhub nuncaeslupus/claude-arsenal --plugin core