chore(claude): add new-release skill#270
Merged
Merged
Conversation
tikinang
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
chore - tooling, housekeeping
Description
Adds a project-level Claude Code skill at
.claude/skills/new-release/that walks the existing zcli release flow end-to-end:main, clean tree, in sync withorigin/main,main.ymlgreen at HEAD.CHANGELOG.mdentry classified by conventional-commit prefix, branchesrelease/vX.Y.Z, commits, pushes, and opens a PR. Pre-releases skip this entirely.main, re-checks CI, surfaces drift commits.compare/...Full Changelog link) instead of--generate-notes; writes them to a temp file; runsgh release create --target main --notes-file ...(plus--prereleasefor rcs).release.ymlrun (goreleaser,publish-npm,smoke-test) and reports per-job outcomes.latestvsnext), and returns the release URL.Key safety property: every mutating action (
git push,gh pr create,gh release create,gh release delete,gh run rerun) shows the exact command and waits for explicit user confirmation before running. Read-onlyghcalls (run list,run view,release view) flow freely so monitoring stays snappy.The skill is wired to trigger on phrases like "cut a release", "new release", "ship a new version", "promote to stable", and also re-triggers on "the release PR is merged" / "continue the release" to enter phase 2.
Test plan
-rc0bump, confirm it skips step 3 (no PR) and lands at step 5 directly.release/vX.Y.ZPR opens with a sensible CHANGELOG draft, then after merge the skill resumes correctly and creates the release with custom notes (not--generate-notes).gh/git pushcall.Breaking changes
None.