# pr-review-expert

pr-review-expert — a skill for Claude Code and Codex that analyzes pull request blast radius before merging. It checks downstream imports, security weaknesses, and breaking API schema changes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 118 installs · ★ 1183 repo stars
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/pr-review-expert/SKILL.md
- Updated: 2026-11-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-pr-review-expert

## What it does

The skill audits pull requests and merge requests by inspecting how modifications ripple through the codebase. Instead of debating styling, it prioritizes broken contracts, SQL vulnerabilities, secret leaks, and missing coverage for public functions.

Three Python helper scripts support the workflow. `blast_radius_calculator.py` traverses import trees, `diff_analyzer.py` catches risky patterns in the diff, and `review_checklist_generator.py` prepares a customized review checklist. The final report groups issues into must-fix, should-fix, and optional suggestions.

Calculating impact and test deltas accurately requires an up-to-date base branch. Comparing against an outdated target branch brings unrelated diffs into the evaluation.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pr-review-expert -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pr-review-expert -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pr-review-expert -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills engineering/pr-review-expert/SKILL.md
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pr-review-expert -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/pr-review-expert
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pr-review-expert -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/borghei/Claude-Skills/tree/HEAD/engineering/pr-review-expert/SKILL.md

## When to use it
- trace downstream dependencies affected by diffs in shared libraries
- catch breaking changes in endpoints and database structures before merge
- spot authentication flaws, SQL injections, and exposed credentials
- verify test coverage additions for new public functions

## Example prompts
- Review PR #85 and calculate the blast radius across downstream services
- Audit the diff against main for breaking API changes and security risks
- Generate a code review checklist for the modified authentication files

## Similar
- [review-pr-lite](https://affpapa.org/en/nevibecode/skills/review-pr-lite.md) — skill · ★ 1636 repo stars
- [review](https://affpapa.org/en/nevibecode/skills/garrytan-review.md) — skill · 514 installs
- [code-review-excellence](https://affpapa.org/en/nevibecode/skills/code-review-excellence.md) — skill · 30193 installs
- [deep-review](https://affpapa.org/en/nevibecode/skills/deep-review.md) — skill · 258 installs
- [gjalla-code-review](https://affpapa.org/en/nevibecode/skills/gjalla-code-review.md) — skill · 865 installs
- [code-review](https://affpapa.org/en/nevibecode/skills/openhands-code-review.md) — skill · 251 installs

## Other versions with the same name
- [pr-review-expert · alirezarezvani](https://affpapa.org/en/nevibecode/skills/pr-review-expert.md) — 675 installs

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 120 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
