release
Create a new release — updates CHANGELOG.md, commits, and tags. Use when the user wants to cut a release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new release — updates CHANGELOG.md, commits, and tags. Use when the user wants to cut a release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a commit from current changes with an appropriate message. Handles OpenSpec change lifecycle (verify, archive) and CHANGELOG updates automatically.
Finalize a change - archive if needed, commit if needed, rebase onto main and fast-forward main.
Build and install asylum for the host platform from the current source tree. Use when the user wants to test local changes.
| name | release |
| description | Create a new release — updates CHANGELOG.md, commits, and tags. Use when the user wants to cut a release. |
| disable-model-invocation | true |
| argument-hint | [version] |
Create a new release for this project.
Version: $ARGUMENTS
If a version is provided (e.g., /release 0.3.0), use it. If no version is provided, determine the latest git tag (e.g., v0.2.1), increment the patch number by one (e.g., 0.2.2), and use that.
Steps
Verify branch
Run git branch --show-current. If the current branch is not main, abort with:
"Releases must be created from the main branch. Current branch: <branch>."
Check for uncommitted changes
Run git status to check for uncommitted changes (staged or unstaged, excluding untracked files).
If there are uncommitted changes:
Ensure CHANGELOG.md is up to date
Read CHANGELOG.md and check the ## Unreleased section.
Run git log <last-tag>..HEAD --oneline --no-merges to see all commits since the last release.
Compare the commits against the unreleased changelog entries. If significant changes are missing from the changelog:
If the Unreleased section is empty or has no meaningful entries:
Clean up and organize changelog entries
Before moving entries to the versioned section, process the unreleased entries:
Move entries to a versioned section and add summary
In CHANGELOG.md:
## Unreleased content with an empty Unreleased section## <version> — YYYY-MM-DD (today's date)### Added section. The summary should highlight the most important user-facing changes in plain language — think "what would someone care about when deciding to upgrade?" Don't just list categories.The result should look like:
## Unreleased
## 0.3.0 — 2026-03-18
Summary text goes here. Two to three sentences covering the highlights.
### Added
- ...
Commit and tag
CHANGELOG.md (and any files from step 1 if the user chose to commit)Release v<version>git tag v<version> -m "v<version>"Summary
Show:
git push origin main --tags to trigger the release workflowDo NOT push automatically — let the user decide when to push.