# Review Pr

> Review pull requests using GitHub CLI. Invoke with /review-pr <pr-number-or-url>

- Skill: `majiayu000/review-pr-3` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/review-pr-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/review-pr-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/review-pr-3

---


# PR Review

Review the specified pull request thoroughly.

## Arguments

- `$ARGUMENTS` - PR number (e.g., `123`) or full URL (e.g., `https://github.com/org/repo/pull/123`)

## Process

1. **Fetch PR metadata** - Get title, description, author, base/head branches
2. **Get the diff** - Review all changed files
3. **Read full context** - For complex changes, read the complete files to understand surrounding code
4. **Check against project standards** - Reference CLAUDE.md and existing patterns

## Review Criteria

- **Correctness** - Does the code do what it claims?
- **Security** - Any vulnerabilities (injection, XSS, auth issues)?
- **Tests** - Are changes adequately tested?
- **Style** - Follows project conventions?
- **Complexity** - Is it overengineered or too clever?

## Output Format

Provide a structured review:

```
## Summary
One-line assessment (approve/request changes/needs discussion)

## Changes Overview
Brief description of what the PR does

## Feedback
### Issues (must fix)
- ...

### Suggestions (nice to have)
- ...

### Questions
- ...

## Files Reviewed
- path/to/file.py - brief note
```

