agentleFS
betsyhcampbetsyhcamp/agent-tools/skills/pr-notes/SKILL.md

pr-notes

Skill2 starsChanged 25 days agoMITView on GitHub

Drafts a copy-ready pull request title and Markdown description from a branch's net diff and confirmed verification evidence. Use when asked to write or revise PR notes or a PR description. Not for code review, and not for creating or updating a pull request.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read git log --oneline <base>..HEAD, git diff --stat <base>...HEAD, then the full diff, per file when large.

    line 13
  2. Distinctive:

    Notes for reviewers: only when non-empty: breaking changes, migrations, limitations, and findings outside this PR's scope, as plain bullets …

    line 25
  3. Distinctive:

    Write a full draft, then revise it as that reviewer before output.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR notes

Draft the title and description for the current branch's pull request. Do not modify files or create, edit or post a pull request.

Gather

  1. Base: the branch the user names, else the remote default (git symbolic-ref --short refs/remotes/origin/HEAD, which prints a ref such as origin/main), else main. Prefer the remote ref: a stale local base pulls already-merged work into the diff. If the base looks stale, ask before fetching.
  2. Read git log --oneline <base>..HEAD, git diff --stat <base>...HEAD, then the full diff, per file when large. Describe the committed net diff, not the commit history. Run git status --short --untracked-files=no and warn if uncommitted changes would make the draft incomplete.
  3. Verification evidence comes from results captured in this conversation, commit messages, and any handoff or review notes the user points to. A check counts only when the evidence records what was done and its result; never infer a pass from changed tests, a command with no result, or a plan. Do not run new checks unless asked.
  4. If there is no usable evidence or results conflict, ask one concise question before drafting. If a check ran but a result the reviewer needs isn't recorded, draft from the confirmed results, note under Notes for reviewers that it isn't recorded, and ask for it in one question after the draft. If the user confirms nothing ran, say so plainly.

Write

Read the repo's CLAUDE.md and AGENTS.md, whichever exist, and follow their prose rules. If the repo has a pull request template, fill its headings instead of the ones below. Write for a reviewer who has the diff open: say what changed and how it was checked, and leave the details to the diff. Describe changes in plain English. Never use internal labels such as "Part 4" or "Step 4", or placeholders such as $1. Scale the bullets to the diff: a small PR may need two.

  • Title: one line under 70 characters in the repo's commit-subject style, summarizing the net change. Never the branch name.
  • Summary: at most two sentences: what changes and why, for a reader outside the project. Never pack a list into one sentence. Name any breaking change here too.
  • Key changes: reviewer-relevant behaviors, most important first. Lead each bullet with a bold label; add a path only when the PR spans several files and the label doesn't say where. Give the behavior and its main constraint, including anything it must never do, not every rule, example or edge case behind it. Describe the end state: fold review fixes into the bullet for what they fixed, and do not list every file or commit.
  • Verification: confirmed outcomes only, each with its method and result: the command, count, URI, comparison or manual scenario. Give only the setup needed to judge the result: what ran, on which version, which cases it covered, and how it was scored.
  • Notes for reviewers: only when non-empty: breaking changes, migrations, limitations, and findings outside this PR's scope, as plain bullets of at most 25 words.

Write a full draft, then revise it as that reviewer before output. Check the title, Summary and each bullet against its limit, and cut:

  • wording copied from the diff or the evidence: restate it in about half the words, keeping its numbers, names, quotes and qualifiers;
  • paths, file names and config keys the diff already shows;
  • examples that only illustrate a behavior;
  • setup that doesn't change how a result reads, such as where a run happened;
  • anything already said.

Unless the repo's prose rules say otherwise, prefer fragments, semicolons, parentheses and compound modifiers ("hand-tested", not "tested by hand") to full sentences. Meet each limit by cutting words, not by splitting a bullet or by dropping or merging away a behavior, result or setup the reviewer needs; run over a limit rather than lose one. Keep the meaning of every count, scope limit and qualifier such as "not rerun"; never widen a claim or add intent or commitments the evidence doesn't state: "all tests pass" when only the new ones ran is wrong.

Output

The title on its own line, then the description in one block fenced with four backticks, so code blocks inside it survive. Add ## Notes for reviewers after Verification only when it has content. With a template, put all the notes under this heading, before any checklist, unless every note fits one of the template's own sections; if the template forbids new sections, use its closest prose field.

<PR title>
## Summary

<summary>

## Key changes

- **<label>:** <behavior and its main constraint; whole bullet at most 25 words>

## Verification

- <method, with only the setup needed>: <result; whole bullet one sentence of at most 20 words>

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.