Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add section to PR guide on titles and descriptions
Add a short section to the PR guide which covers good titles and
descriptions, at a summary level.

The priority here is (in presentation order):
- explain the rationale / why we care
- demonstrate how a PR title should look
- give some hint as to what a good description will look like

Explaining how to write good technical prose for a PR description is
considered out of scope, which limits the content of the PR description
section.
  • Loading branch information
sirosen committed Jun 26, 2026
commit 099ddc5a612987bb32a927829e955a38150417be
18 changes: 18 additions & 0 deletions getting-started/pull-request-lifecycle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,24 @@ should do to help ensure that your pull request is accepted.

#. Proper :ref:`documentation <documenting>` additions/changes should be included.

Write good titles and descriptions
----------------------------------

Reviewers want to be able to understand roughly what your pull request does
before reading the changes.

The title should be a sentence or phrase in the imperative which says what the
pull request does in short form. It should start with ``gh-NNNNNN:``, for pull
requests which close open issues.
Comment thread
sirosen marked this conversation as resolved.
Outdated
For example, ``gh-12345: Fix bug when spam module is served with eggs``.
Comment thread
StanFromIreland marked this conversation as resolved.
Outdated

The pull request description field should be a detailed summary.
This is a great place to note caveats, provide links to references, and explain
decisions made in the pull request.
Avoid over-explaining: simpler descriptions are easier to read, so make sure not
to write large descriptions for simple changes.


.. _news-entry:
.. _what-s-new-and-news-entries:

Expand Down
Loading