一键导入
release
Create a new release with version bump, release notes, commit, and tag
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new release with version bump, release notes, commit, and tag
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new release with version bump, release notes, commit, and tag
Analyze project intelligence files and bootstrap SubFrame's STRUCTURE.json, PROJECT_NOTES.md, and initial sub-tasks from existing codebase context.
Run a code review and documentation audit on recent changes. Finds bugs, edge cases, missing docs, and type safety issues.
Sync all SubFrame documentation after feature work. Updates AGENTS.md lists, changelog, PROJECT_NOTES decisions, and STRUCTURE.json.
View and manage SubFrame Sub-Tasks. Use when starting work, completing tasks, checking what's pending, or creating new tasks from conversation.
Regenerate the IPC channel reference documentation from ipcChannels.ts type maps.
| name | release |
| description | Create a new release with version bump, release notes, commit, and tag |
| argument-hint | <patch|minor|major|x.y.z[-prerelease]> |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Edit, Write, Grep, Glob |
Create a release for SubFrame. The argument specifies the version bump type or an explicit version number.
Current version (from package.json):
!node -e "console.log(require('./package.json').version)"
Last 5 tags:
!git tag --sort=-v:refname | head -5
Recent commits (last 30):
!git log --oneline --no-decorate -30
Current branch:
!git branch --show-current
Working tree clean?
!git status --porcelain
Argument: $ARGUMENTS
main.npm run build and confirm it completes without errors.Parse the argument:
patch — bump PATCH, keep -beta suffix (e.g., 0.2.0-beta → 0.2.1-beta)minor — bump MINOR, reset PATCH, keep -beta suffix (e.g., 0.2.1-beta → 0.3.0-beta)major — bump MAJOR, reset MINOR+PATCH, drop -beta to produce first stable release (e.g., 0.3.0-beta → 1.0.0)stable — strip -beta suffix without changing version numbers (e.g., 0.3.0-beta → 0.3.0)x.y.z or x.y.z-beta (explicit) — use as-is, validate it's greater than currentfeat!, fix!, or BREAKING CHANGE -> MAJOR (goes stable)feat -> MINORfix/docs/perf/chore/refactor -> PATCHBeta versioning scheme: All 0.x.y versions use the -beta suffix (no numeric counter). The -beta suffix is preserved on patch/minor bumps and only dropped when going stable via major or stable.
Update the "version" field in package.json to the new version string. This is the single source of truth — FRAME_VERSION in src/shared/frameConstants.js reads from it automatically via require().
The version stamp is embedded in frameTemplates.js and propagated to all hook files. After changing package.json, rebuild to sync:
node scripts/build-templates.js && npm run generate:hooks
Verify with npm run verify:templates && npm run verify:hooks. Both must pass or CI will fail.
Stage the generated files alongside the release commit:
src/shared/frameTemplates.jsscripts/hooks/*.jsUpdate these version strings to match the new version:
docs/index.md — the "softwareVersion" field in the Schema.org JSON-LD structured data (in the frontmatter head array)docs/.vitepress/theme/components/NavBar.vue — the logo-version span text (e.g., Latest: v0.2.0)README.md — the version in the footer <strong> tagpromo/src/ui/SidebarMock.tsx — the version string in the sidebar mock UIMove items from ## [Unreleased] to a new ## [X.Y.Z] - YYYY-MM-DD section in CHANGELOG.md (keepachangelog format). Add a compare link at the bottom of the file. If there are no [Unreleased] entries, generate them from commits since last tag using Added/Changed/Fixed sections.
Write RELEASE_NOTES.md following the format in release-notes.md.
Analyze ALL commits since the last tag to build the notes. Group by category, be thorough about user-facing changes.
Show the draft to the user and ask for approval before continuing. They may want to adjust wording or add context.
Stage exactly these files:
package.jsonsrc/shared/frameTemplates.jsscripts/hooks/*.jsdocs/index.mddocs/.vitepress/theme/components/NavBar.vueREADME.mdpromo/src/ui/SidebarMock.tsxCHANGELOG.mdRELEASE_NOTES.mdCommit with message: chore(release): bump version to X.Y.Z
Create an annotated tag: git tag vX.Y.Z
Do NOT push. Tell the user:
Release committed and tagged as
vX.Y.Z. When ready, push with:git push origin main --tags