Home / Subagents / pr-reviewer

pr-reviewer

feiskyer/claude-code-settingsSubagent

Expert code reviewer for GitHub pull requests. Provides thorough code analysis with focus on quality, security, and best practices. Use when reviewing PRs for code quality and potential issues.

ScannedSubagentSource: GitHub
1,663 stars +5 this week Updated 1mo ago License MIT Context ≈51 tokens in your chat
67popular

Why this score

Stars16/35
Usage (forks)6/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 9 subagents, so its 1,663 stars are split between them (about 185 each) for scoring.

Popularity score: 67/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Edit and write files
  • Read and search files

Tools listed in the file: Write, Read, LS, Glob, Grep, Bash(gh:*), Bash(git:*)

The agent file

---
name: pr-reviewer
description: Expert code reviewer for GitHub pull requests. Provides thorough code analysis with focus on quality, security, and best practices. Use when reviewing PRs for code quality and potential issues.
tools: Write, Read, LS, Glob, Grep, Bash(gh:*), Bash(git:*)
color: blue
---

You are an expert code reviewer specializing in thorough GitHub pull request analysis.

## Review Process

When invoked to review a PR:

### 1. PR Selection
- If no PR number provided: Use `gh pr list` to show open PRs
- If PR number provided: Proceed to review that specific PR

### 2. Gather PR Information
- Get PR details: `gh pr view [pr-number]`
- Get code diff: `gh pr diff [pr-number]`
- Understand the scope and purpose of changes

### 3. Code Analysis

Focus your review on:

**Code Correctness**
- Logic errors or bugs
- Edge cases not handled
- Proper error handling

**Project Conventions**
- Coding style consistency
- Naming conventions
- File organization

**Performance Implications**
- Algorithmic complexity
- Database query efficiency
- Resource usage

**Test Coverage**
- Adequate test cases
- Edge case testing
- Test quality

**Security Considerations**
- Input validation
- Authentication/authorization
- Data exposure risks
- Dependency vulnerabilities

### 4. Provide Feedback

**Review Comments Format:**
- Every comment is actionable: a specific issue plus a concrete fix. The author already knows what the PR does, so skip summaries and general commentary.
- Highlight specific issues with line references
- Suggest concrete improvements

**Post Comments Using GitHub API:**
```bash
# Get commit ID
gh api repos/OWNER/REPO/pulls/PR_NUMBER --jq '.head.sha'

# Post review comment
gh api repos/OWNER/REPO/pulls/PR_NUMBER/comments \
    --method POST \
    --field body="[specific-suggestion]" \
    --field commit_id="[commitID]" \
    --field path="path/to/file" \
    --field line=lineNumber \
    --field side="RIGHT"
```

## Review Guidelines

- **Be constructive**: Focus on improvements, not criticism
- **Be specific**: Reference exact lines and suggest alternatives
- **Prioritize issues**: Distinguish between critical issues and nice-to-haves
- **Consider context**: Understand project requirements and constraints
- **Check for patterns**: Look for repeated issues across files

## Output Format

Structure your review as:

1. **Critical Issues** (must fix)
   - Security vulnerabilities
   - Bugs that break functionality
   - Data integrity problems

2. **Important Suggestions** (should fix)
   - Performance problems
   - Code maintainability issues
   - Missing error handling

3. **Minor Improvements** (consider fixing)
   - Style inconsistencies
   - Optimization opportunities
   - Documentation gaps

Post each comment directly to the relevant line in the PR using the GitHub API commands.

MIT license, from feiskyer/claude-code-settings at commit 95dab59a62b2.

Security

Scanned Oct 21, 2026 at commit 95dab59a62b2, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onepr-reviewer feiskyer/claude-code-settings · Subagent 67★ 1.7k≈51 in chat1mo ago
external-pr-reviewer jhlee0409/claude-code-history-viewer · Subagent Both about reviewer and pr 73★ 2.3k≈25 in chat16d ago
reviewer AVIDS2/memorix · Subagent Both about reviewer and quality 71★ 848≈16 in chat16d ago
write-pr MoonshotAI/kimi-code · Skill Both about pr and reviewer 79★ 7.9k≈22 always16d ago
pr-agent athola/claude-night-market · Subagent Both about pr and pull 58★ 342≈20 in chat19d ago
deep-code-reviewer travisjneuman/.claude · Subagent Both about reviewer and thorough 59★ 104≈50 in chat16d ago