Review a PR, branch, commit, or uncommitted changes for correctness bugs, structural regressions, security and performance problems. Reports findings grouped by severity with file:line and a concrete fix. Use when asked to review a PR / branch / diff / "my changes" before merge.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# PR Review
Review a change for defects. Bugs first, structure second, style last.
## 1. Resolve the target
| Input | Commands |
|---|---|
| Nothing | `git diff` + `git diff --cached` (uncommitted) |
| PR number / URL | `gh pr view <n>` then `gh pr diff <n>` |
| Base branch named, you are **on** the branch under review | `git diff <base>...HEAD` |
| Branch to review named, you are **elsewhere** | `git diff HEAD...<branch>` |
| Commit SHA | `git show <sha>` |
| `since X` / tag / `HEAD~5` | `git diff X...HEAD` + `git log X..HEAD --oneline` |
| File path | review that file's current state |
Three-dot is merge-base: `A...B` shows **B's** side. Point it the wrong way and you silently review the opposite branch. Run `git branch --show-current` before choosing the row.
Validate before reviewing:
- Ref (branch, commit, tag, range) → `git rev-parse <ref>`.
- PR → `gh pr view <n>`; a fork PR may have no local ref.
- File path → exists and readable; review it whether or not it changed.
Bad target or empty diff → stop and say so. Ambiguous input → ask; never review a guessed target.
…
The line at the top of this page pins the label git:20261004.134b66b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_hpwp7b3heovzoqtf
GET https://markdownregistry.com/api/v1/resolve?ref=mithunwijayasiri/dotclaude/pr-review
GET https://markdownregistry.com/api/v1/blob/3f8a4acda55189fe8e07d41203b375f828d7002deb914d80d8f08e2b75b06772
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
mithunwijayasiri/dotclaude · skills/ask-first/SKILL.md · Ask the user clarifying questions before acting, instead of filling gaps with guesses. Use when starting to implement a…
mithunwijayasiri/dotclaude · skills/claude-project-rules/SKILL.md · Author Claude Code rule files (.claude/rules/*.md). Use when asked to create, add, edit, or review a project or user…
mithunwijayasiri/dotclaude · skills/compact-markdown/SKILL.md · Writing style for markdown files. Strips filler, writes telegraphic and content-only — docs are for AI agents, not…
mithunwijayasiri/dotclaude · skills/deprecated/humanize/SKILL.md · Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.
mithunwijayasiri/dotclaude · skills/empty-commit/SKILL.md · Use when a CI pipeline failed on something unrelated to the code and the PR is blocked — pushes an empty commit to…
mithunwijayasiri/dotclaude · skills/git-merge/SKILL.md · Merge one branch (usually the default branch) into the current branch while preserving local unstaged changes…
mithunwijayasiri/dotclaude · skills/git-worktree/SKILL.md · Use when the user asks to create, enter/switch to, or remove a git worktree on Windows — makes it under…
mithunwijayasiri/dotclaude · skills/github-issue-creator/SKILL.md · Create or edit GitHub issues from raw notes, error logs, voice dictation or screenshots, following the repo's issue…
mithunwijayasiri/dotclaude · skills/handoff-session/SKILL.md · Use when the user wants to hand off, continue in a new session, or pass the current work to another agent. Compacts the…
mithunwijayasiri/dotclaude · skills/offload-task/SKILL.md · Write one stuck problem into a standalone markdown brief so a fresh session in any coding agent can attack it without…
agentic-community/mcp-gateway-registry · .claude/skills/pr-review/SKILL.md · Review a GitHub pull request using multiple expert personas. Takes a PR URL as input, analyzes the changes, and…
athola/claude-night-market · plugins/sanctum/skills/pr-review/SKILL.md · Reviews pull requests with scope validation, requirements compliance, and line comments. Use when reviewing GitHub or…
mathews-tom/armory · skills/pr-review/SKILL.md · Diff-based PR review across code quality, test coverage, silent failures, type design, and comment quality with…