update-pr
Skill2 starsChanged 9 months agoMITView on GitHub
Creates comprehensive PR descriptions by systematically reviewing ALL changes - features, bug fixes, tests, docs, and infrastructure. Use when user asks to "update the PR", "prepare PR for review", "write PR description", or "document branch changes". Requires gh CLI.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- zkmake/skillstheir own version, first seen Oct 3, 2026
- KUNDURUHIMANEESHREDDY/sabertheir own version, first seen Sep 21, 2026
- gaurav/llmingtheir own version, first seen Aug 23, 2026
- patterson-agents/skillstheir own version, first seen Aug 12, 2026
- frostney/pascal-mcp-sdktheir own version, first seen Aug 9, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- microsoft/vscode★ 196ksame name
- ReflexioAI/claude-smart★ 782same name
- frostney/pascal-mcp-sdk★ 2same name
- raine/skills★ 2same name
- zkmake/skills★ 2same name
- mitchdowd/skills★ 1same name
- gaurav/llming★ 0same name
- KUNDURUHIMANEESHREDDY/saber★ 0same name
- patterson-agents/skills★ 0same 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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyze-depsSkill
- ask-expertSkill
- debriefSkill
- deep-interviewSkill
- mine-historySkill
- pr-audit-anglesSkill
- pr-fix-anglesSkill
- trim-prSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
4
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 18
Create thorough PR descriptions that document EVERY meaningful change, not just the headline feature.
- Distinctive: line 99
Completeness: Every commit is represented in the summary
- Distinctive: line 100
Accuracy: All bug fixes are documented with impact
- Distinctive: line 110
If no PR exists yet, create one first before running the update process.
“Common” is measured: kept by at least 6 in 10 of the 9 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
Comprehensive PR Description Creator
Create thorough PR descriptions that document EVERY meaningful change, not just the headline feature.
Phase 1: Complete Change Inventory
Determine the PR's base branch, then review the full diff, changed files, and all commits since branching.
NEVER assume you know what's in the PR based on branch name or first glance. PRs often contain secondary bug fixes, performance optimizations, test infrastructure improvements, documentation updates, dependency changes, and configuration adjustments alongside the main feature.
Phase 2: Categorize Changes
Using the diff output, create a categorized inventory of EVERY changed file:
| Category | What to look for |
| Core application | New methods, refactoring, bug fixes, performance improvements |
| Bug fixes | Scan commit messages for "fix", "bug", "correct", "resolve" |
| Infrastructure | Interceptors, middleware, base classes, test fixtures |
| Configuration | Config files, constants, environment settings, package files |
| Tests | New test files vs modified, test patterns, coverage improvements |
| Documentation | README, docs folders, inline documentation |
| Build & tooling | package.json, build configs, CI/CD, scripts |
| UI/Frontend | Components, styles, state management |
For each commit, identify the category (feature, bugfix, test, docs, refactor, perf, chore) and understand WHY the change was made, not just WHAT changed.
Phase 3: Write Comprehensive Summary
Structure the PR description to cover all categories:
## Summary
[One sentence covering the MAIN change, plus brief mention of other significant improvements]
## User Impact
**[Main Feature Category]:**
- [Specific user-facing improvements]
**[Secondary Categories if applicable — e.g., Reliability, Performance]:**
- [Bug fixes with impact]
- [Performance improvements]
## Technical Notes
### 1. [Main Feature Name]
[Detailed explanation with file references]
### 2. [Bug Fixes / Corrections]
[Each bug fix: location, what was wrong, impact, fix]
### 3. [Infrastructure / Performance]
[Test improvements, framework changes, optimizations]
### 4. [Configuration & Dependencies]
[Constants, config changes, dependency updates]
### 5. [Documentation]
[README updates, new docs, removed obsolete content]
## Testing
[Comprehensive test results with specific numbers]
## Implementation Approach
[List ALL commits with brief explanation of each]
---
Generated with [Claude Code](https://claude.com/claude-code)Phase 4: Update the PR
Show the summary to the user and ask if they want to update the PR. Only update with gh pr edit after approval.
Quality Checklist
Before finalizing, verify:
- Completeness: Every commit is represented in the summary
- Accuracy: All bug fixes are documented with impact
- Context: WHY changes were made, not just WHAT changed
- Organization: Changes grouped logically
- Specificity: File paths for critical changes
- Impact: User-facing vs internal changes clearly separated
- Testing: Actual test results reported, not assumptions
Gotchas
- PRs often contain a week's worth of work across multiple areas. The biggest mistake is focusing only on the main feature and skipping "small" changes like constants, config, docs, and especially bug fixes.
- If no PR exists yet, create one first before running the update process.
- Shell constructs like
$(),&&, and variable assignments in Bash calls can trigger permission prompts. Prefer simple, single-command calls when possible.
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.

