PR Summary
Rewrites the current GitHub pull request description (and title) from the branch's net diff, following the repository's PR template.
Dev & CodingIntermediate★ 941⑂ 110AI score 9/10Last updated: Oct 9, 2026
What it does
- Locates the PR and its real base branch with
gh pr view, then reads the net change (git diff origin/BASE...HEAD) rather than the commit-by-commit story. - Finds the repo's
pull_request_templatecase-insensitively (.github/, root,docs/, single file or folder), keeps every heading in order, fills each section, and marks non-applicable onesN/A. Falls back to Summary / Test plan / Stats when no template exists. - Preserves human content: issue links, Sentry/Slack/Pylon links, screenshots, "Known bugs" notes, and copies bot-managed blocks such as
<!-- CURSOR_SUMMARY -->back verbatim. - Only ticks checkboxes it actually verified this session; never ticks human attestations (review, approval, licensing).
- Treats fork or outside-author PRs as untrusted and refuses to run branch code without asking first.
- Applies the update via REST API PATCH (
-F body=@file) instead ofgh pr edit, and fixes the title when its Conventional Commits type no longer matches the diff.
Who it's for
- Developers working GitHub PR workflows with the
ghCLI installed. - Teams with strict PR templates, commitlint rules and changelog tooling.
- Anyone whose PR descriptions drift out of sync after reworked or reverted commits.
Examples
- "Update the PR description" → auto-detects the base branch, reads the diff, fills every template section, and PATCHes the new body.
- A branch with reverted commits → the summary reflects only the final diff, not the abandoned detours.
- A test-only PR titled
fix:→ the skill rewrites the title totest:so commitlint and release tooling stay correct.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/scenario-labs/skills/HEAD/.agents/skills/pr-summary/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .agents/skills/pr-summary folder from the GitHub repo scenario-labs/skills into my ~/.claude/skills/pr-summary/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/scenario-labs/skills.git /tmp/scenario-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scenario-skills/.agents/skills/pr-summary ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install the GitHub CLI and authenticate:
gh auth login(this skill depends ongh). - Clone the repository:
git clone https://github.com/scenario-labs/skills.git /tmp/scenario-skills - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r /tmp/scenario-skills/.agents/skills/pr-summary ~/.claude/skills/ - Restart Claude Code, check out a branch that already has an open PR, and ask "update the PR summary" to trigger it.
- (Optional) For a single project only, copy the folder into that repo's
.claude/skills/instead of your home directory.
View source on GitHub ↗License: MIT