一键导入
commit-message
Generate a commit message explaining what was changed and write it to commit-msg.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a commit message explaining what was changed and write it to commit-msg.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Load saved review feedback from /bpe:review and apply changes to the reviewed artifact
Iterative Q&A to develop a thorough project specification (spec.md)
Implement the next unchecked step from plan.md by executing its sub-steps as written (RED-GREEN-REFACTOR for Feature steps; Scope/Tooling/Do/Verify/Document for Task steps)
Fetch a GitHub issue and route to brainstorm or plan based on detail level
Autonomous-mode BPE run via /goal. Modes — full (default) | section <name> | step. Pre-flights branch safety (refuses on main), resolves the project verification command (test-runner autodetect, spec.md fallback, or ask), builds a verifiable completion condition, and writes the assembled /goal block (condition + validator-aware orchestrator playbook + per-commit verification) to goal.md at the repo root for you to paste. Requires Claude Code v2.1.139+; put your session in auto mode before pasting for unattended execution.
Create, continue, or close handoff documents for fresh-agent baton passes
| name | commit-message |
| description | Generate a commit message explaining what was changed and write it to commit-msg.md |
| argument-hint | optional focus hint (e.g. "the spec rewrite, not the formatting fixes") |
| allowed-tools | Bash(git:*), Read, Write |
| model | sonnet |
| disable-model-invocation | true |
Inspect the staged changes, write a commit message that captures the why of the change, and save it to commit-msg.md at the repo root for the user to feed into git commit -F commit-msg.md.
Run these in parallel:
git status — see all untracked files and modifications.git diff --staged — the exact set of changes that will be committed.git diff — what is modified but NOT yet staged. Do not narrate work that is in this diff but not the staged one.git log --oneline -10 and git log -3 --pretty=full — match the repository's commit-message style and signing/conventions.Analyze the staged diff. Answer:
If the user passed an argument, treat it as a focusing hint — bias the message toward the threads they named, not the full diff.
Format:
Avoid:
Match the repository's existing style observed in git log (subject-line case, conventional-commits prefix or not, trailers).
Write the message to commit-msg.md at the repo root with the Write tool. The user's git workflow then runs:
git commit -S -F commit-msg.md
Do NOT execute the commit yourself — only write the file.
commit-msg.md is a working artifact and must never be tracked. Verify it is gitignored:
grep -F "commit-msg.md" .gitignore 2>/dev/null
If it is not present, append it to .gitignore before writing the file. Tell the user when you do this.
Display:
commit-msg.md.commit-msg.md to .gitignore.Stop there. The user reviews the message, then runs the commit themselves.