一键导入
commit
Create a commit following this repo's conventions (Conventional Commits). Use when the user asks to commit changes. Optional file list scopes the commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a commit following this repo's conventions (Conventional Commits). Use when the user asks to commit changes. Optional file list scopes the commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Create a commit following this repo's conventions (Conventional Commits). Use when the user asks to commit changes. Optional file list scopes the commit. |
| allowed-tools | Bash, Read |
| argument-hint | [files...] |
Create a single git commit that follows this repo's commit conventions.
Scope the change.
commit-vcs).Read the conventions. Read
docs/harness/vcs/commits.md for the Conventional-Commits rules this
repo follows. Respect every DONT listed there (notably: no
Co-Authored-By: Claude).
Understand the diff. Run git status and git diff --cached
(or git diff -- <files> if a file list was passed and nothing is
staged yet). Read the actual changes — do not rely on file names alone.
Draft the message.
<type> (feat / fix / refactor / docs / test / chore).<scope> when the change is localised to one area (e.g. api,
web, docs).Delegate to commit-vcs. Invoke the infra wrapper with the message
and (if applicable) the file list:
.claude/skills/commit-vcs/scripts/commit.sh "<message>" [<files>]
Report. Print the commit hash commit-vcs returned, plus the
subject line.
/identify-commits instead.Create a feature branch using this repo's branch-naming conventions.
Creates a new vcs branch. Should rarely be called directly.
Decompose the working tree into clean commits and open a PR. Use when the user asks to ship the current change end-to-end.
Creates a vcs commit. Should rarely be called directly.
Opens a vcs pull request. Should rarely be called directly.
Partition the current working tree into the smallest coherent commit chunks. Use when a diff spans multiple concerns and needs to be split.