pr-description
Skill25 starsChanged 5 months agoMITView on GitHub
Write the body of a hexgate pull request — the house structure (objective, design, important files, test plan, try it, notes) that a reviewer and a review agent can both scan. Use when opening a PR, drafting or rewriting a PR description, or asked "write the PR body / description" for a change on this repo.
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
- ku5ic/claude-kittheir 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
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 repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- hexgate/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- hexgate/CLAUDE.mdCLAUDE.md
- film-demoSkill
- integration-testsSkill
- run-platformSkill
- write-adrSkill
- write-policySkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 12 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 104 edited versions we read keep these.
12
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 27
Guard against rubber-stamping: When an agent drafts the description and an agent reviews the diff, the human can slide into approving a …
- Distinctive: line 49
Use these in this order. Drop the ones a given PR does not need.
- Distinctive: line 67
When in doubt, pick the higher tier.
- Distinctive: line 80
Tests (required for anything that changes behaviour): Not just what you ran, but what you *added* so someone fresh to this code can catch a …
- Distinctive: line 147
Do state the primary change in sentence one.
- Distinctive: line 148
Do name the two or three files that carry the design.
- Distinctive: line 149
Do give a paste-able way to see it work.
- Distinctive: line 150
Do write the Tests section yourself, not with a tool: it is the one section a reviewer trusts, because a model cannot fake what you ran or …
- Distinctive: line 152
Do split an oversized PR rather than compensate with a longer description.
- Distinctive: line 153
Do not restate the diff line by line.
- Distinctive: line 154
Do not open with implementation detail before the objective.
- Distinctive: line 155
Do not use em-dashes as connectors in the body (they get stripped from GitHub text here).
“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
Write a hexgate PR description
The goal is a body a reviewer can read top to bottom and know, in order: what this PR is for, how it works, and which files to open first. A clear description is the cheapest way to speed up review — most of the time saved is questions the reviewer never has to ask.
The commit subject is separate and stays type(scope): description (see
AGENTS.md). This skill is about the PR body.
Why the structure matters
- The reader is no longer only human. PRs are read by AI agents too — they summarize the change, review the diff, and answer questions about it. A consistent shape (objective → design → the files that matter) is something both a human skims and an agent parses, and an agent can walk the "important files" table as a review order the same way a person would.
- There is more code per PR than there used to be. The description is the main thing standing between a large, partly machine-written diff and a reviewer who has to trust it. A structured body keeps review fast no matter who — or what — is reading.
- Guard against rubber-stamping. When an agent drafts the description and an agent reviews the diff, the human can slide into approving a change nobody read. At least one section must be written by the person who did the work and be something a model cannot fake: the test plan. An agent can summarize a diff, but it cannot truthfully say what you ran and what you saw.
Principles
- Lead with the objective. The first sentence says what the PR does, before any detail. A reviewer should grasp the point without scrolling.
- Explain why, not just what. The diff already shows what changed; the body's job is the motivation and the approach the diff cannot show.
- Scale length to the change. A one-file fix gets a paragraph. A subsystem gets the full skeleton. Do not pad a small PR into a big one.
- Make it scannable. Short paragraphs, bullet lists, and tables beat prose walls.
- Point at the files that matter. In a 13-file diff, name the three that carry the design; leave the ten mechanical ones out.
- Write for someone without the background. The reviewer may not have been in the design discussion.
Section order
Use these in this order. Drop the ones a given PR does not need.
- Objective (required). One short paragraph. The PR title already states the change; this section adds what the title cannot, so do not just restate it. Make the first sentence stand on its own — a single imperative statement ("Add role-aware policy resolution") that reads well alone in the merge history — then give the problem it solves and why. If it is part of a series, reference the prior PRs and say where this one sits. Note the blast radius up front ("pure SDK, no platform change", or "adds a migration") so the reviewer knows what class of change they are reading.
Risk tier (required). One line —
low/medium/high— and a short why, so the reviewer can scale their effort to the risk. Use these definitions:- low — a secondary feature that does not touch core functionality (e.g. an AI Act report).
- medium — could affect core functionality (e.g. makes the platform slower, or changes a core UI page).
- high — core is impacted (e.g. public APIs, security / auth, a migration).
When in doubt, pick the higher tier. This composes with the blast radius above: blast radius says what class of change it is; the tier says how much review it warrants.
- Design / approach (required for anything non-trivial). A few lines on the
technical shape: the key idea, the main type or function, what it reuses vs.
what is new, and the one or two decisions worth knowing. A small table works
well when the PR adds several related things (lints, endpoints, flags). Keep
it to what a reviewer needs, not a full design doc. Link the design doc or the
relevant ADR (
docs/adr/R-…) if there is one. - Important files (required when the diff spans more than a few files). A
| File | What to look at |table naming the files that carry the design and what to check in each. Highest-leverage section: it turns a flat file list into a review order. Leave out the mechanical files. Tests (required for anything that changes behaviour). Not just what you ran, but what you added so someone fresh to this code can catch a future regression. Break it out by layer, dropping the ones that do not apply:
- Unit — the suite you ran and its result.
- Integration — what you ran and where: local (against a local stack /
ClickHouse, see the
integration-testsskill) or against staging. Say which. - End-to-end / by hand — the specific cases you checked, UI steps included.
- Added — the tests you added to pin the new behaviour against regression.
Write this section yourself — it is a claim about what you observed, not a summary of the diff, and it is the section a reviewer leans on to trust the rest. Plainly: "unit: full suite green (142 passed); integration:
pytest -m integrationgreen locally; by hand: deny path returns 403 for the billing role; added: a regression test for the empty-scope case."- Try it (when there is something runnable). A fenced block of commands the
reviewer can paste to see the change work, ideally against a fixture already
in the repo (for us,
deploy/demo_policies). For UI changes, put a screenshot or short clip here instead. - Notes (optional). Loose ends: what stayed unchanged on purpose; risk and rollback (migrations, breaking changes, feature flags, how to revert); known limitations; follow-ups deferred to a later PR; link to the design doc or ticket.
Template
<Objective: one paragraph. What this PR does and why. Series position and blast
radius if relevant.>
**Risk tier:** <low | medium | high> — <one line why>
## Design
<A few lines on the approach: the key idea, the main entry point, what is reused
vs new, the decisions worth knowing. A table if it adds several related things.>
## Important files
| File | What to look at |
| --- | --- |
| `path/to/core.py` | the main change and why it is shaped this way |
| `path/to/wiring.py` | how it plugs into the existing path |
| `tests/...` | the cases that pin the behaviour |
## Tests
- **Unit:** <suite run + result>
- **Integration:** <what you ran + local or staging>
- **End-to-end / by hand:** <cases checked>
- **Added:** <tests added to pin the new behaviour>
<Write this section yourself: it is what you observed, not a summary of the diff.>
## Try it
```
<runnable commands against a repo fixture, e.g. deploy/demo_policies>
```
## Notes
- What stayed unchanged on purpose.
- Risk and rollback: migrations, breaking changes, feature flags, how to revert.
- Follow-ups deferred; link to the design doc / ADR / ticket.Quick do / do-not
- Do state the primary change in sentence one.
- Do name the two or three files that carry the design.
- Do give a paste-able way to see it work.
- Do write the Tests section yourself, not with a tool: it is the one section a reviewer trusts, because a model cannot fake what you ran or added.
- Do split an oversized PR rather than compensate with a longer description.
- Do not restate the diff line by line.
- Do not open with implementation detail before the objective.
- Do not use em-dashes as connectors in the body (they get stripped from GitHub text here). Use commas, periods, or parentheses.
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.

