器库 ← 返回提示词库

AI / 编程与调试

Claude Code 审查提交命令

Claude Code Skill (Slash Command): review-and-commit.md

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---

## Context

- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`

## Your task

Review the existing changes and then create a git commit following the conventional commit format. If you think there are more than one distinct change you can create multiple commits.
来源

awesome-chatgpt-prompts · CC0-1.0 · DoguD

英文原文,未做机器翻译

同方向的其他提示词