pr-desc
Skill9 starsChanged 5 months agoMITView on GitHub
Update the current PR description based on commits vs main. Writes a concise summary, entrypoint, and details section.
In this repository18 other files it gives its agents.
- backend/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/adhoc.mdcCursor rule
- .cursor/rules/agents.mdcCursor rule
- .cursor/rules/ai-engineering.mdcCursor rule
- .cursor/rules/backend-python.mdcCursor rule
- .cursor/rules/code-analysis.mdcCursor rule
- .cursor/rules/coding.mdcCursor rule
- .cursor/rules/guardrails.mdcCursor rule
- .cursor/rules/help.mdcCursor rule
- .cursor/rules/questions.mdcCursor rule
- backend-quality-gateSkill
- creating-commitsSkill
- deploy-requirementsSkill
- gain-backportSkill
- pr-loc-breakdownSkill
- release-notesSkill
- specflow-usability-checkSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Run git log main..HEAD --oneline to see commits on this branch.
- Distinctive: line 10
Run git diff main...HEAD --stat to see which files changed.
- Very specific: line 11
Run gh pr view --json number,title,body to get the current PR (if one exists).
- Distinctive: line 12
Look at existing PR description as it might have already partly correct information.
- Very specific: line 14
Update the PR description using gh pr edit --body "...".
- Distinctive: line 37
Keep every section to 1-2 sentences max.
- Distinctive: line 39
Details: if there are no gotchas, write "Nothing surprising." Don't invent content.
- Distinctive: line 40
Do NOT summarize every commit — synthesize the overall change.
- Distinctive: line 41
Do NOT use bullet lists inside sections — prose only.
- Distinctive: line 42
After updating, print the final body so the user can confirm.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 Description Updater
- Run
git log main..HEAD --onelineto see commits on this branch. - Run
git diff main...HEAD --statto see which files changed. - Run
gh pr view --json number,title,bodyto get the current PR (if one exists). - Look at existing PR description as it might have already partly correct information.
- Generate new description based on commits and real state of repo
- Update the PR description using
gh pr edit --body "...".
Description Format
Separate using newlines only.
## Summary
<1-2 sentences: what this PR does and why>
## Entrypoint
<1-2 sentences: where a reviewer should start — the main hook-up point, the top-level call, the route/handler/config that ties it all together>
## Diagram
<If any flow or structure was changed, put the diagram here or reference a file with diagrams if that is used to track it by design.>
## Details
<Only non-obvious things: surprising design choices, edge cases, workarounds, things that look wrong but aren't. Skip plumbing, boilerplate, and straightforward wiring.>
Rules
- Summary section is always concise prose: no code snippets, no backticks, and no semicolons. Keep it to 1-2 plain sentences a non-author can understand.
- Keep every section to 1-2 sentences max. Be ruthless about brevity.
- Entrypoint: name the specific file/function/line where the new behavior is wired in — not a vague description.
- Details: if there are no gotchas, write "Nothing surprising." Don't invent content.
- Do NOT summarize every commit — synthesize the overall change.
- Do NOT use bullet lists inside sections — prose only.
- After updating, print the final body so the user can confirm.
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.

