agentleFS
shinzoxDshinzoxD/knackbox/skills/coding/pr-descriptions/SKILL.md

pr-descriptions

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Write pull request titles and descriptions that reviewers can

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

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

    Write for the reviewer first and the git historian second.

    line 17
  2. Distinctive:

    If the repo already has a PR template, fill *that* structure and map the sections above into it rather than inventing a parallel format.

    line 46
  3. Distinctive:

    Keep the whole description under ~300 words unless the change is genuinely large.

    line 62
  4. Distinctive:

    Call out migrations, feature flags, and rollout order explicitly.

    line 65
  5. Distinctive:

    If history is noisy, still describe the final state.

    line 84
  6. Distinctive:

    No issue link exists: write the Why from the diff and flag that no ticket is referenced.

    line 93

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

Write for the reviewer first and the git historian second. A good PR description lets a reviewer predict what they'll see in the diff before they open it.

Format

<type>: <imperative title, ≤ 70 chars>

## What
2–4 sentences: the change at the level of behavior, not files.

## Why
The problem or requirement this solves. Link issues: Closes #123.

## How to test
Numbered, copy-pasteable steps a reviewer can run, with expected results.

## Notes for reviewers   (only if needed)
Risky spots, decisions you want challenged, follow-ups deliberately
left out.

## Breaking changes      (only if any)
What breaks and the migration path.

## Screenshots / recordings  (only for UI)
Before/after or a short path through the UI.

If the repo already has a PR template, fill that structure and map the sections above into it rather than inventing a parallel format.

Rules

  1. Derive content from the diff/commits provided — never pad with invented details or generic statements ("improved performance") that the diff doesn't show.
  2. Title follows the repo's commit convention if visible; otherwise Conventional Commits types (feat, fix, refactor, docs, test, chore, perf, ci).
  3. "How to test" must be executable as written: commands, URLs, sample inputs, expected output. Include at least one negative/edge path when the change touches validation or auth.
  4. Mention what you did NOT do when it's a natural question ("did not migrate the v1 endpoint; tracked in #456").
  5. Keep the whole description under ~300 words unless the change is genuinely large; for large PRs, add a short "Review map" (which files matter first).
  6. Call out migrations, feature flags, and rollout order explicitly.
  7. Security- or privacy-sensitive changes get one plain sentence on impact and how it was verified (without writing an exploit).

Title patterns

SituationTitle shape
New capabilityfeat: allow CSV export on reports
Bugfix: prevent null tax crash on invoices
Breaking APIfeat!: require DATABASE_URL instead of DB_URL
Behavior-neutralrefactor: extract session validation helper

Bad: "Update code", "Fix stuff", "WIP", "Address comments". Good: states the user-visible or API-visible outcome.

Rules for multi-commit branches

  • Summarize the net behavior of the branch, not each commit.
  • If history is noisy, still describe the final state; optionally note "squashed commits recommended".
  • List secondary fixes under Notes only if a reviewer would otherwise wonder why those files changed.

Edge cases

  • Mixed/unrelated changes in one branch: describe the primary change, list the stragglers under Notes, and suggest splitting if practical.
  • No issue link exists: write the Why from the diff and flag that no ticket is referenced.
  • Draft PRs: lead with what feedback is wanted and what's known to be unfinished; title may include (draft) only if the forge does not have a draft state.
  • Revert PRs: state what is reverted, why, and whether a follow-up fix is planned.
  • Generated code / lockfiles: mention them so reviewers know not to line-read noise; point at the source change that caused regeneration.
  • Docs-only: shorten to What + Why; testing can be "preview docs site" or "read-through".

Self-check before delivery

  • Title ≤ 70 chars, imperative, accurate
  • What is behavior-level, not a file list
  • Why is present (problem/motivation)
  • Test steps are runnable with expected results
  • No claims the diff does not support

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.