agentleFS
jars-demojars-demo/jars-skills/skills/pr-description/SKILL.md

pr-description

Skill0 starsChanged 32 days agoMITView on GitHub

Write a clear pull request title and description from the branch's actual changes. Use when the user asks to open, draft, or describe a pull request, fill in a PR template, or summarise a branch for review. Follows the repository's PR template and title rules, and never opens a PR without being asked.

  • Commits and pushes

94 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ao-desktop-dev, bug-triage and 9 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-inSkill

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

  • jMertaSkill

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

  • GitHubSkill

    commit-message

    Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help

    Also in 9 projects that use this

  • saffron-healthSkill

    address-review

    Address PR review comments systematically. Use when responding to code review feedback on a pull request.

    Also in 3 projects that use this

  • NVIDIASkill

    writing-docs

    Use when adding or changing user-facing behavior or documentation in Megatron-Energon, or when creating new .py, .sh or .md files that need license headers.

    Also in 3 projects that use this

  • Sagargupta16Skill

    dependency-audit

    Audit project dependencies for security vulnerabilities, licensing issues, maintenance health, and optimization opportunities. Use it during regular security audits (monthly or quarterly); before a major release when you want to ensure the dependency tree is clean; when evaluating whether to adopt or replace a dependency; after a security advisory affects one of your dependencies; when your install times or bundle sizes have grown noticeably.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 89 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    The repository's rules win: Use its PR template, title format, issue-link style, and any required sections or checkboxes.

    line 14
  2. Distinctive:

    Never claim something you did not do: If tests were not run, say so.

    line 19
  3. Distinctive:

    Keep secrets and private data out: no tokens, internal URLs, customer names, or log lines with personal data.

    line 21
  4. Very specific:

    Use the base branch the repository expects.

    line 37
  5. Distinctive:

    Read the full diff, not only the commit messages.

    line 40
  6. Distinctive:

    Before writing, look for things that would make the description dishonest or the review painful:

    line 45
  7. Very specific:

    Follow the repository's convention.

    line 58
  8. Very specific:

    Add --draft when the work is not ready for review, and only add reviewers, labels, or assignees the user names.

    line 118
  9. Distinctive:

    When new commits land, update the description so it still matches the code: refresh

    line 123

“Common” is measured: kept by at least 6 in 10 of the 89 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

Pull request description

Give a reviewer everything they need to understand, trust, and test a change in a couple of minutes: what changed, why, how it was verified, and what to look at closely. Every claim comes from the diff, the commits, or something you actually ran.

Ground rules

  • The repository's rules win. Use its PR template, title format, issue-link style, and any required sections or checkboxes. Read CONTRIBUTING.md, CLAUDE.md / AGENTS.md, and .github/pull_request_template.md (or .github/PULL_REQUEST_TEMPLATE/) first.
  • Never open, push, or update a pull request unless the user asks for that action. Drafting the text is the default deliverable.
  • Never claim something you did not do. If tests were not run, say so. Do not tick a checklist box that is not true.
  • Keep secrets and private data out: no tokens, internal URLs, customer names, or log lines with personal data.

Workflow

1. Find the base and read the change

git branch --show-current
git remote -v
gh repo view --json defaultBranchRef -q .defaultBranchRef.name   # when gh is available
git log --oneline <base>..HEAD
git diff --stat <base>...HEAD
git diff <base>...HEAD

Use the base branch the repository expects. Some projects merge into dev or develop, not the default branch. CONTRIBUTING.md usually says which.

Read the full diff, not only the commit messages. Commits describe intent; the diff is the truth. Note anything the commits do not mention.

2. Check that the branch is ready

Before writing, look for things that would make the description dishonest or the review painful:

CheckIf it fails
Uncommitted changes (git status --short)Ask whether they belong in this PR.
Unrelated changes mixed inSuggest splitting them into another PR.
Debug code, secrets, generated filesFlag them before anything else.
Tests and lintersRun the project's fast checks when possible, and record the result.
Branch behind the baseMention it. Do not rebase or merge unless asked.

3. Write the title

  • Follow the repository's convention; check recently merged PRs with gh pr list --state merged --limit 10.
  • Without a convention, use the same format as a good commit subject: <type>(<scope>): <Summary>, imperative, under about 70 characters.
  • Include a required ticket key (for example COG-123) where the repository asks for one.

4. Write the description

Fill in the repository's template when it has one: keep its headings and order, and delete nothing it requires. Otherwise use this structure:

## Summary
One or two sentences: what this PR does and why it matters.

## Changes
- The meaningful changes, grouped by area, written for a reviewer.
- Mention behaviour changes, new config or env vars, migrations, and dependency bumps.

## Why
The problem or motivation. Link the issue. Mention alternatives you rejected when that
helps the reviewer.

## How to test
1. Exact steps or commands a reviewer can copy.
2. The expected result.

## Verification
- `pytest tests/unit` – 128 passed
- Checked manually: <what, where>
- Not tested: <anything you could not verify, and why>

## Notes for reviewers
Risky areas, follow-ups left out on purpose, screenshots for UI changes.

Fixes #123

Style

  • Lead with the outcome, not the process. "Uploads now retry on 503" beats "I looked into the upload code and…".
  • Be specific. Name files, functions, flags, and numbers where they help.
  • Scale to the change: a one-line fix needs a two-line description. Drop empty sections instead of writing "N/A".
  • For a breaking change, put a Breaking change section near the top, with the migration steps.
  • For UI changes, ask the user for screenshots or a short recording; never invent them.

5. Hand it over

Show the title and description to the user as ready-to-paste text. When the user asks you to open the PR, pass the body through a file or heredoc so the formatting survives:

gh pr create --base <base> --title "<title>" --body-file - <<'EOF'
<description>
EOF

Add --draft when the work is not ready for review, and only add reviewers, labels, or assignees the user names.

Updating an existing PR

When new commits land, update the description so it still matches the code: refresh Changes and Verification, and do not silently drop earlier reviewer context. With permission: gh pr edit <number> --body-file -.

Examples

WeakStrong
Title: UpdatesTitle: fix(api): Return 400 for writes on read-only queries
"Fixed some bugs and cleaned up code.""Write queries on the read-only endpoint returned a 500 with the raw database error. They now return a 400 that tells the user to enable writes."
"Tested.""pytest tests/test_api.py: 15 passed. Ran a CREATE query from the UI with writes off and saw the new message."
A wall of text that retells each commitA summary, grouped changes, steps to test, and what to look at closely

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.