一键导入
create-release
Create a release branch, tag, and GitHub release for Backend.AI WebUI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a release branch, tag, and GitHub release for Backend.AI WebUI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bump version to next alpha and update dependencies after release.
Enhance React component documentation with JSDoc, improved Storybook stories, and autodoc configuration.
Create or Update BUI Component Story (project)
Update React components with JSDoc and enhanced Storybook stories with autodoc functionality.
Generate Relay-based Nodes components with BAITable integration following established patterns (BAIUserNodes, SessionNodes, BAISchedulingHistoryNodes, BAIRouteNodes). Automatically creates component file with GraphQL fragment, type definitions, column configurations, and customization patterns. Minimal user input required - just provide GraphQL type name and the skill generates a complete starting template.
Use when creating a new React component under `react/src/` or `packages/backend.ai-ui/src/`, or refactoring one's file layout, import order, `'use memo'` placement, hook call order, or prop interface. Covers naming conventions (`BAI*`, `*Nodes`, `*Page`) and React 19 rules.
| 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 Graphite) because release branches follow a different workflow than feature PRs