Imported from pauljasperdev/skills (
skills/release/SKILL.md). Install upstream withnpx skills add pauljasperdev/skills --skill release. Copyright stays with the author.
Release
- Read the repository's release procedure and applicable agent guidance. Resolve the canonical repository and fetch its
pre,main, and tags. Use the remote branch heads even when the current checkout is a feature branch. Inspect the commits and diff betweenmainandpre, using the latest release tag for release context. If there are no changes to promote, report that and stop. - Find the existing open PR from this repository's
prebranch tomain, or create it when absent. Use the titleReleaseand a concise summary of the changes being promoted. Keep one promotion PR; release preparation leaves source files and the checkout unchanged. Do not create release branches or preparation PRs, bump manifest versions, commit, push to protected branches, or change branch protections. - Select the bump through the promotion PR's labels: no bump label for patch (the default),
release:minorfor an explicitly requested minor release, orrelease:majorfor an explicitly requested major release. Remove the other bump labels so the selection is unambiguous. Create the requested label if it does not exist. CI derives the version from stable Git tags, reserves an immutable tag on the production merge commit, and publishes a GitHub Release after successful deployment. - Verify the PR has this repository's
preas its head andmainas its base, with the intended bump selection. Return its link and stop. The owner merges with a merge commit; do not merge, enable auto-merge, tag, publish, or deploy as part of this skill.