pr-description
Skill2 starsChanged 14 days agoMITView on GitHub
Draft your PR's title and body from the branch's diff, in the project's template
110 other projects use a version of this.
Adopted by
Most recently taken up by
- extphprs/ext-php-rstheir own version, first seen Nov 30, 2026
- VladSez/easy-invoice-pdftheir own version, first seen Nov 29, 2026
- NVIDIA-NeMo/RLtheir own version, first seen Nov 29, 2026
- punitda/my-skillstheir own version, first seen Nov 29, 2026
- DylanHalstead/skillstheir own version, first seen Nov 29, 2026
- afine907/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use ao-desktop-dev, commit-message 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.
agentlab-inSkillao-desktop-dev
Launch, restart, or troubleshoot the real AO Electron desktop app from this repository; run a checkout against isolated or real local AO data; combine PR branches for local UI review; and diagnose stale Electron processes, port conflicts, or preload bridge mismatches. Use whenever asked to run, open, show, or visually verify AO frontend changes in the actual desktop app rather than ao preview, dev:web, or mock data.
Also in 4 projects that use this
GitHubSkillcommit-message
Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help
Also in 13 projects that use this
jMertaSkillbug-triage
Use when the user reports a bug, regression, runtime error, failing build, or broken test and wants reproduction, diagnosis, root-cause analysis, or an authorized fix. Isolates the shared cause and verifies the smallest relevant change.
Also in 4 projects that use this
AnthropicSkillincident-postmortem
Write the postmortem for an incident, in its incident channel, once it is mitigated or resolved. Use on "write up this incident", "postmortem", "incident summary", "what happened here for people who weren't around", "draft the retro", or when the oncall memory says incidents of this severity get one. Reads the incident channel (and the alert thread it came from), the investigation findings and the data behind them, and writes a one-screen, zero-context write-up: what happened, impact with numbers, detection, timeline with durations, why it happened, what fixed it, follow-ups with proposed owners, and one before/during/after chart. Posted and pinned in the incident channel as its final pinned post, with edit requests updating that one pinned post in place — unless the person or the team's conventions say write-ups live elsewhere, in which case it is written there and only a link is posted, nothing pinned. A person edits and publishes it; never assigns blame.
Also in 4 projects that use this
LangChainSkillapi-docs
OpenAPI documentation and REST API design patterns
Also in 3 projects that use this
saffron-healthSkilladdress-review
Address PR review comments systematically. Use when responding to code review feedback on a pull request.
Also in 3 projects that use this
Other versions110 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 110
- jdx/mise★ 37ksame name
- zulip/zulip★ 26ksame name
- Nagi-ovo/gemini-voyager★ 21ksame name
- pipecat-ai/pipecat★ 18ksame name
- AgentWrapper/agent-orchestrator★ 15ksame name
- ComposioHQ/agent-orchestrator★ 15ksame name
- OrchestratorInc/agent-orchestrator★ 15ksame name
- Untrivial-ai/agent-orchestrator★ 15ksame name
- sanity-io/sanity★ 6.4ksame name
- pytorch/torchtitan★ 6ksame name
100 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 repository81 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- add-languageSkill
- audit-a11ySkill
- audit-archSkill
- audit-ciSkill
- audit-debtSkill
- audit-doc-driftSkill
- audit-flagsSkill
- audit-infraSkill
- audit-perfSkill
- audit-readinessSkill
- audit-securitySkill
- audit-slopSkill
- audit-testsSkill
- audit-tokensSkill
- audit-verifySkill
- backup-patternsSkill
- bash-patternsSkill
- claude-code-mods-patternsSkill
- code-challengeSkill
- code-contractSkill
- code-deep-reviewSkill
- code-evaluateSkill
- code-from-designSkill
- code-historySkill
- code-host-patternsSkill
- code-impactSkill
- code-migrateSkill
- code-tourSkill
- code-visualSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- kit-rulesSkill
- logging-patternsSkill
- meta-conventionsSkill
- meta-promptSkill
- meta-refreshSkill
- meta-retroSkill
- meta-skillSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- pr-publishSkill
- pr-queueSkill
- pr-replySkill
- pr-reviewSkill
- python-patternsSkill
- react-patternsSkill
- report-formatSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 104 edited versions we read keep these.
5
Distinctive
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
- Very specific: line 31
Check for a project PR template: resolve the project root via kit project-root, then check these exact paths in order, using the first that …
- Very specific: line 34
Test each exact path (e.g.
- Distinctive: line 41
If one exists, read it: its sections replace the default Structure below.
- Distinctive: line 46
Read any referenced issue number in recent commit messages, but do not fetch external data.
- Distinctive: line 57
Every heading in the template appears in the output, spelled and ordered exactly as the template spells and orders it.
- Very specific: line 58
No heading is added. Not ## Summary, not ## Notes for reviewer, not anything from the default structure below.
- Very specific: line 59
No heading is removed. A section with nothing to say gets N/A or the template's own placeholder, never deletion.
- Distinctive: line 66
Use this default structure:
- Very specific: line 99
If a section would only restate the diff or the tests, cut it (default structure only).
- Distinctive: line 102
If the diff is empty, say so and stop.
“Common” is measured: kept by at least 6 in 10 of the 104 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
/pr-description
Generate a pull request title and description from the current diff.
Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
| Writing the title or the body | reference/description-practice.md |
Procedure
- Check for a project PR template: resolve the project root via
kit project-root, then check these exact paths in order, using the first that exists:- the code host's PR template paths in
skills/code-host-patterns, under<root>, in their order
- the code host's PR template paths in
Test each exact path (e.g. test -f <path>); do not run a keyword/substring search like fd -i pull_request_template across the tree. Two failure modes make that unsafe:
.githuband.gitlabare hidden directories thatfdsilently excludes unless you pass-H, so a template living there gets missed entirely..githubcommonly holds several unrelated*_pull_request_template.mdvariants (per-team or per-change-type templates, e.g.ds_pull_request_template.md), and a substring match sorted alphabetically will confidently pick the wrong one instead of the actual default.
Exact-path checks sidestep both.
If one exists, read it: its sections replace the default Structure below. This is mandatory, not a preference, even for a one-line diff. Never substitute the default Structure when a project template exists. If none exists, fall back to the default Structure.
- Resolve the base:
kit git-base. If $ARGUMENTS is a valid single-word git ref (no spaces, not a sentence), use it as the explicit base instead by runningkit git-base "$ARGUMENTS"via Bash. - Pull the diff:
kit git-base --diff - Pull the log (last 20):
kit git-base --log -20 - Read any referenced issue number in recent commit messages, but do not fetch external data.
- Build the risk map. List the changed files with
kit git-base --diff --name-only(plus the explicit base from step 2, if any). Runkit blast-radius <file>on each one that isn't a test file; it exits 2 for a file type it can't scan, so skip those. A file qualifies when it has 5 or more consumers, or when it has consumers and none of them is a test (test 0).
Output
Write the PR description to the path kit scratch-dir pr-description <branch> prints. It opens with the draft header from skills/pr-publish/SKILL.md, Head: being git rev-parse HEAD and PR: the branch's open PR, else Branch:. Under the header, a Title: <title> line, a blank line, then the body below; publish posts everything after the Title: line as the body.
If step 1 found a project PR template
Reproduce the template verbatim and fill it in. This branch is mandatory and exclusive:
- Every heading in the template appears in the output, spelled and ordered exactly as the template spells and orders it.
- No heading is added. Not
## Summary, not## Notes for reviewer, not anything from the default structure below; that structure does not exist on this branch. - No heading is removed. A section with nothing to say gets
N/Aor the template's own placeholder, never deletion. - Non-heading template scaffolding (checklists, HTML comments, instructional italics, blockquotes) is preserved as-is. Tick a checkbox only when the diff establishes it; otherwise leave it unticked.
- The Rules below govern the prose you write inside a section. They never govern which sections exist.
- Risk-map lines from step 6 go in the section closest to reviewer notes, never under a new heading.
Only if step 1 found no template
Use this default structure:
## Summary
<Why this change, now. Lead with motivation or context the diff itself can't convey; do not restate what changed. One short paragraph, no bullet list.>
## Changes
<Grouped by concern, not by file. Concise bullets. Focus on intent, not mechanics.>
## Accessibility
<Only if markup, interaction, or visual change present. Otherwise omit.>
## Testing
<Only manual verification the reviewer cannot already see from the diff or the test files themselves - e.g. env-dependent behavior, a step that needs prod-like data. If the tests in the diff already cover it, omit this section.>
## Risk
<One bullet per file step 6 qualified: `path` - N consumers (S source, T test), and "no test imports it" when T is 0. Omit when nothing qualifies.>
## Notes for reviewer
<Tradeoffs made, intentional omissions, deferred work, uncertainty. Omit if empty.>Rules
- Title: one line in the shape the step 4 log uses (Conventional Commits, ticket prefix, plain), naming the change's purpose, per reference/description-practice.md.
- Why, not what. This is a hard rule. The reviewer already has the diff for what changed and the test files for what's covered. Never restate either. A bullet that only narrates the diff ("renamed X to Y", "added a null check") earns no place in the description; only the bullet's reason for existing does.
- An impact or failure mode goes in only when the diff, the log, or a linked issue establishes it (
skills/kit-rules/reference/evidence.mdsection 1). Otherwise describe the change and say nothing on severity. - If a section would only restate the diff or the tests, cut it (default structure only). Under a project template, an empty section keeps its heading and gets
N/A. - Length and tone:
skills/kit-rules/reference/output.mdsections 0 and 4. - Signatures and footers:
skills/kit-rules/reference/workflow.mdsection 1. - If the diff is empty, say so and stop.
- Post nothing. Posting the approved draft is
/pr-publish.
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.

