agentleFS
victorhqcvictorhqc/filbert/.agents/skills/pr-description/SKILL.md

pr-description

Skill4 starsChanged 2 months agoMITView on GitHub

Write or fill in the body of a pull request in this repo — the Summary, Why, What changed, and Notes for review sections. Use this whenever the user asks to "write a PR description", "describe the changes", "summarize the branch or diff", "fill in the PR body", or otherwise wants prose explaining what a branch changes and why. Covers how to inspect the branch diff against main, how to summarize it in plain English (short sentences, simple words, no jargon, no marketing), and the exact template to follow.

44 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • metalagmanSkill

    conventional-commits

    Use this skill to write, validate, or generate commit messages that follow the Conventional Commits specification.

    Also in 4 projects that use this

  • PydanticSkill

    i-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

  • HashiCorpSkill

    changelog

    Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.

    Also in 5 projects that use this

  • pproencaSkill

    refactoring

    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

  • NVIDIASkill

    testing

    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 AzureSkill

    docs

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 9

    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
  1. Distinctive:

    Keep it true. Read the diff, then write what changed and why.

    line 9
  2. Distinctive:

    Do not guess. Look at the actual changes on the branch.

    line 13
  3. Distinctive:

    Run a diff to see what this branch adds, removes, or changes:

    line 16
  4. Very specific:

    If the user already has a PR number, use the GitHub tools instead: pull_request_read with method: get and method: get_files.

    line 23
  5. Distinctive:

    Read the changed files when you need to understand intent.

    line 26
  6. Very specific:

    If a spec exists for the change, cite it in MLA form — (topic NN).

    line 29
  7. Distinctive:

    Use the Hemingway approach:

    line 34
  8. Distinctive:

    No filler. "In order to" is just "to".

    line 39
  9. Distinctive:

    No marketing. Say what the code does, not how amazing it is.

    line 40
  10. Distinctive:

    No restating the title. The body adds new information.

    line 41
  11. Distinctive:

    Write for a teammate who knows the codebase but has not seen this branch yet.

    line 43

“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.

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

PR description

A PR description tells the reader what the branch brings to main. Keep it short. Keep it true. Read the diff, then write what changed and why.

1. Inspect the branch

Do not guess. Look at the actual changes on the branch.

  1. Find the base branch (usually main).
  2. Run a diff to see what this branch adds, removes, or changes:

    git --no-pager diff main...HEAD --stat
    git --no-pager log main..HEAD --oneline

    If the user already has a PR number, use the GitHub tools instead: pull_request_read with method: get and method: get_files.

  3. Read the changed files when you need to understand intent. Do not quote code back at the reader — they can read the diff.
  4. If a spec exists for the change, cite it in MLA form — (topic NN). See writing-specs.

2. Write the description

Use the Hemingway approach:

  • Short sentences. One idea per sentence.
  • Plain words. No jargon when a common word works.
  • Active voice. The subject does the thing.
  • No filler. "In order to" is just "to". "At this point in time" is "now".
  • No marketing. Say what the code does, not how amazing it is.
  • No restating the title. The body adds new information.

Write for a teammate who knows the codebase but has not seen this branch yet.

3. Template

Fill in each section. Drop a section if it has nothing to say. Do not pad.

## Title
<One sentence. What this branch does.>

## Summary

<One to three sentences. What does this branch add or change in main?>

## Why

<The reason for the change. A bug, a new need, a spec item. One or two sentences.>

## What changed

- <Bullet per logical change. Group related files. Name the area, not every file.>

## Notes for review

- <Anything a reviewer should watch for. Migration, follow-up, risk. Omit if none.>

4. Before you hand it back

  • Every claim is grounded in the diff or a spec. No invented detail.
  • No code block quotes the diff back at the reader.
  • Sentences are short. Words are simple.
  • A reviewer can read it in under a minute and know what to look for.

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.