MacHu-GWU/sqlalchemy_upsert_kit-project / .claude/skills/pywf-oss-release
pywf-oss-release
VerifiedRelease a new version of a pywf open-source Python library: bump the version, make sure the changelog, tests, and docs are ready, then publish to PyPI and create the GitHub release, asking for the user's yes before each public step. Use when the user asks to release, publish, ship, or cut a new version.
Take the repo from "the change is done" to "the version is on PyPI and tagged on GitHub". Stop for the user's yes before every step that cannot be undone.
Read ../pywf-oss-base/SKILL.md, then:
- ../pywf-oss-base/references/01-secrets.md
- ../pywf-oss-base/references/03-mise.md
- ../pywf-oss-base/references/22-versioning-and-changelog.md
- ../pywf-oss-base/references/23-release.md
Steps
- Version.
- Show the last tag and the current
pyproject.tomlversion. - If they are equal, propose a bump (PATCH, MINOR, or MAJOR) with a one-line reason from the
api.pydiff, and apply it after the user's yes.
- Show the last tag and the current
- Changelog. If
release-history.rsthas no section for the target version, or a stale one, run thepywf-oss-changelogsteps first. - Checks.
mise run cov,mise run lint, andmise run build-docpass.git statusis clean, apart from the version bump (pyproject.toml,uv.lock) and the changelog edit.- On any failure, report it and stop.
- Commit and push. Show the commit message; commit and push to
mainafter the user's yes. - Publish. Ask: "Publish
<package_name><version>to PyPI?" After the user's yes, runmise run publish. - GitHub release. Ask, and run
mise run releaseafter the user's yes. - Report. Give the PyPI URL (printed by
publish) and the release URL.
Next step (optional): pywf-oss-write-pypi-skill.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |