بنقرة واحدة
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 المهني
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.
Create a new release with version bump, release notes, commit, and tag
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 | false |
| 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:
README.md — the version in the footer <strong> tagpromo/src/ui/SidebarMock.tsx — the version string in the sidebar mock UI (if changed)Auto-updated (no manual action needed):
site/ NavBar — reads __APP_VERSION__ injected from root package.json at build timesrc/shared/frameConstants.ts — reads package.json version at runtimeMove 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.jsonpackage-lock.json (regenerate with npm install --package-lock-only --ignore-scripts)src/shared/frameTemplates.jssrc/shared/projectInit.jsscripts/hooks/*.jsREADME.mdCHANGELOG.mdRELEASE_NOTES.mdCHANGELOG.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