pr-description
Skill54 starsChanged 3 months agoApache-2.0View on GitHub
Create or update PR. Use this skill every time user asks to create or update a PR to ensure clear, consistent descriptions between PRs.
- Commits and pushes
44 other projects use a version of this.
Adopted by
Most recently taken up by
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- assawalhy/awesome-agenttheir own version, first seen Oct 2, 2026
- victorhqc/filberttheir own version, first seen Oct 2, 2026
- charliesbot/skillstheir own version, first seen Sep 27, 2026
- adrian-patterson/skillstheir own version, first seen Sep 26, 2026
- jaredpalmer/skillstheir own version, first seen Sep 23, 2026
Used with
Projects with it also use conventional-commits, i-have-adhd and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
metalagmanSkillconventional-commits
Use this skill to write, validate, or generate commit messages that follow the Conventional Commits specification.
Also in 4 projects that use this
PydanticSkilli-have-adhd
Shape every response for an ADHD reader who reviews the work but does not do the coding — the agent does. Use whenever responding to ANY message — coding, debugging, planning, casual. Lead with the result or the decision. Surface anything needing the user's input as a structured question, never buried in prose they'll skim past. No preamble, no recap, no closers. State errors matter-of-factly. Make finished work visible. Trigger even on casual messages and even when brevity wasn't requested.
Also in 3 projects that use this
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 5 projects that use this
pproencaSkillrefactoring
Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.
Also in 3 projects that use this
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
Microsoft AzureSkilldocs
Also in 3 projects that use this
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- OrchestratorInc/agent-orchestrator★ 13ksame name
- Untrivial-ai/agent-orchestrator★ 13ksame name
- basicmachines-co/basic-memory★ 4.1ksame name
- TanStack/ai★ 3.2ksame name
- jgravelle/jcodemunch-mcp★ 2.7ksame name
- The01Geek/prflow★ 99same name
- g2i-ai/agents★ 52same name
- petekp/claude-code-setup★ 47same name
- AlemTuzlak/skills★ 42same name
- HexamindOrganisation/hexgate★ 18same name
34 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 repository23 other files it gives its agents.
- frontend/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- frontend/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agent-capabilitySkill
- agent-specSkill
- alembic-migrationSkill
- backend-testsSkill
- background-taskSkill
- channel-botSkill
- dev-agentSkill
- e2e-testsSkill
- frontend-featureSkill
- mcp-connectionsSkill
- permissions-rbacSkill
- pr-commentsSkill
- project-docsSkill
- rag-knowledgeSkill
- resolve-changelog-conflictSkill
- review-mapSkill
- ste-writingSkill
- vault-secretsSkill
- vstorm-code-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 41 edited versions we read keep these.
2
Distinctive
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 8
Create or update PR description based on git diff.
- Very specific: line 17
If the user names a different base (e.g.
- Distinctive: line 77
Use present tense ("Add", "Update", "Remove")
- Very specific: line 80
Attach diagrams for an architectural change: When a change adds or reshapes a flow across components — a new tool or service path, a new …
“Common” is measured: kept by at least 6 in 10 of the 41 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
Skill: PR Description
Create or update PR description based on git diff.
Inputs
- PR number — required when updating an existing PR; provided by the user (referred to as
<pr-number>below) - Base branch — detect dynamically; do not assume
main:
If the user names a different base (e.g.BASE=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name)develop), use that instead.
Steps
- Gather context:
- Refresh the base first:
git fetch origin "$BASE".gh repo viewhands back a branch name; it does not update the local remote-tracking ref, and a staleorigin/$BASEdescribes commits that merged upstream days ago as if they were this PR's. - For new PR:
git diff "origin/$BASE"...HEADandgit log "origin/$BASE"..HEAD --oneline - For existing PR:
gh pr diff <pr-number>, and its current body:gh pr view <pr-number> --json title,body. An update is a merge, not a rewrite: a body often carries hand-written limitations, verification evidence and issue links that the diff cannot reconstruct, and--body-filereplaces all of it silently. Carry that content forward, and only rewrite what the diff has actually made wrong.
- Refresh the base first:
- Generate description in this format:
## Changes
### Summary
[Brief summary of changes - 1-3 sentences]
### Business Context
[Business/technical context - why was this change needed. Infer from branch name, commits, and code changes. Remove this section if unclear.]
### Changes
[Technical approach - main architectural decisions, main changes. Use bullet points.]
### Architecture
[Diagrams, for an architectural change only — see Rules. Reference each attached image as `` with one sentence saying what the reader should take from it. Remove this section for a change with no architectural shape.]
### Verification
[Example queries, commands, or steps to verify the changes work correctly. When the change is observable through the project's own tracing/observability backend (new or changed spans, telemetry attributes, logged events — check whether the repo has one before assuming), include links or excerpts from example traces you actually produced — see Rules.]
### Linked Issues
[Link to any relevant issues or tickets found in branch name or commits. Remove this section if none found.]- Execute (write the body to a file and pass
--body-file; a long body with backticks does not survive--body "…"intact):- New PR:
gh pr create --base "$BASE" --title "<title>" --body-file body.md - Existing PR:
gh pr edit <pr-number> --body-file body.md - Diagrams go in the body as mermaid, so there is nothing to upload and no asset URL to
go stale.
ghhas no image-upload flag ---attachis not a flaggh pr createorgh pr edithas ever exposed - and a local PNG referenced by path renders as a broken image for every reviewer.
- New PR:
- Return the PR URL.
Rules
- No "Test plan" or "Generated with..." sections
- Keep descriptions concise
- Use present tense ("Add", "Update", "Remove")
- Omit
Business ContextandLinked Issuessections when there's nothing to fill in — don't leave placeholders - Include trace/log evidence for observable changes, when the repo has the means to produce it. When the change produces or alters observability (new/changed spans, telemetry attributes, structured logs) and the project has a tracing or logging backend, link to or excerpt example traces/log lines you actually produced in the
Verificationsection — one per meaningful path (happy path + key error paths), using that backend's own link format (e.g. a dashboard deep-link, a log query, a captured span tree). Only cite evidence you genuinely produced — never fabricate ids, URLs, or output. If the project has no such backend, or the change isn't observable through one, skip this and verify with the project's normal test/run commands instead. - Attach diagrams for an architectural change. When a change adds or reshapes a flow
across components — a new tool or service path, a new gate, a state machine, a
cross-channel behaviour — put images in the
Architecturesection rather than making the reviewer rebuild the shape from the diff. Two usually suffice: one component/flow diagram (who calls what, and what each outcome writes) and one sequence diagram (the call order, with the refusal branches). Put the mermaid straight in the body, in a fenced ```mermaid block: GitHub renders it in a pull request description, so the diagram needs no renderer, no uploaded asset and no version of anything. It also stays readable in the diff and as text, which a PNG does not. A committed architecture doc's diagram belongs wherever this repo keeps those instead, e.g.docs/architecture.md, adocs/architecture/directory, or an ADR. Diagram the mechanism the PR actually changes, including its failure paths; a box-and-arrow restatement of the module tree earns nothing. Skip the section for a fix, a test-only change, or a one-file tweak.
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.

