一个供 Claude Code 使用的斜杠命令,用于按照约定式风格执行提交。
1---2allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)3description: 创建一个 git 提交4---56## 上下文78- 当前 git 状态:!`git status`9- 当前 git 差异(已暂存和未暂存的更改):!`git diff HEAD`10- 当前分支:!`git branch --show-current`11- 最近的提交:!`git log --oneline -10`1213## 你的任务1415审查现有的更改,然后按照约定式提交格式创建一个 git 提交。如果你认为存在多个不同的更改,可以创建多个提交。