commit
Use when the user asks to commit changes, run /commit, create a git commit, or generate and apply a conventional commit message for the current session's changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to commit changes, run /commit, create a git commit, or generate and apply a conventional commit message for the current session's changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Use when the user asks to commit changes, run /commit, create a git commit, or generate and apply a conventional commit message for the current session's changes. |
| argument-hint | [optional message] |
Create a clean commit for the user's requested changes.
Inspect changes first:
git status --short.git diff --name-only and git diff --name-only --cached.Stage only files changed for the current user request:
git add -A or git add ..Use a one-line conventional commit message:
<type>: <subject> or <type>(<scope>): <subject>.feat, fix, refactor, perf, style, test, build, ci, docs, chore, revert, i18n.If the user provides a commit message:
Commit safely:
git commit -m "<message>".git status --short and git log -1 --oneline.Co-Authored-By, Co-authored-by, AI, Claude, Codex, or other agent attribution.