免费在 GitHub 公开
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.
中文简介正在准备中。当前显示原文说明。
集成工具GitHub
实测评分 未实测
查看安装方法包含的文件(2)
- SKILL.md3.1 KB
- agents/openai.yaml186 B
SKILL.md(原文)
安装前可以查看交给 AI 代理的指令内容。
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.
评价
还没有评价。欢迎分享你的使用感受。
评论
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。