Skip to main content

github-release

Prepare or publish a GitHub release when requested, with optional Homebrew updates. Preparation alone does not authorize publication.

来源信息

仓库
nibzard/looper
最近来源活动
2026年11月3日 15:41
检测到的 SKILL.md 语言
英语
星标
16
Forks
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-release
description
Prepare or publish a GitHub release when requested, with optional Homebrew updates. Preparation alone does not authorize publication.
# Prepare and publish a release Follow the user's requested scope and the project's release rules. A version update, release review, or skill edit does not authorize publication. When publication is already authorized, complete the workflow without asking again. ## Workflow 1. Inspect the branch, remote, working tree, release instructions, and existing tags. Identify unrelated edits and the intended version. 2. Update the version using the project's normal method. A version file must contain only the version if the helper overwrites it. Interim builds may report a derived `<next patch>-dev.<N>` stamp; the bump commit itself must report the plain version. 3. Run the required checks against the final version and release artifacts. Record actual results. Skip checks only when explicitly allowed, and report the skipped checks. 4. Review the release diff, notes, target branch, and version. Commit only release changes using the project's message rules. Include any required context note. 5. If publication is authorized, tag the verified commit and push the intended branch and tag. Verify each result before the next action. 6. Create the requested release. Use a file for multiline release notes. Verify that the release exists. Do not silently skip a requested step. 7. After the tag is available, update a requested Homebrew formula using the downloaded archive's checksum. Verify the archive before hashing. Commit and push the formula separately when authorized. On failure, stop before the next external action. Report completed steps, remaining steps, and the exact failure. Inspect existing tags and releases before retrying. Do not delete or replace a published tag to recover. ## Helper Prefer the project's existing release process. When it has no suitable process, use the optional [scripts/release.sh](scripts/release.sh) helper from this skill's directory. Run it with the target repository as the working directory. The helper publishes a release; use it only within authorized scope. For preparation alone, perform steps 1 through 4 without this helper. Read [references/helper.md](references/helper.md) when using the helper. It explains dry runs, test gates, scoped staging, and recovery limits.
在 GitHub 查看