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

| Field | Value |
| --- | --- |
| Content type | [Writing](https://dopamine-prompt.com/en/type/writing) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [zoe\_tells](https://dopamine-prompt.com/en/u/4f0ba586-308c-4e1d-bcdf-e37c90898fa0) |
| Last updated | 2026-11-26 |

## Prompt

```
---
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.
```

Web page: <https://dopamine-prompt.com/en/prompts/claude-code-skill-slash-command-review-and-commit-md>
