github-pr-reviewer
Skill0 starsChanged 2 months agoMITView on GitHub
Guides agents through conducting thorough pull request reviews on GitHub diffs, identifying security, logic, and test coverage gaps.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- OpenHands/extensionstheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- OpenHands/extensions★ 167same name
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 repository49 other files it gives its agents.
- bug-reproducerSkill
- claim-checkerSkill
- command-failure-diagnoserSkill
- config-risk-reviewerSkill
- csv-validatorSkill
- deployment-checklist-makerSkill
- diff-reviewerSkill
- factual-summarizerSkill
- field-extractorSkill
- api-contract-testerSkill
- database-migration-helperSkill
- security-vulnerability-fixerSkill
- git-commit-stagerSkill
- git-conflict-resolverSkill
- github-actions-debuggerSkill
- github-issue-triagerSkill
- github-pr-creatorSkill
- go-code-qualitySkill
- go-lint-and-vetSkill
- go-testingSkill
- json-schema-converterSkill
- lint-and-typecheckSkill
- meaning-preserving-editorSkill
- meeting-notes-to-actionsSkill
- minimal-bug-fixSkill
- option-comparatorSkill
- py-code-qualitySkill
- py-lint-and-typecheckSkill
- py-testingSkill
- readme-writerSkill
- regression-test-writerSkill
- release-notes-drafterSkill
- repo-inspectorSkill
- research-briefSkill
- reversible-cleanup-plannerSkill
- rust-clippy-checkSkill
- rust-code-qualitySkill
- rust-testingSkill
- small-refactorSkill
- status-updateSkill
- step-by-step-tutorialSkill
- step-decomposerSkill
- tabular-analyzerSkill
- task-briefSkill
- test-runner-debuggerSkill
- ts-code-qualitySkill
- ts-lint-and-typecheckSkill
- ts-testingSkill
- skill-templateSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill when:
- Very specific: line 20
Do not use to create PRs; use github-pr-creator.
- Very specific: line 21
Do not use for general repository architecture exploration.
- Very specific: line 28
If pr_diff is empty: state "Diff is empty.
- Very specific: line 29
Always justify REQUEST_CHANGES with at least one blocker referencing exact line numbers.
- Distinctive: line 32
Follow these numbered actions:
- Distinctive: line 34
Read PR description and linked issue requirements.
- Distinctive: line 36
Check SQL injection, leaked tokens, unescaped user input, path traversal.
- Distinctive: line 38
Check if new logic paths have corresponding automated tests in diff.
- Distinctive: line 45
If diff modifies authentication or encryption: mandate high-security review check.
- Distinctive: line 46
If diff lacks tests for new feature: require test case before approval.
- Distinctive: line 77
Stop and ask the user when:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub PR Reviewer
Performs rigorous peer review on GitHub Pull Request diffs. Evaluates logic correctness, edge cases, security regressions, test coverage, and documentation.
1. Purpose
Provide constructive, objective code review feedback with concrete code suggestions.
2. When to Use
Use this skill when:
- Reviewing open pull requests (
gh pr diff). - Providing review verdicts (
APPROVE,REQUEST_CHANGES,COMMENT). - Auditing security and regression risks before merging.
3. When Not to Use
- Do not use to create PRs; use
github-pr-creator. - Do not use for general repository architecture exploration; use
repo-inspector.
4. Required Inputs
pr_diff: The unified git diff of the PR.pr_description: Author's statement of intent.
5. Missing-Input Behavior
- If
pr_diffis empty: state "Diff is empty; no changes to review." - Always justify
REQUEST_CHANGESwith at least one blocker referencing exact line numbers.
6. Procedure
Follow these numbered actions:
- Action 1: Understand Author's Intent
- Read PR description and linked issue requirements.
- Action 2: Scan for Security Vulnerabilities
- Check SQL injection, leaked tokens, unescaped user input, path traversal.
- Action 3: Verify Test Coverage
- Check if new logic paths have corresponding automated tests in diff.
- Action 4: Formulate Review Comments
- Reference exact file and line number with suggested fixes.
- Action 5: Determine Verdict
APPROVEorREQUEST_CHANGES.
7. Decision Rules
- If diff modifies authentication or encryption: mandate high-security review check.
- If diff lacks tests for new feature: require test case before approval.
8. Output Format
Emit the review using this template:
### GitHub PR Review
- **Verdict**: [APPROVE | REQUEST_CHANGES | COMMENT]
- **Summary**: [1-2 sentences on diff quality]
#### Actionable Comments
- **File**: `[file:line]`
- **Severity**: [Blocker | Warning | Nit]
- **Issue**: [Description]
- **Suggestion**:
```suggestion
[Replacement code]
```9. Verification Checklist
- Verdict accurately reflects presence of blockers.
- Every comment references file and line.
- Concrete code replacement suggestion provided.
10. Common Failures and Recovery
| Failure Symptom | Cause | Recovery Action |
| Vague comment without fix | Complaining without suggesting solution | Provide exact suggestion block. |
11. Stop or Escalation Conditions
Stop and ask the user when:
- Diff is too large (> 2,500 lines) for single-turn review.
12. Examples
Example 1: Successful Execution
Input:
--- a/src/auth.ts
+++ b/src/auth.ts
@@ -10,2 +10,2 @@ export function hashPassword(pass: string) {
- return bcrypt.hash(pass, 12);
+ return pass; // temporary testOutput:
### GitHub PR Review
- **Verdict**: REQUEST_CHANGES
- **Summary**: Critical security regression: password hashing was replaced with plaintext return.
#### Actionable Comments
- **File**: `src/auth.ts:11`
- **Severity**: Blocker
- **Issue**: Passwords must never be stored or returned in plaintext.
- **Suggestion**:
```suggestion
return bcrypt.hash(pass, 12);
```Example 2: Ambiguous or Missing Input
Input:
Review empty PR.Output:
### GitHub PR Review: No Changes
- **Verdict**: APPROVE (No Changes)
- **Summary**: Diff is empty.Example 3: Expected Final Output
Output:
### GitHub PR Review
- **Verdict**: APPROVE
- **Summary**: Clean implementation of token expiration check with comprehensive unit tests.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

