# review-pull-request

review-pull-request audits a single GitHub pull request across isolated stages, drafts a local Markdown report, and posts comments only when confirmed.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 161 installs · ★ 3 repo stars
- Author: b-mendoza
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/b-mendoza/agent-skills/tree/HEAD/skills/review-pull-request/SKILL.md
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/review-pull-request

## What it does

The skill accepts exactly one GitHub pull request URL and delegates analysis across discrete internal roles for context gathering, chunk inspection, authoring, and evidence verification. Inspection remains read-only across workspace code, while artifacts stay strictly scoped to a unique `.handoffs/` run directory.

Results default to a Markdown draft named `pr-<number>-review.md`. Without POSIX `sh` and a valid `python3` binary in the environment, internal validation and rendering helpers will not run. Users can optionally target a specific evaluation focus such as security, tests, or logic correctness.

Mutations to GitHub are locked behind explicit opt-in via `post-after-confirmation` mode, requiring interactive authorization before submitting approved inline feedback.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add b-mendoza/agent-skills --skill review-pull-request -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/review-pull-request/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/review-pull-request/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add b-mendoza/agent-skills --skill review-pull-request -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/review-pull-request/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add b-mendoza/agent-skills --skill review-pull-request -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/review-pull-request/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install b-mendoza/agent-skills skills/review-pull-request
```

2. **Manually: put the files in place**
- File: `.github/skills/review-pull-request/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add b-mendoza/agent-skills --skill review-pull-request -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/b-mendoza/agent-skills --path skills/review-pull-request
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/review-pull-request/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add b-mendoza/agent-skills --skill review-pull-request -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/b-mendoza/agent-skills/tree/HEAD/skills/review-pull-request/SKILL.md

## When to use it
- audit code changes in a single pull request
- generate a verified local review file before publishing comments
- cross-check pull request findings against real evidence files
- restrict review attention specifically to security or test coverage

## Example prompts
- Review pull request `https://github.com/<owner>/<repo>/pull/<number>` focusing on correctness
- Audit PR `https://github.com/<owner>/<repo>/pull/<number>` and write findings to `pr-15-review.md`
- Draft review comments for `https://github.com/<owner>/<repo>/pull/<number>` in draft-only mode

## Similar
- [pull-request](https://affpapa.org/en/nevibecode/skills/microsoft-pull-request.md) — skill · ★ 1627 repo stars
- [create-pull-request](https://affpapa.org/en/nevibecode/commands/create-pull-request.md) — command · 411 installs
- [pull-request-review](https://affpapa.org/en/nevibecode/skills/pull-request-review.md) — skill · ★ 219 repo stars
- [write_pull-request](https://affpapa.org/en/nevibecode/prompts/write-pull-request.md) — prompt · ★ 44690 repo stars
- [make-pr-easy-to-review](https://affpapa.org/en/nevibecode/skills/make-pr-easy-to-review.md) — skill · 3400 installs
- [review-pr](https://affpapa.org/en/nevibecode/skills/neolabhq-review-pr.md) — skill · 1300 installs

From the same set: [b-mendoza/agent-skills](https://affpapa.org/en/nevibecode/by/b-mendoza/agent-skills.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
