release
Create GitHub releases for this project or similar GitHub repositories. Use when the user asks to release the current master/main branch, create a version tag, publish a GitHub Release, write release notes, check release workflow status, or follow the repository's release process.
The English summary is being prepared. Showing the original description.
Files included (2)
- SKILL.md3.1 KB
- agents/openai.yaml186 B
SKILL.md (original)
Review the instructions the agent will receive before you install.
Release
Workflow
-
Confirm the target branch, version, and tag style.
- Prefer the current branch only when the user explicitly asks for it. For this repository, releases are cut from
master. - Inspect existing tags with
git tag --sort=-version:refnameandgit ls-remote --tags origin. - Match the existing tag format. This repository uses plain versions such as
1.5.5, notv1.5.5.
- Prefer the current branch only when the user explicitly asks for it. For this repository, releases are cut from
-
Verify local and remote state.
- Run
git status --short; do not release from a dirty worktree unless the user explicitly approves. - Run
git rev-parse HEADandgit ls-remote origin refs/heads/<branch>; confirm the requested release target matches the remote branch tip. - If local is behind or differs from remote, stop and ask the user how to proceed.
- Run
-
Review changes since the previous release.
- Identify the previous tag from existing releases/tags.
- Use
git log --oneline <previous-tag>..HEAD. - Inspect meaningful commits with
git show --statorgit show --name-onlyas needed. - Prefer release notes based on actual changes over generated notes alone.
-
Write curated release notes.
- Do not rely only on
--generate-noteswhen the user expects readable Changes. - Match the established format used by older releases such as
1.5.3:
- Do not rely only on
## Changes
- **Short change title** - Concrete user-facing or operational impact
- **Another change title** - Concrete impact
- Keep bullets concise, accurate, and grounded in commits.
- Include only notable changes; avoid noisy internal churn unless it affects users or operations.
-
Create the GitHub Release.
- Verify the tag/release does not already exist with
gh release view <version>. - Use
gh release create <version> --target <branch> --title <version> --notes-file <file>when writing notes from a temp file. - If a release already exists, ask before editing, deleting, or recreating it.
- Verify the tag/release does not already exist with
-
Confirm creation and report deployment status policy.
- Verify the release with
gh release view <version> --json tagName,name,url,targetCommitish. - Verify the tag points at the intended commit with
git ls-remote --tags origin refs/tags/<version>. - If the repository triggers deployment or publish workflows, check that they started with
gh run list. - Do not wait for deploy/publish completion by default. Tell the user the workflow has started and ask whether they want you to wait or inspect progress.
- Verify the release with
Safety
- Release commands affect shared GitHub state. Use exact version and branch names from the user or repository history.
- Do not invent release notes from memory. Read commits and existing release style first.
- Do not create a different tag prefix than existing releases without asking.
- Do not wait on long-running deployment workflows unless the user asks you to monitor them.
Reviews
No reviews yet. Tell others what you thought.
Comments
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.