pullrequesttemplateexample.comReal pull request templates, read from the repos

Pull request description: what to write, and in what order

A pull request description tells the reviewer why the change exists, what it does and how you tested it, before they open the diff.

Updated December 3, 2026 · from the templates of the 100 most-starred GitHub repositories, read that day.

What goes in a pull request description?

Three things, in a sentence or two each: why the change exists, what it does, and how you know it works. Add the issue it closes, and say if anything breaks for users. That is what the five templates on the home page ask for, from React's two headings to Kubernetes' six.

SectionWho asks for itWhat the reviewer gets
Why (motivation, problem)React, Kubernetes, Rails, dbtthe reason to read the diff at all
What changed (detail, solution, new behavior)Kubernetes, Angular, Rails, dbtwhat to look for
How it was testedReact (required), and the Angular, Rails and dbt checklistsproof, not a promise
Linked issueKubernetes ("Fixes #"), Rails ("Fixes #ISSUE"), dbt ("Resolves #")the issue closes on merge
Breaking or user-facing changeKubernetes, Angulara release note

A pull request description example from React

React's pull request #38172, merged November 9, 2026, fills its template in full:

## Summary

The legacy events pipeline isn't currently in use, after the modern
one (that lives in the RN repo) was enabled by default everywhere.
This deletes the legacy pipeline from here to clean up the now
unused code.

## How did you test this change?

Tested e2e on react-native

Why first, then the proof, in five lines. Of React's last 60 merged pull requests (November 9 to December 3, 2026), 42 kept the Summary heading and 38 kept the testing heading (React's merged pull requests).

In what order do big projects ask for it?

Four of the five ask for the why before the what: React, Kubernetes, Rails and dbt. Angular starts with its checklist and the PR type, then describes the behavior before and after.

ProjectOrder its template asks in
ReactSummary (the motivation) → How did you test this change?
KubernetesPR type → what it does / why → linked issue → notes for the reviewer → user-facing change → AI use
Angularchecklist → PR type → current behavior → new behavior → breaking change → other
RailsMotivation / Background → Detail → Additional information → checklist
dbtResolves # → Problem → Solution → checklist

What do 62 pull request description templates ask for?

Of the 100 most-starred GitHub repositories, 62 have a template. This is how many ask for each field. The survey, one row per repository with a link to each file, is pull-request-templates-top-100-repos-2026-12-03.csv (CC BY 4.0).

FieldTemplatesShare
What changed5487%
How it was tested4877%
A checklist4471%
Why the change4369%
Docs updated4065%
Link to a contributing guide3861%
Linked issue3658%
Mentions AI2845%
Screenshots2134%
Type of change1524%
Breaking change or release note1524%
Risk or impact1423%
Licence, CLA or sign-off1321%
Asks you to disclose AI use1321%

The method: a field counts when a heading, prompt or checkbox asks for it, matched by phrase and read by hand where the match was unclear. "Mentions AI" counts any line about AI tools; "asks you to disclose AI use" counts only templates that ask the author to say whether AI was used.

How long should a pull request description be?

As long as it takes to answer each section; the templates themselves are short. The median template is 24 non-blank lines, with 122 words outside its HTML comments, so the reader's part is a few lines a section. Rails says to discard its template "when you just fix a typo". A one-line change can have a one-line description.

How do you link the issue so it closes on merge?

Write a closing keyword and the issue number in the description: Fixes #123, or Fixes owner/repo#123 for another repository. GitHub reads close, closes, closed, fix, fixes, fixed, resolve, resolves and resolved, with or without a colon, in any case.

The keyword works only when the pull request targets the default branch. Into any other branch, GitHub ignores it and the issue stays open (GitHub docs).

Is the description the same as the commit message?

No. Git keeps the commit messages; the description stays on GitHub with the pull request. Closing keywords work in both, but an issue closed from a commit message doesn't list the pull request as linked. Rails' checklist asks for both: a detailed commit message, and the template filled in.

What should a description say when an AI agent wrote the code?

Say so, and say how. Kubernetes asks every author "YES" or "NO" and, if yes, how AI was used. 13 of the 62 templates ask for that, and 28 mention AI somewhere. In React, 7 of the last 60 merged pull requests end with a "Generated with Claude Code" line, as #38227 does under its filled-in Summary and test sections.

Some review apps read a block the agent adds to the description. IonWarp reads an optional session block with the coding agent and its model and each step's minutes, and shows how long the agent took to open the pull request; the block never gates CI.

Who checks the code after the description is written?

A reviewer, reading the diff with your why in mind: GitHub asks the people a CODEOWNERS file names for the paths you touched. On GitHub, a review app can read every push first. IonWarp is the pick for GitHub teams: up to eight agents per push, each finding on its line with P0, P1 or P2 and a fix, for $49 a month per workspace with 5 seats. Its agents read the diff and the repository, not the description, and it doesn't run on GitLab or Bitbucket. The other apps, with prices, are on the home page.

Visit IonWarp

Pull request description questions

Should the description repeat the diff?

No. The diff shows what changed line by line; the description says why, what to look at first, and how you know it works.

What if the pull request has no issue?

Say so. Kubernetes asks you to write N/A; dbt's template says code changes without an issue will not be merged, so open one first there.

Can I edit the description after review starts?

Yes, and a closing keyword added later still links the issue, as long as the pull request targets the default branch (GitHub docs).

Does the description end up in git history?

Not by itself. It lives on GitHub with the pull request; the commit messages are what git keeps. That is why Rails asks for a detailed commit message as well.

Should a coding agent write it?

It can draft it from the diff, but the why and the testing are yours to check. Kubernetes asks you to say whether AI was used and how.

How this page was checked

  1. React template
  2. Kubernetes template
  3. Angular template
  4. Rails template
  5. dbt template
  6. GitHub: linking a pull request to an issue
  7. GitHub: creating a pull request template
  8. IonWarp session analytics docs, IonWarp review docs and IonWarp pricing
  9. The 100-repository survey (CSV)

All read December 3, 2026.