用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lablup/backend.ai-webui --skill create-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | create-release |
| description | Create a release branch, tag, and GitHub release for Backend.AI WebUI. |
| argument-hint | [26.4.0 | 26.4.0-alpha.1 | 26.4.0-beta.0] |
| model | sonnet |
| disable-model-invocation | true |
Create a release branch, tag, and GitHub release for Backend.AI WebUI.
$ARGUMENTS specifies the version to release (e.g., 26.4.0, 26.4.0-alpha.1, 26.4.0-beta.0).
Automatically determine the next version:
package.jsonMAJOR.MINOR.PATCH and any prerelease suffixAskUserQuestion:AskUserQuestion({
questions: [{
question: "Which version do you want to release?",
header: "Release Version",
multiSelect: false,
options: [
{ label: "MAJOR.MINOR.PATCH (Stable Release)", description: "Release as stable version" },
{ label: "MAJOR.MINOR.PATCH-alpha.N (Alpha)", description: "Alpha pre-release for testing" },
{ label: "MAJOR.MINOR.PATCH-beta.N (Beta)", description: "Beta pre-release for wider testing" },
{ label: "MAJOR.MINOR.PATCH-rc.N (Release Candidate)", description: "Release candidate before stable" },
{ label: "Custom version", description: "Enter a custom version string" }
]
}]
})
Adjust the option labels with actual computed versions based on the current version:
26.4.0-alpha.0: suggest 26.4.0-alpha.1, 26.4.0-beta.0, 26.4.0-rc.0, 26.4.026.4.0: suggest 26.4.1, 26.5.0-alpha.0, 26.5.0, 27.0.0-alpha.0If user selects "Custom version", ask them to type it.
main and working directory is clean (git status)X.Y.Z or X.Y.Z-{alpha|beta|rc}.NCreate a branch named MAJOR.MINOR (e.g., 26.4) from main:
git checkout -b 26.4
If the branch already exists, check it out instead and confirm with the user.
Use the Edit tool to set the version field in root /package.json to the target version (e.g., 26.4.0 or 26.4.0-alpha.1).
make versiontagThis propagates the version to all related files:
version.jsonindex.htmlmanifest.jsonreact/package.jsonpackages/backend.ai-ui/package.jsonelectron-app/package.jsonmake versiontag
Stage all modified files and commit:
git add -A
git commit -m "release: v{VERSION}"
git tag v{VERSION}
git push -u origin {MAJOR.MINOR}
git push origin v{VERSION}
Determine the base tag for auto-generated release notes:
List all tags sorted by version:
git tag --sort=-version:refname
Determine the base tag:
v26.4.0):
-alpha, -beta, -rc suffix)v26.4.0-alpha.1):
Create the release:
gh release create v{VERSION} \
--title "v{VERSION}" \
--generate-notes \
--notes-start-tag {BASE_TAG} \
--target {BRANCH}
For prerelease versions (alpha/beta/rc), add --prerelease flag.
Immediately report the release link. As soon as the gh release create
command returns the release URL, surface it to the user right away in a
short, standalone message (e.g. ✅ Release created: <url>) — do not wait
until the final Output Summary. Then proceed to the next step without
pausing for confirmation.
After the GitHub release is created, invoke the /fw:release-note skill to improve and format the release notes:
/fw:release-note v{VERSION}
This will:
After completion, provide:
User: /create-release 26.4.0
1. Validates main branch is clean
2. Creates branch 26.4
3. Updates package.json to 26.4.0
4. Runs make versiontag
5. Commits: "release: v26.4.0"
6. Tags: v26.4.0
7. Pushes branch 26.4 and tag v26.4.0
8. Creates GitHub release (base: v26.3.0)
9. Runs /fw:release-note v26.4.0 to improve notes
User: /create-release 26.4.0-beta.0
1. Validates main branch is clean
2. Creates branch 26.4
3. Updates package.json to 26.4.0-beta.0
4. Runs make versiontag
5. Commits: "release: v26.4.0-beta.0"
6. Tags: v26.4.0-beta.0
7. Pushes branch 26.4 and tag v26.4.0-beta.0
8. Creates GitHub pre-release (base: v26.4.0-alpha.1)
9. Runs /fw:release-note v26.4.0-beta.0 to improve notes
git directly for branch/tag operations (not gh stack) because release branches follow a different workflow than feature PRs