with one click
release
Draft a new GitHub release with version bump
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Draft a new GitHub release with version bump
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | release |
| description | Draft a new GitHub release with version bump |
| allowed-tools | Bash, Read, Edit, Glob, Grep, Task, WebFetch |
Create a new release for plundrio. The user may provide context about what changed (e.g. "two community contributions", "bug fix release").
Follow these steps IN ORDER. Do not skip any step.
git tag --sort=-v:refname | head -1 to find the latest git tag (this is the last released version)gh release list --limit 5 to check for any existing draft or pre-release entries — if a draft/pre-release already exists for the next version, update it instead of creating a new oneflake.nix to find the current version = "X.Y.Z"; — if it's already bumped past the latest tag, use that version (don't bump again)CRITICAL: Only include changes in the commit range. If a previous release already covers some commits (e.g. v0.10.5 covers v0.10.4..v0.10.5), the new release notes must only cover commits AFTER that release. Check gh release view <prev-version> --json body to see what's already documented. The Full Changelog link must use the correct base version (the immediately preceding release, not an older one).
git log <baseline>..HEAD --oneline to see commits in scopegh pr list --state merged --limit 20 and cross-reference with the commits to identify merged PRsgh pr view <number> --json title,body,author,number to get detailschore: next version) and CI-only changes unless significantThe CI uses DeterminateSystems/flake-checker-action with fail-mode: true and a 30-day max age on nixpkgs. Stale inputs will fail the release workflow.
nix flake update to update all flake inputsnix develop --command gomod2nix generate to regenerate gomod2nix.toml in case Go dependencies changednix build .#plundrio to verify the build still worksgit add flake.lock gomod2nix.toml && git commit -m "chore: update flake inputs"Skip this step if flake.nix already has a version newer than the latest git tag.
flake.nix and find the current version = "X.Y.Z"; linegit add flake.nix && git commit -m "chore: next version is vX.Y.Z"git push origin main (pull --rebase first if rejected)If a draft/pre-release already exists for this version (from step 1), use gh release edit. Otherwise use gh release create --draft.
Format the release notes like this:
gh release create vX.Y.Z --draft --title "vX.Y.Z" --notes "$(cat <<'EOF'
## What's Changed
### Features
* <description> (closes #<number>)
### Bug Fixes
* <description> by @<author> in #<number>
### Improvements
* <description> by @<author> in #<number>
## New Contributors
* @<user> made their first contribution in #<number>
**Full Changelog**: https://github.com/elsbrock/plundrio/compare/vPREV...vNEW
EOF
)"
Categorize changes into sections as appropriate:
Only include sections that have entries. Only include "New Contributors" if there are first-time contributors. Check with gh api repos/elsbrock/plundrio/contributors if unsure.
Print the release URL and a summary of what's included.
Use this as context for what changed in this release (may be empty).