About pr-summary
A skill that summarizes the current pull request for developers and reviewers using its diff, comments, changed files, and status. It reports the purpose, file-level changes, potential risks, and areas that need careful review in a separate exploration context.
Key features
- 01Read PR diff, comments, and status
- 02Summarize purpose and key file changes
- 03Identify breaking and security risks
- 04Suggest reviewer focus areas
- 05Run analysis in a forked context
Use cases
- 01Preparing a reviewer before PR review
- 02Checking potential risks in a pull request
- 03Getting a concise account of changed files
- 04Keeping diff details out of the parent conversation
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ fusengine/ claude-plugins --skill pr-summaryAfter installing, type/pr-summaryin Claude Code to confirm it loaded.
Details
From the project README
PR Summary produces a structured overview of the current pull request from `gh pr diff`, `gh pr view --comments`, and `gh pr status`: what the PR does, the key file-level changes, potential risks (breaking changes, security concerns), and what a reviewer should check carefully. It runs in a forked context via the `explore-codebase` agent so the full diff and comment thread don't pollute the parent conversation.
PR Summary Skill
Summarize the current pull request.
Pull Request Context
- PR diff: !
gh pr diff - PR comments: !
gh pr view --comments - Changed files: !
gh pr diff --name-only - PR status: !
gh pr status
Task
Analyze this pull request and provide:
- Overview - What does this PR do?
- Key Changes - Main files and modifications
- Potential Risks - Breaking changes, security concerns
- Review Recommendations - What to check carefully
Output Format
## PR Summary: [Title]
### Overview
[1-2 sentences]
### Key Changes
- [file]: [change description]
- ...
### Risks
- [risk if any]
### Recommendations
- [what to verify]
Debug
- Session: ${CLAUDE_SESSION_ID}
- Timestamp: !
date +%Y-%m-%d_%H:%M:%S
Comments
Markdown supported