write-pr
Skill2 starsChanged 3 months agoMITView on GitHub
Write a PR description that states the problem and what changed. Use when opening a PR, writing or improving a PR body, or running `gh pr create`.
- Commits and pushes
8 other projects use a version of this.
Adopted by
Most recently taken up by
- adhamhaithameid/write-skillstheir own version, first seen Nov 8, 2026
- LeonardiFranco/skillstheir own version, first seen Nov 8, 2026
- daniel-kindl/dkstacktheir own version, first seen Nov 1, 2026
- hcaiano/skillstheir own version, first seen Oct 13, 2026
- ypxing/coding-crewtheir own version, first seen Oct 13, 2026
- MoonshotAI/kimi-codetheir own version, first seen Oct 8, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- tldraw/tldraw★ 51ksame name
- MoonshotAI/kimi-code★ 8.2ksame name
- hcaiano/skills★ 3same name
- drewdrewthis/claude-skills★ 2same name
- adhamhaithameid/write-skills★ 1same name
- daniel-kindl/dkstack★ 1same name
- LeonardiFranco/skills★ 1same name
- ypxing/coding-crew★ 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 repository16 other files it gives its agents.
- _global/AGENTS.mdAGENTS.md
- adhd-modeSkill
- browserSkill
- code-reviewerSkill
- commitSkill
- context7Skill
- datadogSkill
- discordSkill
- firestoreSkill
- handoffSkill
- linear-cliSkill
- planworkSkill
- slackSkill
- taskmanSkill
- workflowsSkill
- write-an-adrSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
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
Every line traces to a hunk in the diff.
- Distinctive: line 42
Read the diff itself, not just the stat.
- Distinctive: line 45
Write the problem, the change, the bullets, the blurb.
“Common” is measured: kept by at least 6 in 10 of the 7 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
Write PR
A PR body carries two things. The problem the PR solves, and what changed to solve it. Everything else is noise a reviewer has to read past.
Shape
<the problem, one or two sentences>
<what changed to solve it, one or two sentences>
- `path/to/module.ts`: what it does now
- `path/to/gone.ts`: deleted, callers moved to `module.ts`
---
Written by <model> using <harness>.Bullets name load-bearing files. A file a reviewer can skim past gets no line.
Nothing else goes in the body. No summary of the summary, no test counts, no "this PR adds", no section that restates the title.
Rules
- Every line traces to a hunk in the diff. Describe what the code does now, not what it enables or unlocks.
- Name the problem concretely. "Threads over 200 messages froze the sidebar for ~4s" beats "performance issues in threads".
- Deletions and renames count as changes. They are the ones reviewers miss.
- Apply the
unslopskill to the body before creating the PR.
Process
git log --oneline <base>..HEADandgit diff <base> --stat.- Read the diff itself, not just the stat. Behavior changes, deletions, and renames hide inside small line counts. Done when every file in the stat is either in a bullet or judged noise.
- Write the problem, the change, the bullets, the blurb.
- Cut. Done when every remaining line is one of those four things.
gh pr create --title "<prefixed>" --body-file <file> --base <base>.
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.

