GitHub Copilot Pull Request Description Written From the Diff

Turns the changes in a branch into a clear pull request description: what changed and why, how to test it, risks and screenshots to add, in your repo's template if it has one.

You get: A text answer

More like this

The prompt

github-copilot-pull-request-description-written-from-the-diff.md
Use GitHub Copilot Chat to write the pull request description for the changes in this branch. Base it on the diff, not on guesses.

Rules:
1. If the repo has a pull request template (such as .github/pull_request_template.md), fill it in.
2. Explain the why in one or two sentences. If the reason is not clear from the diff or commit messages, ask me for it rather than making one up.
3. Group changes by purpose, not by file.
4. Give testing steps a reviewer can follow, including setup and the exact commands.
5. Call out risky changes: migrations, config or environment changes, breaking API changes, and anything that needs a feature flag or follow-up.

Output format, in Markdown: Title (under 70 characters, imperative mood), Summary, Changes (bullets), How to test (numbered), Risks and rollback, Screenshots (say what to capture if UI changed), and Related issues. Finish with a short list of assumptions you made and missing information I should add.

Extra context from me: {linked issue or extra context}

Tips and common edits

Run it in GitHub Copilot Chat in VS Code with the branch checked out, or in Copilot on github.com when opening the PR. Leave the context blank if the commits explain everything.

Questions about this prompt

Conventional Commit and PR Description from a Diff and Ticket

Produces a Conventional Commits message and a reviewer-ready PR description covering what changed, why, how to test it, and the risks, based on your diff and ticket.

Pre-PR Self-Review and Pull Request Description from a Git Diff

Has GitHub Copilot review your branch diff against the base branch, flag defects and missing tests, and draft a PR description with evidence. Use it to decide whether to open the PR or fix issues first.

Coding Agent Task Brief with Guardrails, Test Plan, and Rollback Steps

Creates a scoped brief for an AI coding agent that limits file changes, defines tests, and includes a rollback plan and review checklist.

Codex Pull Request Review With Comments Ranked by Severity

Has Codex review a pull request and return comments sorted into blocking, should-fix and nit, each with the file and line, the risk, and a suggested change.

Implement a Scoped Feature in Copilot Agent Mode with Repo Discovery and Tests

Guides GitHub Copilot agent mode to inspect the repository, state assumptions, plan a minimal change, implement it, and add tests. It ends with a verification report you can use to decide whether to open a PR.

Rewrite a Vague Issue into a Copilot Coding Agent-Ready Issue

Turns a vague GitHub issue into a self-contained task with context, testable acceptance criteria, files to touch, and tests to add, so the Copilot coding agent can finish it.

Codex Writes an AGENTS.md for This Repository From the Real Setup

Has Codex inspect your repository and write a short, accurate AGENTS.md with the real build, test and lint commands, conventions and boundaries, checked by actually running them.

Codex Pre-Merge Diff Review with Severity-Ranked Findings

Has Codex review a branch diff against a base ref in read-only mode. It checks correctness, tests, security, and maintainability, and returns evidence-backed findings with severity and a merge recommendation.

Explain a Codebase Folder to a New Developer on Their First Day

Produces an onboarding guide for one folder of a codebase: what it does, how data moves through it, the files to read first and the traps a new developer should avoid.

Pull Request Review with Merge Recommendation

Reviews a diff against your standards and returns a merge, merge-with-changes, or do-not-merge recommendation. Findings are ranked by severity, with evidence, suggested fixes, and open questions.

Architecture Decision Record for a Technology Choice

Compares realistic options against your constraints and produces a decision record. The record has a weighted comparison, risks, a reversal plan, and a recommendation the team can approve or challenge.

Conventional Commit and PR Description Writer Skill (SKILL.md)

A ready-to-save SKILL.md that makes your coding agent write Conventional Commits messages and pull request descriptions from the staged diff, never from guesses.