Prompt

Commit Message and PR Description

At a glance

Type
Prompt
Purpose
Website creation, Product
Media
Code
Level
Beginner
Access
Free, no sign-up
Updated
20/11/2026

What you get

  • The full prompt, ready to copy
  • 4 blanks you fill in, with a box that writes it for you

Writes a clear commit message and pull request description from a diff: what changed, why, how it was tested and what to watch.

Good history saves hours later. Get a commit message and a PR description reviewers can understand without reading every line.

What you fill in

  • {{diff}}
  • {{reason}}
  • {{ticket}}
  • {{testing}}

Write a commit message and a pull request description for this change.
Diff or summary of changes: {{diff}}
Why the change was needed: {{reason}}
Ticket or issue (optional): {{ticket}}
How I tested it: {{testing}}

Commit message:

  • A subject line under 60 characters in the imperative ('Fix', 'Add', 'Remove').
  • A blank line, then a body of 2 to 5 lines explaining why, not just what.

PR description:

  1. Summary (2 to 3 sentences).
  2. Changes (bullets).
  3. How to test (steps a reviewer can follow).
  4. Risks and rollback plan.
  5. Screenshots or output needed: [add] where they would help.

Don't claim tests were run if they weren't listed.

Fill in the blanks

Unlock this prompt to fill in your details and copy it.