mcpbeat

Git Pr Reviewer

onewave-ai/git-pr-reviewer

Review pull requests for code quality, security issues, and best practices. Use when reviewing PRs, checking code changes, or analyzing diffs before merge.

464 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
235
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/OneWave-AI/claude-skills --skill git-pr-reviewer

The instruction itself

9 sections, as written by the author

Git PR Reviewer

Instructions

When reviewing a pull request:

  • Get the diff: Run git diff main...HEAD or git diff <base-branch>...HEAD
  • Analyze changed files: Identify all modified, added, and deleted files
  • Review each file for:
  • Logic errors and bugs
  • Security vulnerabilities (SQL injection, XSS, hardcoded secrets)
  • Performance issues (N+1 queries, unnecessary re-renders, memory leaks)
  • Code style and consistency
  • Missing error handling
  • Test coverage gaps

Review Checklist

Security

  • [ ] No hardcoded credentials or API keys
  • [ ] Input validation on user data
  • [ ] Proper authentication/authorization checks
  • [ ] No SQL injection vulnerabilities
  • [ ] XSS prevention in place

Code Quality

  • [ ] Functions are small and focused
  • [ ] No code duplication
  • [ ] Clear variable/function naming
  • [ ] Proper error handling
  • [ ] No unused imports or dead code

Performance

  • [ ] No unnecessary database queries
  • [ ] Efficient algorithms used
  • [ ] Proper caching where needed
  • [ ] No memory leaks

Testing

  • [ ] New code has tests
  • [ ] Edge cases covered
  • [ ] Tests are meaningful, not just for coverage

Output Format

## PR Review Summary

### Overview
[Brief summary of changes]

### Issues Found
#### Critical
- [Issue description + file:line]

#### Warnings
- [Issue description + file:line]

#### Suggestions
- [Improvement ideas]

### Approval Status
[APPROVE / REQUEST CHANGES / NEEDS DISCUSSION]

Example

# Review current branch against main
git diff main...HEAD --stat
git diff main...HEAD

How to use it

Copy the folder

Take onewave-ai/git-pr-reviewer from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.