
How to Humanize a Pull Request Description After ChatGPT
AI PR descriptions summarise the diff and miss the point. How to write pull request descriptions that explain why, flag risks and speed up code review.
A pull request (PR) description is a note to reviewers and future developers explaining a code change. Good descriptions make reviews faster and help people understand decisions months later. Many code platforms and AI assistants now generate PR descriptions automatically. These summaries often describe the diff file by file: "Updated user_service.py to enhance functionality. Modified tests to improve coverage. Refactored helper functions for better maintainability." Reviewers learn nothing they could not see in the diff, and the important part, why the change was made, is missing.
This guide covers how to write PR descriptions that help reviewers and your future self.
Explain why
The most important part of a description is the reason for the change. Link to the issue or ticket, and summarise the problem in a sentence or two. Here is a typical AI description:
This PR updates the user service to enhance functionality and improve code quality. Several files were modified and tests were updated accordingly.
And a useful one:
Users who signed up with Google couldn't reset their password, because we only checked for email accounts (#482). This adds a check for social accounts and shows a message telling them to sign in with Google instead.
The second explains the problem and the solution.
Summarise what changed at a high level
Give a short overview of the approach, not a file-by-file list. Reviewers can see the files. Explain key design decisions and alternatives you considered.
Explain how you tested it
Say how you verified the change: automated tests added, manual testing steps, environments used. Include screenshots or recordings for user interface changes.
Flag risks and trade-offs
Call out anything risky: database migrations, performance implications, breaking changes, feature flags, rollout plans. Reviewers should not have to discover these.
Guide the review
Tell reviewers where to focus, especially in large PRs. "The main logic is in password_reset.py; the rest is test updates" saves time. Mention anything you are unsure about.
Keep PRs small
Small, focused PRs are easier to review and describe. If a description needs many sections, consider splitting the change.
Use a consistent template
Many teams use a PR template with sections for context, changes, testing and risks. Templates help, but do not fill sections with boilerplate. Delete sections that do not apply.
Write for the future reader
Months later, someone will find your PR while investigating a bug. Write the description so it still makes sense then. Avoid relying on context that only exists in a chat thread.
Using AI-generated summaries
AI summaries can be a useful starting point, especially for listing changes. Check them for accuracy, remove vague statements and add the why, testing and risks yourself. AI tools cannot know the business reason for a change or what you tested manually.
Using AI sensibly
Use AI to draft, then rewrite with context only you have. If a paragraph still reads stiffly, a tool like Human Writes can help smooth it, but for most PRs, clear, short writing by hand is quickest. For related writing, see humanizing a bug ticket, humanizing a design doc and humanizing an architecture decision record.
A worked example
An engineer's AI-generated description for a caching change listed eleven modified files and described each as "updated for improved performance". Her rewrite said: dashboard load times had grown to 8 seconds for large accounts; this PR cached the account summary for 5 minutes; it was invalidated whenever invoices changed; she had tested with the three largest accounts in staging and load times fell to under a second; the main risk was stale data if invalidation failed, so she had added a metric to track cache misses. Review took twenty minutes instead of a day of back-and-forth.
Commit messages
Good commit messages follow similar principles: a short summary line, then the reason for the change if it is not obvious. Teams that squash commits often use the PR description as the final commit message, so a clear description also improves the project's history. Avoid messages like "fix" or "updates", which make history hard to search.
Responding to review comments
When reviewers ask questions, answer in the PR rather than only in chat, so the reasoning is recorded. If a question reveals that the description was unclear, update the description too. Thank reviewers for useful catches. A respectful, well-documented review process makes the next review easier for everyone.
Linking related work
Link the issue, design doc, related PRs and any relevant incident or discussion. Links let reviewers find background without asking, and they help future readers trace a decision back to its origin. If the PR is part of a series, say where it fits: "Part 2 of 3: adds the database table; the API comes in the next PR."
Large and risky changes
For changes such as database migrations, authentication changes or major refactors, include a rollout and rollback plan in the description. Say how the change will be deployed, how you will know it is working and what you will do if it is not. Reviewers are more confident approving risky changes when they can see the plan.