commit
Create a commit from current changes with an appropriate message. Handles OpenSpec change lifecycle (verify, archive) and CHANGELOG updates automatically.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a commit from current changes with an appropriate message. Handles OpenSpec change lifecycle (verify, archive) and CHANGELOG updates automatically.
用 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.
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.
基于 SOC 职业分类
| name | commit |
| description | Create a commit from current changes with an appropriate message. Handles OpenSpec change lifecycle (verify, archive) and CHANGELOG updates automatically. |
| disable-model-invocation | true |
Create a commit from the current working tree changes.
Steps
Assess current changes
Run git status (excluding untracked files) and git diff --stat to understand what's changed.
If there are no staged or unstaged changes, abort with: "Nothing to commit."
Check for active OpenSpec changes
Run openspec list --json to check for active (non-archived) changes.
For each active change:
tasks.md to check task completion statusIf changes relate to an active OpenSpec change:
a. Check task completion:
tasks.md for - [ ] (incomplete) vs - [x] (complete)b. Run verification if not already done this session:
opsx:verify for the changec. Archive the change:
opsx:archive for the changeUpdate documentation
If the changes being committed affect user-facing behavior (new features, new kits, changed config options, new commands, changed behavior), check whether the docs/ directory needs updating.
Relevant docs areas:
docs/kits/ — one page per kit, plus index.md with the kit tabledocs/configuration/ — config file format, options, flagsdocs/commands/ — CLI commands and subcommandsdocs/concepts/ — architecture concepts (agents, images, sessions, mounts)Read the relevant existing doc pages and update them to reflect the changes. For new kits, create a new kit page following the style of existing ones and add a row to docs/kits/index.md. Stage any doc changes.
Skip doc updates for:
Update CHANGELOG.md
Read CHANGELOG.md and the ## Unreleased section.
Review the changes being committed. If they represent a user-facing change (new feature, bug fix, behavior change), update the Unreleased section following these rules:
If a significant change is missing:
CHANGELOG.mdSkip CHANGELOG updates for:
Stage and commit
.env, credentials, etc.)Show summary
Display:
git status after commit to confirm clean stateCommit Message Guidelines
Guardrails