{"slug":"copilot-pr-summary","title":"Draft a pull request summary from the diff","summary":"GitHub Copilot writes a PR summary a reviewer can check against the diff: what changed, how to test, and risks. It does not approve the PR.","agent":"GitHub Copilot","agentSlug":"github-copilot","category":"Coding","categorySlug":"coding","roles":["Software engineer"],"roleSlugs":["software-engineer"],"industries":["Software"],"industrySlugs":["software"],"jobs":["code-review"],"topic":"Dev & Coding","topicSlug":"dev-and-coding","score":14,"difficulty":"easy","estCost":"A GitHub Copilot plan. See GitHub's current plans. Not copied here.","costTier":"low","timeSaved":"Ten minutes of PR-body writing, if you were going to describe the diff anyway.","prompt":"Write a pull request body for the current diff.\n\nSections:\n- What changed, in complete sentences, file by file only if there are three files or fewer. Otherwise group by behavior.\n- How to test. Use commands that exist in this repo.\n- Risk and rollback.\n- What I did not do.\n\nDo not say the change is safe, complete, or ready. Do not invent a test plan I cannot run. If the diff is empty, say so.","steps":[{"title":"Open the diff in your IDE or on GitHub","detail":"Copilot's docs cover the IDE and GitHub.com surfaces. Use whichever one can see this diff."},{"title":"Paste the prompt with the diff in context","detail":"A summary from the ticket alone will flatter the author. The diff has to be in the context."},{"title":"Delete any test step you will not run","detail":"The prompt forbids invented commands. Enforce that by hand once."},{"title":"Request review from a person","detail":"Copilot does not approve the PR in this playbook."}],"sourceUrl":"https://docs.github.com/en/copilot/get-started/what-is-github-copilot","sourceNote":"Official documentation URL, checked when this seed was written. The prompt and steps are an original AI Playbook Gems playbook, not a quotation of a customer story, and have not been re-run.","date":"2026-10-12","verified":false,"status":"unverified","sponsorUrl":"","metrics":[{"label":"Hands-on time","value":"A few minutes to edit the body"},{"label":"You still approve","value":"Approval"},{"label":"Cost bucket","value":"Low"}],"faq":[{"question":"Has this GitHub Copilot playbook been re-run for the catalog?","answer":"No. Status is unverified. Paste the prompt, keep the version that worked, and do not treat the time or cost lines as measurements."},{"question":"Can the summary replace the diff?","answer":"No. It is a cover letter. Reviewers who only read it will miss the change."}],"url":"https://aiplaybookgems.com/usecases/copilot-pr-summary","jsonUrl":"https://aiplaybookgems.com/api/usecases/copilot-pr-summary"}