pr-ready
Skill0 starsChanged 6 months agoMITView on GitHub
Prepares the current branch into a clean, reviewable pull request. Use when the user says "open a PR", "make this PR-ready", "prepare a pull request", "clean up my commits", or is about to push for review. Produces conventional commits, a self-review, and a PR description.
- Commits and pushes
3 other projects use a version of this.
Adopted by
Most recently taken up by
- block/proto-fleettheir own version, first seen Oct 1, 2026
- rezkam/boring-but-goodtheir own version, first seen Aug 30, 2026
- OutThisLife/brooklyn-skillstheir own version, first seen Jul 23, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- OutThisLife/brooklyn-skills★ 197same name
- block/proto-fleet★ 56same name
- rezkam/boring-but-good★ 1same 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 repository5 other files it gives its agents.
- ci-pipelineSkill
- dockerizeSkill
- tdd-loopSkill
- vertical-sliceSkill
- rust-cli-scaffoldSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
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
- Distinctive: line 12
Run and read the output before doing anything:
- Distinctive: line 24
Read the *entire* diff as if you were the reviewer.
- Distinctive: line 47
Use git rebase -i (or reset + recommit) to reorganize.
- Distinctive: line 70
Keep it honest — note known gaps or follow-ups rather than hiding them.
- Very specific: line 74
Before declaring PR-ready, confirm: suite green, lint clean, no secrets, commits conventional, description complete.
“Common” is measured: kept by at least 6 in 10 of the 3 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 Ready
Turn a working-but-messy branch into something a busy senior reviewer can approve quickly. A good PR is small, tells a story through its commits, and reviews itself before a human has to.
Step 1 — Survey the branch
Run and read the output before doing anything:
git status
git diff --stat $(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD main)..HEAD
git log --oneline $(git merge-base HEAD main)..HEADIdentify the base branch (main/master/develop), the files touched, and the current commit history. If the diff is large (> ~400 lines of meaningful change), flag it to the user and suggest splitting into multiple PRs before proceeding.
Step 2 — Self-review the diff
Read the entire diff as if you were the reviewer. Look for:
- Debug leftovers:
console.log,dbg!,print, commented-out code,TODO/FIXMEadded in this branch. - Secrets or credentials accidentally staged.
- Tests: does new behavior have tests? Does the suite pass? Run it.
- Scope creep: changes unrelated to the stated goal. Call them out.
List every issue you find and fix the mechanical ones. Surface judgment calls to the user.
Step 3 — Shape the commits
Rewrite history into a clean, logical sequence using Conventional Commits:
<type>(<scope>): <imperative summary>
<body: what & why, not how>Types: feat, fix, refactor, test, docs, chore, perf, build, ci.
- One concern per commit. A reviewer should be able to read commits top to bottom and understand the change.
- Summary line ≤ 72 chars, imperative mood ("add", not "added").
- Use
git rebase -i(or reset + recommit) to reorganize. Confirm with the user before rewriting any already-pushed history.
Step 4 — Write the PR description
Produce this template, filled in:
## What
<one-paragraph summary of the change>
## Why
<the problem / motivation / ticket link>
## How
<key decisions a reviewer should understand>
## Testing
<what you ran; how to verify locally>
## Risk
<blast radius, rollback plan, anything to watch in prod>Keep it honest — note known gaps or follow-ups rather than hiding them.
Step 5 — Final gate
Before declaring PR-ready, confirm: suite green, lint clean, no secrets, commits conventional, description complete. Report the checklist result. Do not push or run gh pr create unless the user explicitly asks.
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.

