agentleFS
kwhornekwhorne/elyra-skills/skills/pr-description/SKILL.md

pr-description

Skill1 starsChanged 6 months agoMITView on GitHub

Write a clear, scannable pull request description from a diff or branch. Use when the user asks to draft a PR description, summarize a branch, prepare a change for review, or fill out a PR template.

44 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use i-have-adhd, testing and 6 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.
  • 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

  • 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

  • AWSSkill

    grilling

    Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

    Also in 3 projects that use this

  • OpenAISkill

    systematic-debugging

    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    Also in 3 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Identify the change set: Default to git diff <base>...HEAD where <base> is the merge target (usually main / master / develop).

    line 26
  2. Very specific:

    Look for an existing template: Check .github/pull_request_template.md or docs/PULL_REQUEST_TEMPLATE.md.

    line 34
  3. Very specific:

    Migration notes: if a consumer needs to do something, put it in its own section with a ⚠️ so it can't be missed

    line 97
  4. Distinctive:

    If the PR ended up doing more than one thing, suggest splitting before writing the description — it'll be a better PR

    line 100

“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 reviewer should be able to answer "what changed and why" in 30 seconds. That's the whole goal.

When to use

  • "Write a PR description for this branch"
  • "Summarize what's in this PR"
  • "Fill out the PR template"
  • "Draft a pull request"

Procedure

  1. Identify the change set. Default to git diff <base>...HEAD where <base> is the merge target (usually main / master / develop).
    git fetch origin
    BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo main)
    git log --oneline "origin/$BASE..HEAD"
    git diff --stat "origin/$BASE...HEAD"
  2. Look for an existing template. Check .github/pull_request_template.md or docs/PULL_REQUEST_TEMPLATE.md. If found, follow its structure; otherwise use the default below.
  3. Read the diff itself, not just commit messages. Commit messages lie or lag; the diff is truth.
  4. Identify:
    • The one sentence that summarizes the change (this is the PR title)
    • The why — problem, context, motivation
    • The what — what actually changed, grouped logically (not file-by-file)
    • Anything reviewer-visible: API changes, migrations, env vars, breaking changes
    • Verification steps the reviewer can run
  5. Draft. Then trim. First draft is always too long. Cut anything the diff already shows.

Default template

## Summary
<one or two sentences — the elevator pitch>

## Why
<problem this solves, links to issues/discussions>

Closes: #123

## Changes
- <grouped logical change>
- <another grouped logical change>
- <…>

## How to verify
1. <concrete step a reviewer can run>
2. <…>

## Notes for reviewer
<anything non-obvious: tricky bits, deliberate trade-offs, things you want extra eyes on>

## Risk & rollout
<breaking changes, migrations, feature flags, env vars, deploy order>

Drop sections that don't apply. A docs PR doesn't need "Risk & rollout."

Title

<type>(<scope>): <imperative summary> if the project uses Conventional Commits, otherwise a clear imperative sentence ≤72 chars. No trailing period.

✅ feat(auth): support passwordless email login ✅ Fix race condition in cache invalidation ❌ Updates ❌ WIP - some changes to auth

Anti-patterns

  • ❌ Listing files changed — the diff already does that
  • ❌ "Various fixes and improvements" — useless to reviewer and to future archaeology
  • ❌ Copy-pasting commit messages as the body
  • ❌ Hiding breaking changes in the middle of a bullet list
  • ❌ "Tested locally ✅" without saying what was tested
  • ❌ Putting the "why" only in a linked issue — the reviewer should not need to context-switch

Tips

  • Screenshots / before-after are gold for UI changes
  • Migration notes: if a consumer needs to do something, put it in its own section with a ⚠️ so it can't be missed
  • Stacked PRs: link to the parent and explicitly say "depends on #N"
  • Draft PRs: prefix the summary with what's still TODO before review is welcome
  • If the PR ended up doing more than one thing, suggest splitting before writing the description — it'll be a better PR

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.