pr-audit
Skill2 starsChanged 3 months agoMITView on GitHub
Triage open pull requests and issues: find easy-win PRs to merge, close stale or superseded ones, label and reply to issues. Use when the user says "audit open PRs", "triage PRs", "triage issues", "close stale PRs", "what can we merge", "clean up the issue tracker", or runs /theo-mode prs. Requires the gh CLI authenticated for the repo.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- marcellocurto/skillstheir own version, first seen Oct 2, 2026
- akitaonrails/my-skillstheir own version, first seen Sep 17, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- akitaonrails/my-skills★ 205same name
- marcellocurto/skills★ 3same 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 repository6 other files it gives its agents.
- theo-modeSkill
- agent-dxSkill
- let-it-mergeSkill
- perf-huntSkill
- slop-auditSkill
- takeoverSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 29
Read the diff (gh pr diff N) and the CI status (gh pr checks N).
- Distinctive: line 45
Fixed already: Search main and closed PRs for the symptom.
- Distinctive: line 73
Do not merge anything with red CI, no matter how small.
- Distinctive: line 74
Do not close a PR from an active contributor without a comment that tells them what would get it merged.
- Distinctive: line 76
Do not use a bot-sounding tone.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
PR / Issue Audit
Goal: a smaller, honest backlog. Every open item ends the session in one of three states: merged, closed with a reason, or left open with a label that says what it is waiting on.
Step 0: inventory and scope
gh pr list --state open --limit 200 --json number,title,author,updatedAt,isDraft,mergeable,reviewDecision,labels
gh issue list --state open --limit 200 --json number,title,author,updatedAt,labels,commentsReport counts. If over ~50 items total, process in batches of 25, oldest first, and report after each batch. Say this before starting.
Step 1: bucket every PR
Read the diff (gh pr diff N) and the CI status (gh pr checks N). Put each
PR in exactly one bucket:
- Easy win. Small, green CI, does what the title says, no design decisions. Typo fixes, dep bumps, doc fixes, obvious bug fixes with a test.
- Needs rebase. Good change, conflicts with main. Try
gh pr checkout N && git rebase main. If it rebases cleanly and CI passes, it becomes an easy win. If not, comment with the conflict summary and move on. - Superseded. Another PR or a commit on main already did this. Link it.
- Dead. Author gone for 6+ months, no response to review, or the feature was rejected in discussion.
- Real review needed. Design change, security-relevant, large. Not for this session. Label it and list it for the human.
Step 2: bucket every issue
- Fixed already. Search main and closed PRs for the symptom. Close with the commit or PR link.
- Cannot reproduce / no info. Older than 90 days, no repro, no response to a request for info. Close with a polite note inviting a reopen.
- Duplicate. Link the canonical one, close.
- Easy fix. Under an hour and you understand it. Fix it, open a PR, reference the issue. Cap this at 5 per session.
- Real work. Label (
bug,enhancement,needs-design) and leave open.
Step 3: present the plan, then execute
Print one table: number, title, bucket, action, one-line reason. Give the
user a chance to veto rows. Then execute every action with gh:
- Merge easy wins:
gh pr merge N --squash --delete-branch(match the repo's existing merge style; checkgit logfor merge vs squash). - Close with reasons:
gh pr close N --comment "...",gh issue close N --comment "...". The comment names the reason and how to reopen. Be kind; a real person wrote it. - Label:
gh pr edit N --add-label ....
Step 4: report
Counts per bucket, links for everything merged, and the "real review needed" list for the human, ranked by how close to mergeable each one is.
Do not
- Do not merge anything with red CI, no matter how small.
- Do not close a PR from an active contributor without a comment that tells them what would get it merged.
- Do not use a bot-sounding tone. Write the comment you would want to receive.
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.

