用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lablup/backend.ai-webui --skill bump-alpha-version命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | bump-alpha-version |
| description | Bump version to next alpha and update dependencies after release. |
| argument-hint | ["26.1.0-alpha.0"] |
| model | sonnet |
| disable-model-invocation | true |
After a release, this command updates the project to the next alpha version and updates all dependencies within semver-compatible ranges.
$ARGUMENTS specifies the new alpha version (e.g., 26.1.0-alpha.0).
If no version is specified, automatically determine the next version options:
Read current version from root package.json
Parse the version: Extract MAJOR.MINOR.PATCH (ignore any existing prerelease suffix)
Generate three options for the user to choose from:
MAJOR.MINOR.(PATCH+1)-alpha.0 (e.g., 26.1.1-alpha.0)MAJOR.(MINOR+1).0-alpha.0 (e.g., 26.2.0-alpha.0)(MAJOR+1).1.0-alpha.0 (e.g., 27.1.0-alpha.0)Use AskUserQuestion to let the user select:
AskUserQuestion({
questions: [{
question: "Which version bump do you want for the next alpha release?",
header: "Version",
multiSelect: false,
options: [
{
label: "26.1.1-alpha.0 (Patch)",
description: "Patch version bump - for small fixes and updates"
},
{
label: "26.2.0-alpha.0 (Minor)",
description: "Minor version bump - for new features (Recommended)"
},
{
label: "27.1.0-alpha.0 (Major)",
description: "Major version bump - for breaking changes"
}
]
}]
})
Note: If the current version already has -alpha.N suffix, strip it before calculating the next versions.
X.Y.Z-alpha.N26.1.0-alpha.0, 26.2.0-alpha.1version field in the root /package.json to the new alpha versionmake versiontagversion.jsonindex.htmlmanifest.jsonreact/package.jsonpackages/backend.ai-ui/package.jsonelectron-app/package.jsonUpdate dependencies in the following package.json files within semver-compatible ranges:
/packages/backend.ai-ui/package.json/react/package.jsonImportant Rules:
pnpm-workspace.yaml first to check the following settings:
minimumReleaseAge: Minimum age in minutes for package versions (e.g., 10080 = 7 days)minimumReleaseAgeExclude: List of packages exempt from the minimum age rulepnpm update with appropriate flags for semver-compatible updatesRun pnpm install to update the lockfile with new dependency versions.
After updating dependencies, verify everything works correctly:
pnpm install to ensure no errors in dependency resolution# Check TypeScript errors in react package
pnpm --prefix ./react run typecheck
# Check TypeScript errors in backend.ai-ui package
pnpm --prefix ./packages/backend.ai-ui run typecheck
# Or run tsc directly if typecheck script is not available
pnpm --prefix ./react exec tsc --noEmit
pnpm --prefix ./packages/backend.ai-ui exec tsc --noEmit
If TypeScript errors occur, fix them before proceeding:
@types/* packages)Run build to ensure everything compiles:
pnpm run build
# Update root package.json version (use Edit tool)
# Propagate version to all files
make versiontag
# Update dependencies in workspace packages
pnpm update --recursive --latest --workspace
# Or update specific packages
cd react && pnpm update
cd packages/backend.ai-ui && pnpm update
# If engine constraints block:
pnpm update --ignore-engines
# Install to update lockfile
pnpm install
After completion, provide a summary including:
make versiontagUser: /bump-alpha-version 26.1.0-alpha.0
Claude:
1. Updates package.json version to 26.1.0-alpha.0
2. Runs make versiontag
3. Updates dependencies in react/ and packages/backend.ai-ui/
4. Runs pnpm install
5. Runs typecheck + build
6. Provides summary of all changes