pr-reviewer
Skill1 starsChanged 6 months agoMITView on GitHub
Pre-reviews your PR before you push. Diffs against main, flags risks, checks test coverage delta, suggests reviewers. Trigger phrases: review my PR, pre-pr, before I push, am I ready to push, /pr-review. Auto-activate when user runs git push on a feature branch (PreToolUse hook, optional install). /pr-review — run on current branch. /pr-review push — run review, then push if score ≥75 with no red flags. Self-review catches 60% of "junior" mistakes before another human spends time on it. Pre-push…
- Reads credentials
- Commits and pushes
15 other projects use a version of this.
Adopted by
Most recently taken up by
- wtsi-hgi/agentskillstheir own version, first seen Oct 4, 2026
- k3ybladewielder/skillstheir own version, first seen Sep 20, 2026
- gspencergoog/skillstheir own version, first seen Sep 8, 2026
- bmaltais/skillstheir own version, first seen Sep 6, 2026
- codebygarv/Ai-skillstheir own version, first seen Aug 16, 2026
- idavidov13/agentic-playwrighttheir own version, first seen Aug 13, 2026
Used with
Projects with it also use skill-creator.
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.
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- idavidov13/agentic-playwright★ 222same name
- proflead/codex-skills-library★ 153same name
- glincker/claude-code-marketplace★ 37same name
- codebygarv/Ai-skills★ 26same name
- jpantsjoha/ai-native-developer-experience★ 12same name
- gvre/skills★ 7same name
- k3ybladewielder/skills★ 4same name
- bang9/claude-code-settings★ 2same name
- gspencergoog/skills★ 2same name
- mattstruble/skills★ 2same name
5 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 repository12 other files it gives its agents.
- commit-curatorSkill
- context-compactorSkill
- cost-trackerSkill
- decision-recorderSkill
- mcp-finderSkill
- permission-auditorSkill
- prd-builderSkill
- prompt-matcherSkill
- repo-onboarderSkill
- scope-clarifierSkill
- skill-matcherSkill
- tdd-flowSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
No new tests added but new production code present
“Common” is measured: kept by at least 6 in 10 of the 15 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
pr-reviewer
Pre-reviews your PR before you push. Diffs against main, flags risks, checks test coverage delta, suggests reviewers.
When to activate
Trigger phrases: review my PR, pre-pr, before I push, am I ready to push, /pr-review.
Auto-activate when user runs git push on a feature branch (PreToolUse hook, optional install).
Process
- Determine the base branch (
main,master, or whatever GitHub default is) - Compute the diff:
git diff <base>...HEAD - Run checks below
- Generate a review report with risk score
- Suggest fix-before-push items vs nice-to-have
Checks
Risk flags (each = -10 to safety score)
- Force push detected
.env,*.key,*.pemin diff- Hardcoded secrets pattern (
sk-,Bearer,AKIA,ghp_) 500 line single-commit diff (suggest split)
- Migration file added but no rollback script
- New endpoint with no auth check
- Direct DB call in route handler (bypasses repository pattern, if used)
- New external dependency added (which one, why, alternatives)
Yellow flags (each = -3)
- No new tests added but new production code present
- TODO/FIXME added without ticket reference
- Console.log / print() / debug statements in diff
- Commented-out code blocks
- File renamed without rg-checking for references
Green flags (each = +3)
- Tests added that cover new code paths
- ADR linked in PR body
- Conventional commit messages used
- Diff < 200 lines
- README/docs updated alongside code
Output
PR Review: feat/rate-limit-middleware → main
=============================================
Diff stats: 6 files changed, 142 +, 18 -
Safety score: 78/100
✗ Risk (blocks push):
none
⚠ Yellow flags:
- 1 TODO added without ticket: middleware/rate_limit.py:45
- console.log left in: middleware/rate_limit.py:67
✓ Green flags:
- Tests added (test_rate_limit.py, 4 cases)
- Diff is 142 lines — focused
- Conventional commits used
Suggested reviewers: (based on git blame)
- alice@company.com (touched middleware/ 12 times this quarter)
- bob@company.com (owns auth module)
Suggested PR body:
## What
Adds IP-based rate limiting to /login.
## Why
Prevents brute-force after 5 failed attempts in 60s.
## Test
pytest tests/test_rate_limit.py
## Risk
Low — fail-open if redis unreachable.
Fix before push:
1. Remove console.log on line 67
2. Either delete TODO or link to a ticket
Ready to push? (y / fix-then-push)Inputs
- Current branch + base branch
- Diff
- git blame for "suggested reviewers" feature
Outputs
- Review report
- Suggested PR body
- Fix list
- Reviewer suggestions
Slash command
/pr-review — run on current branch.
/pr-review push — run review, then push if score ≥75 with no red flags.
Why this skill
Self-review catches 60% of "junior" mistakes before another human spends time on it. Pre-push is the cheapest place to fix anything.
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.

