pull-requests
Skill896 starsChanged 31 days agoApache-2.0View on GitHub
Read when opening a pull request, writing a PR description, splitting work into PRs, or deciding whether a change is too large to review. Covers the size targets, the one-purpose-per-PR rule, what makes a PR reviewable on its own, and the exceptions for dependency bumps, codemods, migrations, and generated files.
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 11 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
- Distinctive: line 19
Use stacked PRs to work on larger features without being blocked by review.
- Distinctive: line 37
no unrelated formatting or cleanup noise
- Very specific: line 48
Follow .github/pull_request_template.md.
- Distinctive: line 50
Write them so that a reader who does not know the code can follow.
- Distinctive: line 70
call out risk areas explicitly
“Common” is measured: kept by at least 6 in 10 of the 11 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
Pull Request Guidelines
Break changes down into small, focused pull requests that can be easily reviewed. As a rule of thumb, a PR should be reviewable in under 15 minutes.
Guidelines
1. Keep PRs Small
- Ideal PR size is under 100 changed lines. Under 200 lines is usually acceptable. Larger changes should be split into multiple PRs unless there is a reason not to.
- It is okay to have a larger PR if it is mostly mechanical changes, such as generated files, test data, or formatting. But the core PR logic should ideally remain under 100 lines.
- Use stacked PRs to work on larger features without being blocked by review.
2. One Purpose Per PR
- A pull request should do one thing only. Do not mix unrelated changes in the same PR.
- Minor improvements to the neighborhood of the main change are ok, but larger refactors should be in a separate PR.
3. Every PR Must Be Reviewable on Its Own
A reviewer should be able to understand what changed, why, and how it was validated. That usually means:
- In the code
- clear comments for non-obvious logic
- TODO comments for future work
- tests for new behavior when appropriate
- updated docs when user-facing behavior changed
- no unrelated formatting or cleanup noise
- In the PR on GitHub
- clear PR description
- screenshots or recordings for UI changes
- line comments for non-obvious code changes
In some cases, the tests or a docs change may be in a separate PR if it would be too large to review together.
4. Description & Suggested Reviewers
- Follow
.github/pull_request_template.md. Keep the description short and human readable. - Propose a few short bullet points that say which problem the PR addresses and how it is solved. Write them so that a reader who does not know the code can follow.
- Assign the reviewer most likely to help, based on
git blame/git loghistory of the touched files or lines, and recommend an alternative one at the end of the description. - For a stack of PRs, prefer the same reviewer(s) for each item in the stack, unless the items can be reviewed independently.
Exceptions
Some PRs will not fit the normal shape. Examples:
- dependency upgrades
- mechanical codemods
- large test updates
- schema or migration changes
- generated files
In those cases, optimize for reviewer clarity:
- explain why the PR is large
- separate mechanical and logical changes where possible
- call out risk areas explicitly
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- facebook/docusaurus★ 67ksame name
- pnpm/pnpm★ 37ksame name
- verdaccio/verdaccio★ 18ksame name
- Effect-TS/effect★ 17ksame name
- coder/coder★ 17ksame name
- quarkusio/quarkus★ 16ksame name
- microsoft/agent-framework★ 14ksame name
- cloudflare/computer★ 9.8ksame name
- redis/RedisInsight★ 8.9ksame name
- lambdakilo/dotclaude★ 3same name
2 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- backend-guideSkill
- best-practicesSkill
- frontend-guideSkill
- glossarySkill
- python-guideSkill
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.

