Skip to content
Back to skills

Review Pr

ASecurity

Review someone else's pull request and write the review as a draft file. Use when the user asks to review a PR by number or link. For comments on the user's own PR, use pr-address-comments.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add rezk2ll/skills --skill review-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rezk2ll-review-pr/badge)](https://www.skillsdirectory.com/skills/rezk2ll-review-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-pr
description: Review someone else's pull request and write the review as a draft file. Use when the user asks to review a PR by number or link. For comments on the user's own PR, use pr-address-comments.
---

# Review a PR

The review is a draft for the user. Posting it is theirs to decide: never run `gh pr review`, `gh pr comment`, or any GitHub write.

1. **Pin the head.** `gh pr view <n> --json title,author,baseRefName,headRefName,headRefOid,closingIssuesReferences,statusCheckRollup`. Every link in the review uses that commit sha, so it survives force-pushes.
2. **Read end to end.** The changed files in full, then their callers and the code they depend on, until each claim you make has a file:line you read. Check out the head in a worktree and run the changed project's own tests. Done when every changed file and every caller of a changed signature is accounted for.
3. **Hunt failure scenarios.** For each finding: concrete inputs or state, then the wrong outcome. A finding without one is a question, and goes under questions.
4. **Write** `pr-<n>-review.md` in the session scratchpad directory (or a temp directory when the session has none), never in the repo:
   - Header: PR title linked, author, base, head @ sha, closes, CI, review depth (what you read, what you ran and its result).
   - Verdict: two short paragraphs, what is right and what blocks.
   - Blocking, then Worth fixing before merge, then Nits, then Questions; numbered, each with its failure scenario, the cheapest fix, and links `[file#Lx-Ly](https://github.com/<repo>/blob/<sha>/<path>#Lx-Ly)`.
   - Prose: short and plain. No tables. No em dashes, en dashes, or double hyphens; use commas, parentheses, or periods.

Report the file path and the verdict in two lines.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.