pr-description
Skill18 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.
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
- vstorm-co/agenticos★ 54same name
- g2i-ai/agents★ 52same name
- petekp/claude-code-setup★ 47same name
- AlemTuzlak/skills★ 42same 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- hexgate/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- hexgate/CLAUDE.mdCLAUDE.md
- 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 41 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 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
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.

