Claude Code Skill (Slash Command): review-and-commit.md prompt
Coding35.7K
审查改动并按规范创建 git 提交
A slash command that reviews changes and creates a git commit.
Full prompt
--- allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*) description: 创建一个 git 提交 --- ## 上下文 - 当前 git 状态: !`git status` - 当前 git diff(已暂存和未暂存的更改): !`git diff HEAD` - 当前分支: !`git branch --show-current` - 最近的提交: !`git log --oneline -10` ## 你的任务 审查现有更改,然后按照约定式提交格式创建一个 git 提交。如果你认为存在多个不同的更改,可以创建多个提交。
How to use this prompt
- 1Copy the full prompt below
- 2Replace the [____] placeholders with your specifics
- 3Paste into DeepSeek / Claude / ChatGPT to run