Commit and PR Description

A clear pull request description covering context, changes, risk and test evidence.

Beginner · Works with ChatGPT, Claude, Gemini, Copilot

The prompt

Write a PR description with context, what changed, the risk level, and how it was tested.

List what a reviewer would need to see to feel confident approving this, and keep it to what actually changed — no restating the whole diff.

What changed:
{{CODE}}

Why and how it was tested:
{{CHANGE_REASON}}

Why this prompt works

Asking for reviewer-confidence items rather than a changelog keeps the description focused on what actually needs review.

How to customize it

  • Mention what you deliberately didn't change, if it's likely to raise a question.
  • Keep the risk section honest — overselling it just trains reviewers to ignore it.

Common mistakes

  • Pasting the entire diff instead of a summary, which buries the actual risk area.
  • Skipping the testing note, leaving reviewers to assume none was done.

Example

Input

Diff or summary of changes: Added retry logic with exponential backoff to the email sender

What a good answer looks like

A short description with a context line, bullet changes, risk note, and test evidence.

Make this prompt fit your work

ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.

Related prompts