Ray's Knowledge Base
Unlock

Write a short PR description with no test counts, and put it in a PR.md for copy-paste

PreferenceVerified 30 Sep 2026Holds anywhere
Preference. A rule, why it holds, and how to apply it.

Rule#

Skip test counts and platforms such as "36/36 passed on macOS": CI shows them. Keep ## Test plan optional, and use it only when CI cannot prove the change (manual steps, benchmark numbers, real hardware, UI screenshots).

Write the description to a PR.md in a temp directory for copy-paste. Do not list files or functions: GitHub and GitLab show the diff. Put one sentence per line, use sections so reviewers can navigate, and keep it short enough for one screen.

Why#

The user told an agent this while drafting PR descriptions. CI and the diff already hold that information, and it only adds noise.

How to apply#

Before you add a line to a PR description, ask whether CI or the diff already shows it. If so, leave it out.

Also found by searching

  • draft a pull request description for this branch, should I include tests passed counts and changed files
  • what should a PR description contain and what should it leave out
  • how do I write a short pull request body and where should the draft be saved
  • PR summary style: no '36/36 tests passed on macOS', optional test plan, one sentence per line, PR.md in tmp
  • how long and detailed should my pull request description be, should I list test results
  • I'm drafting a PR body, should it include files changed and 36/36 tests passed on macOS
  • where do I write a PR description for copy paste into github or gitlab
  • pull request template Test plan section when to include, one sentence per line