Skip to content
Agentmart
Submit a tool

git-commit-reviewer

Reviews staged git changes and provides feedback on code quality, potential bugs, and security issues before committing.

Skill by abhiunix

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/abhiunix-git-commit-reviewer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Reviews staged git changes and provides feedback on code quality, potential bugs, and security issues before committing. Use when asked to review changes or before creating a commit.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/git-commit-reviewer

Tools it pre-approves 4

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read
  • Glob
  • Grep
  • Bash

What's inside

Skill name
git-commit-reviewer
Description
Reviews staged git changes and provides feedback on code quality, potential bugs, and security issues before committing. Use when asked to review changes or before creating a commit.
License
MIT
Allowed tools
Read, Glob, Grep, Bash
Instructions
66 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Files (2)

  • SKILL.md
  • metadata.json

SKILL.md (first lines)

# Git Commit Reviewer

When asked to review changes or before a commit, follow this process:

## Step 1: Gather Changes

Run `git diff --cached --stat` to see which files are staged, then `git diff --cached` for the full diff.

If nothing is staged, check `git diff` for unstaged changes and let the user know.

## Step 2: Analyze Each File

For each changed file, check:

### Code Quality
- Are variable/function names descriptive?
- Is there duplicated logic that should be extracted?
- Are functions small and focused?
- Is error handling present where needed?

### Potential Bugs
- Off-by-one errors in loops or array access
- Null/undefined not handled
- Race conditions in async code
- Missing `await` on async calls
- Incorrect comparison operators (`==` vs `===`)

### Security
- No secrets, API keys, or tokens in the diff
- User input is validated before use
- No SQL injection or XSS vectors introduced
- File paths are sanitized if user-provided

### Dependencies
- New dependencies are intentional and from trusted sources
- No unnecessary dependency additions
- Lock file is updated consistently

## Step 3: Provide Feedback

Structure your review as:

```
## Summary
One-line overview of the changes.

## Issues Found
### Critical (must fix)
- ...

### Suggestions (nice to have)
- ...

## Looks Good
- Positive observations about the changes
```

## Rules

- Be constructive — explain why something is an issue, not just that it is
- If no issues found, say so clearly and briefly
- Don't nitpick style if the project has a formatter configured
- Focus on logic and correctness over formatting
- If the diff is large (>500 lines), summarize by file group rather than line-by-line

From abhiunix/community-registry, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Oct 19, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from abhiunix

Cite this page

git-commit-reviewer skill. Agent Mart. https://agentmart.dev/skills/abhiunix-git-commit-reviewer (last updated 2026-10-24)