git-pr-reviewer
4
总安装量
4
周安装量
#51797
全站排名
安装命令
npx skills add https://github.com/onewave-ai/claude-skills --skill git-pr-reviewer
Agent 安装分布
opencode
4
gemini-cli
4
github-copilot
4
codex
4
kimi-cli
4
amp
4
Skill 文档
Git PR Reviewer
Instructions
When reviewing a pull request:
- Get the diff: Run
git diff main...HEADorgit 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