pr-review
Skill4 starsChanged 5 months agoApache-2.0View on GitHub
Comprehensive code review for pull requests using parallel multi-agent analysis. Audits CLAUDE.md compliance, checks for bugs, analyzes git history, reviews comments, and filters by confidence score. Use when reviewing a GitHub PR, mentions "code review", "review this PR", or "/code-review".
- Reads credentials
195 other projects use a version of this.
Adopted by
Most recently taken up by
- static-web-server/static-web-servertheir own version, first seen Nov 9, 2026
- zerx-lab/FluxDowntheir own version, first seen Nov 9, 2026
- civitai/civitaitheir own version, first seen Nov 9, 2026
- harshitsinghbhandari/domain-expansiontheir own version, first seen Nov 8, 2026
- Azure/azure-sdk-toolstheir own version, first seen Nov 8, 2026
- databricks/clitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use oss-pr, pr-automation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
jtenniswoodSkillexpert-reset
Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.
Also in 3 projects that use this
jtenniswoodSkillupdates
Summarize user-facing project updates from the last 7 days, ordered by importance and written as one-sentence "Feature: description" entries. Use when the user says "/updates", asks what changed recently, or wants a concise list of recent features, device support, fixes that users will notice, or other product value.
Also in 3 projects that use this
openchamberSkillclack-cli-patterns
Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.
Also in 3 projects that use this
openchamberSkilldrag-to-reorder
Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.
Also in 3 projects that use this
- +6 more from openchamber
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- Significant-Gravitas/AutoGPT★ 188ksame name
- pytorch/pytorch★ 105ksame name
- rtk-ai/rtk★ 86ksame name
- saadeghi/daisyui★ 43ksame name
- rustfs/rustfs★ 36ksame name
- dotnet/maui★ 23ksame name
- NVIDIA/Megatron-LM★ 18ksame name
- MiniMax-AI/skills★ 14ksame name
- btriapitsyn/openchamber★ 13ksame name
- openchamber/openchamber★ 13ksame name
185 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-designSkill
- improve-codebase-architectureSkill
- architectureSkill
- cicdSkill
- cloud-infraSkill
- codebase-navigatorSkill
- code-qualitySkill
- code-reviewSkill
- code-standardsSkill
- configuration-managementSkill
- contract-testingSkill
- dependency-managementSkill
- diagnoseSkill
- documentationSkill
- dynamic-routingSkill
- enterprise-architectureSkill
- enterprise-test-suitesSkill
- git-guardrails-claude-codeSkill
- grill-meSkill
- handoffSkill
- intent-clarificationSkill
- triageSkill
- legacy-modernizationSkill
- llm-evalsSkill
- observabilitySkill
- ops-sreSkill
- performance-optimizationSkill
- to-issuesSkill
- playwrightSkill
- to-prdSkill
- setup-pre-commitSkill
- prototypeSkill
- ralph-loopSkill
- requirementsSkill
- root-cause-analysisSkill
- security-auditSkill
- security-patchingSkill
- startup-lifecycleSkill
- tddSkill
- testingSkill
- threat-modelingSkill
- to-issuesSkill
- token-efficiencySkill
- to-prdSkill
- ux-designSkill
- write-a-skillSkill
- zoom-outSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 178 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 83
Ask agent: "Summarize this PR in 2-3 sentences.
- Distinctive: line 91
Read CLAUDE.md file(s) from step 2
- Distinctive: line 92
Check if changes violate explicit rules in CLAUDE.md
- Very specific: line 103
Read PR diff (gh pr diff)
- Distinctive: line 116
Use git log on modified files to understand context
- Distinctive: line 117
Look for: related commits, previous bug fixes in same code, warnings in commit messages
- Very specific: line 126
Search prior PRs that touched modified files (gh search prs --repo=...
- Distinctive: line 127
Look for: reviewer comments, feedback on similar code, known issues
- Distinctive: line 135
Read code comments in modified files
- Distinctive: line 148
0: Not confident. False positive, doesn't stand up to scrutiny, or pre-existing issue.
- Distinctive: line 154
Filter: Keep only issues with score ≥ 80.
- Distinctive: line 158
Before posting, verify PR still eligible:
- Very specific: line 163
If closed/merged/draft, abort.
- Distinctive: line 203
When linking to code:
- Distinctive: line 204
Use full git SHA (40 chars), not branch name
“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Pull Request Code Review
Multi-angle code review using 5 parallel agents + confidence scoring. Audits CLAUDE.md compliance, detects bugs, checks git history, reviews prior feedback, validates comment guidance. Filters issues by confidence (≥80) to reduce false positives.
Process Overview
1. Eligibility check (Haiku)
├─ Skip if: closed, draft, automated, trivial, already reviewed
│
2. Collect CLAUDE.md files (Haiku)
├─ Root CLAUDE.md + phase-specific CLAUDE.md files
│
3. Get PR summary (Haiku)
├─ Understand the change at high level
│
4. Parallel 5-agent review (5x Sonnet)
├─ Agent #1: CLAUDE.md compliance audit
├─ Agent #2: Shallow bug scan (large bugs only)
├─ Agent #3: Git blame & history context
├─ Agent #4: Prior PR comments (similar files)
└─ Agent #5: Code comments in modified files
│
5. Confidence scoring (Parallel Haiku agents)
├─ Score each issue 0-100
├─ Filter: keep only score ≥ 80
│
6. Final eligibility check (Haiku)
├─ Verify PR still eligible (not closed/merged while reviewing)
│
7. Post comment via gh (Bash)
└─ Format: brief description, file link with full SHA, line rangeStep 1: Eligibility Check
Skip review if:
- Closed: PR is already closed
- Draft: PR marked as draft
- Automated: Author is bot/automation (e.g., dependabot)
- Trivial: Obvious fix (typo, docs, one-liner) with no risk
- Pre-reviewed: You already reviewed this PR earlier
Use:
gh pr view <number> --json state,isDraft,author,commitsStep 2: Collect CLAUDE.md Files
Gather all relevant CLAUDE.md files:
- Root
./CLAUDE.md(if exists) - Any
./some-phase/CLAUDE.md(if modified files are in that phase) - Any
./services/*/CLAUDE.md(if monorepo, for modified service)
Use:
gh pr diff <number> --name-only | xargs -I {} dirname {} | sort -u | xargs -I {} find {} -name CLAUDE.mdStep 3: Get PR Summary
Fetch PR metadata and commit summary:
gh pr view <number> --json title,body,commitsAsk agent: "Summarize this PR in 2-3 sentences. What changed and why?"
Step 4: Parallel 5-Agent Review
Launch 5 agents in parallel (one per strategy). Each agent returns a list of issues found.
Agent #1: CLAUDE.md Compliance
- Read CLAUDE.md file(s) from step 2
- Check if changes violate explicit rules in CLAUDE.md
- Flag only issues explicitly mentioned in CLAUDE.md (not general best practices)
- Ignore issues if code has lint-ignore comments
Example issues:
- CLAUDE.md says "always use pnpm", but PR introduces npm
- CLAUDE.md forbids modifying .env, but PR modifies .env
- CLAUDE.md says "do not access DB outside src/db/", but PR queries DB in src/api/
Agent #2: Shallow Bug Scan
- Read PR diff (
gh pr diff) - Scan for large, obvious bugs only
- Ignore: nitpicks, style, lint issues, type errors, missing tests
- Focus on logic errors, bounds checks, null pointer risks, hardcoded values
Example issues:
- Off-by-one loop error
- Missing null check before .length access
- Hardcoded password or API key
- SQL injection due to string concatenation
Agent #3: Git History & Blame
- Use
git logon modified files to understand context - Look for: related commits, previous bug fixes in same code, warnings in commit messages
- Flag if new code conflicts with historical patterns
Example issues:
- Previous commit explicitly fixed this pattern, but PR reintroduces it
- Code was refactored 3 months ago to avoid this approach, PR undoes it
Agent #4: Prior PR Comments
- Search prior PRs that touched modified files (
gh search prs --repo=... --involved=<author>) - Look for: reviewer comments, feedback on similar code, known issues
- Flag if same issue is being re-introduced
Example issues:
- PR #42 had same change, reviewer flagged issue X, now issue X reappears here
Agent #5: Code Comments
- Read code comments in modified files
- Flag if changes violate guidance in comments (e.g., "DO NOT modify this", "precondition: X must be true")
Example issues:
- Comment says "This value must be immutable", but PR mutates it
- Comment says "DO NOT call this without Y", but PR calls without Y
Step 5: Confidence Scoring
For each issue found, launch a Haiku agent to score 0-100:
Rubric (give to agent verbatim):
- 0: Not confident. False positive, doesn't stand up to scrutiny, or pre-existing issue.
- 25: Somewhat confident. Might be real, but unverified. If stylistic, not in CLAUDE.md.
- 50: Moderately confident. Real issue, but nitpick or rare. Not very important.
- 75: Highly confident. Verified real issue, will happen in practice. Important, directly impacts functionality or in CLAUDE.md.
- 100: Absolutely certain. Double-checked, confirmed real. Happens frequently, direct evidence.
Filter: Keep only issues with score ≥ 80.
Step 6: Final Eligibility Re-check
Before posting, verify PR still eligible:
gh pr view <number> --json state,isDraftIf closed/merged/draft, abort.
Step 7: Post Comment
Use gh pr comment:
gh pr comment <number> --body "
### Code review
Found X issues:
1. <brief description> (CLAUDE.md says \"<...>\")
https://github.com/owner/repo/blob/<full-sha>/path/to/file.md#L10-L15
2. <brief description> (bug in <file>)
https://github.com/owner/repo/blob/<full-sha>/path/to/file.md#L20-L25
🤖 Generated with [Claude Code](https://claude.ai/code)
<sub>- If this code review was useful, please react with 👍. Otherwise, react with 👎.</sub>
"Or, if no issues:
gh pr comment <number> --body "
### Code review
No issues found. Checked for bugs and CLAUDE.md compliance.
🤖 Generated with [Claude Code](https://claude.ai/code)
"Requirements for Links
When linking to code:
- Use full git SHA (40 chars), not branch name
- Format:
https://github.com/owner/repo/blob/<sha>/file/path#L<start>-L<end> - Include at least 1 line context before and after the issue
- Line format:
L4-L7(notL4..7or other variants)
Example:
https://github.com/anthropics/claude-code/blob/1d54823877c4de72b2316a64032a54afc404e619/README.md#L13-L17False Positives to Avoid
- Pre-existing issues (not introduced by this PR)
- Things that look like bugs but aren't
- Pedantic nitpicks (senior engineer wouldn't call out)
- Issues linter/typechecker catch (don't run CI yourself)
- General code quality (unless required by CLAUDE.md)
- Lint-ignored issues in code
- Intentional functionality changes
- Issues on lines the user didn't modify
False Positive Examples
❌ "Missing test coverage" (unless CLAUDE.md requires it)
❌ "Function name is unclear" (style, not bug)
❌ "import statement on wrong line" (linter will fix)
❌ "Off-by-one in code from 2 years ago" (pre-existing)
❌ "This function doesn't handle null" (handled 2 lines later)
✅ "PR reintroduces bug fixed in commit abc123"
✅ "CLAUDE.md forbids this approach, PR violates it"
✅ "Off-by-one in code just added by this PR"
Integration with SDLC
Phase 4 (Testing & Security): Code review as part of quality gates
Phase 5 (Deploy): Pre-merge validation before CI/CD
Utilities: Anytime parallel review needed
Status: Ready for production PR reviews
Best for: High-confidence, multi-angle code review; parallel agent coordination
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

