pr-description-writer
Skill671 starsChanged 6 months agoMITView on GitHub
Use when the user asks to write, draft, generate, or update a GitHub pull request description for the current branch. Reads the branch diff and commit messages, writes a structured PR body (summary, changes, testing), and optionally creates or updates the PR via the gh CLI.
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kakarot-oncloud/claude-dev-skillstheir own version, first seen Apr 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kakarot-oncloud/claude-dev-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 repository63 other files it gives its agents.
- app-store-review-arbitrageSkill
- blog-cover-generatorSkill
- brand-alchemySkill
- claude-md-generatorSkill
- cold-email-verifierSkill
- company-radarSkill
- competitor-pr-finderSkill
- cook-the-blogSkill
- dependency-update-botSkill
- docs-from-codeSkill
- domain-expired-opportunity-finderSkill
- dx-roasterSkill
- email-newsletterSkill
- explain-this-prSkill
- geo-gap-fixerSkill
- gh-issue-to-demand-signalSkill
- github-discussion-to-devrel-contentSkill
- seo-keyword-researchSkill
- graphic-case-studySkill
- graphic-chartSkill
- graphic-ebookSkill
- graphic-gifSkill
- graphic-slide-deckSkill
- hackernews-intelSkill
- human-toneSkill
- hyperframes-product-launch-videoSkill
- kill-the-standupSkill
- linkedin-job-post-to-buyer-pain-mapSkill
- linkedin-post-generatorSkill
- llms-txt-generatorSkill
- map-your-marketSkill
- meeting-brief-generatorSkill
- meta-ads-expertSkill
- meta-tribe-skillSkill
- newsletter-digestSkill
- noise2blogSkill
- noise-to-linkedin-carouselSkill
- npm-downloads-to-leadsSkill
- oss-launch-kitSkill
- outreach-sequence-builderSkill
- podcast-transcript-fetcherSkill
- position-meSkill
- pricing-finderSkill
- pricing-page-psychology-auditSkill
- producthunt-launch-kitSkill
- product-update-loggerSkill
- reddit-icp-monitorSkill
- reddit-post-engineSkill
- schema-markup-generatorSkill
- sdk-adoption-trackerSkill
- show-hn-writerSkill
- store-listing-optimizerSkill
- tweet-thread-from-blogSkill
- twitter-GTM-find-SkillSkill
- vc-curated-matchSkill
- vc-finderSkill
- vid-motion-graphicsSkill
- vid-product-launchSkill
- vid-sizzle-reelSkill
- where-your-customer-livesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Read the current branch diff and write a complete GitHub pull request description.
- Distinctive: line 20
No em dashes — use a comma or period instead
- Distinctive: line 21
No filler: "this PR", "this commit", "as per the discussion"
- Very specific: line 34
If not authenticated: gh auth login and follow the prompts.
- Distinctive: line 42
If detached HEAD or no branch, stop and ask the user which branch they want to describe.
- Distinctive: line 48
Run all three commands to build context:
- Very specific: line 62
Use origin/main first (always up to date), fall back to local main, then master:
- Very specific: line 74
If the diff is very large (over 500 lines), read the --stat summary and the commit messages only.
- Very specific: line 85
Read references/pr-format-guide.md in full before writing anything.
- Very specific: line 95
Write the PR description using the format from references/pr-format-guide.md.
- Distinctive: line 98
Every bullet in the Changes section must trace to something in the diff
- Distinctive: line 99
Do not invent testing steps that are not implied by the code changes
- Distinctive: line 100
If a section has no relevant content, omit it entirely (do not write "N/A" or leave it empty)
- Distinctive: line 102
If commit messages explain the "why", use that context in the Summary
- Distinctive: line 104
QA checkpoint: Before presenting, verify:
- Distinctive: line 137
After creating or updating, confirm: "PR description updated.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Writer
Read the current branch diff and write a complete GitHub pull request description. Create or update the PR with one command.
Writing Style
Apply to all generated PR descriptions:
- Active voice. "Adds X" not "X has been added."
- Present tense for summary ("Adds caching layer"), past tense for context ("The old approach caused N requests per render")
- Short sentences, one idea per bullet
- No em dashes — use a comma or period instead
- No filler: "this PR", "this commit", "as per the discussion"
- Specifics beat generalities: "reduces p95 latency from 800ms to 90ms" beats "improves performance"
Step 1: Check Setup
Confirm gh is authenticated:
gh auth statusIf not authenticated: gh auth login and follow the prompts.
Confirm the current directory is a git repo with an active branch:
git branch --show-currentIf detached HEAD or no branch, stop and ask the user which branch they want to describe.
Step 2: Gather Diff Context
Run all three commands to build context:
File summary (what changed):
git diff main...HEAD --statCommit messages (why it changed):
git log main...HEAD --onelineFull diff (how it changed):
Use origin/main first (always up to date), fall back to local main, then master:
if git rev-parse origin/main &>/dev/null 2>&1; then
BASE=origin/main
elif git rev-parse main &>/dev/null 2>&1; then
BASE=main
else
BASE=master
fi
git diff $BASE...HEADIf the diff is very large (over 500 lines), read the --stat summary and the commit messages only. Also read the first 200 lines of the diff to understand the primary changes without processing the entire output.
Also check for an existing PR and read its current title/body:
gh pr view --json title,body,baseRefName 2>/dev/nullStep 3: Read the Format Guide
Read references/pr-format-guide.md in full before writing anything. Internalize:
- Required sections and their order
- How to write each section
- What to include vs omit
- The testing section format
Step 4: Generate the Description
Write the PR description using the format from references/pr-format-guide.md.
Rules:
- Every bullet in the Changes section must trace to something in the diff
- Do not invent testing steps that are not implied by the code changes
- If a section has no relevant content, omit it entirely (do not write "N/A" or leave it empty)
- Screenshots section: only include if there are UI changes visible in the diff
- If commit messages explain the "why", use that context in the Summary
QA checkpoint: Before presenting, verify:
- Summary is 1-2 sentences, active voice, no filler
- Every change bullet is specific and traces to the diff
- No invented metrics or outcomes
- Testing steps are actionable (someone could follow them)
- No em dashes in any line
Step 5: Create or Update the PR
Present the description to the user and ask: "Ready to create the PR, update the existing one, or output only?"
Create a new PR:
Pass the body via stdin to handle backticks, quotes, and newlines safely:
gh pr create --title "TITLE_HERE" --body-file - << 'EOF'
BODY_HERE
EOFSuggest a title based on the commit messages and diff summary. The title should be imperative mood, under 72 characters: "Add Redis caching for user session lookups" not "Added caching".
Update an existing PR:
gh pr edit --body-file - << 'EOF'
BODY_HERE
EOFOutput only: Present the title and body in a code block for manual copy-paste.
After creating or updating, confirm: "PR description updated. View it at: [URL]"
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.

