Pull Request Security Review
Reviews a pull request for security problems, including removed checks, and separates must fix issues from notes.
Claude's review
7/10 Sharp diff security review: real merge-base diff, triage by risk, read removed lines and callers, verify before reporting, and a blocking vs non-blocking report.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Perform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline. Use when asked to security review a PR or branch, check a diff before merge or commit, or assess whether a change is safe to ship.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: reviewing-code-changes
description: Perform a security review of a diff, branch, or pull request — assessing what the change introduces, weakens, or exposes, with a triage-first workflow and false-positive discipline. Use when asked to security review a PR or branch, check a diff before merge or commit, or assess whether a change is safe to ship.
verified: 2026-07-27
---
# Reviewing Code Changes
Reviewing a diff is not auditing a codebase in miniature. The diff shows you
what changed but hides what the change *means* — the caller that now receives
untrusted data, the check that used to run, the assumption that no longer
holds. Reviewing only the added lines is the standard way to miss the bug.
## When to Use
- Security review of a pull request, branch, or commit range
- Pre-commit or pre-merge check on your own changes
- Assessing risk of a dependency bump or config change
- Reviewing an AI-generated change before it ships
## When NOT to Use
- **Whole-codebase audit** — use `auditing-code-for-vulnerabilities`
- **Runtime testing of the deployed change** — use the relevant testing skill
- **Dependency/CI changes as the main subject** — use `auditing-supply-chain`
## Get the Real Diff First
```bash
# Against the actual merge base, not against whatever HEAD happens to be
BASE=$(git merge-base HEAD origin/main)
git diff --stat $BASE...HEAD
git diff $BASE...HEAD
# Rename and whitespace noise hides real changes
git diff -M -C -w $BASE...HEAD
# Files changed most, and by whom — where to spend attention
git diff --numstat $BASE...HEAD | sort -rn | head -20
```
...From trilwu's repository, MIT licence.
Related skills
-
Checked
Codebase quality audit
Audits a whole code repo for bugs, security holes, slow paths and dead code, ranked in plain English.
7/101 credit -
Checked
Security and CVE audit
Runs a security and CVE audit on code in any language and scores it out of 100, with false alarms filtered.
7/101 credit -
Checked
OWASP code review
Reviews code for security flaws using the latest OWASP Top 10 lists, including those for AI and agent apps.
7/101 credit -
Checked
Pull request security review
Reviews one pull request for exploitable security holes only, filtering out false positives before reporting.
7/101 credit -
Checked
Code security hardening
Hardens code that handles user input, logins and data against the OWASP Top 10, starting from a threat model.
8/101 credit -
Checked
Security incident response
Runs a security incident from detection to closure, including containment, communication and the review after.
7/101 credit