AeroTools
Home AI Prompts Claude Code Skill (Slash Comma...

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

chatgpt • development • 14 uses
Free
What is this prompt for?

Sets the model up as a reviewing engineer: it reads the code, explains what it does, and proposes changes you can apply.

What it actually does: allowed-tools, Bash(git add, ), Bash(git status, ), Bash(git commit, ) description, Create a git commit --- Context - Current git status, !

Main use cases:
  • Spotting security flaws and fixing bugs
  • Explaining complex code and documenting it clearly
  • Refactoring legacy code and improving its performance
Benefits and results:
  • Clearer documentation, so the project stays maintainable
  • Faster development and higher output
  • Code that follows current security practice
Prompt length: 79 words Reading time: ~1 min Best with: Claude Sonnet (recommended for code), GPT-4o, GitHub Copilot

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.

Related Prompts

AeroTools

AeroAssistant

Online AI
Hello! I am your official AeroTools AI Assistant. How can I help you use our tools today?