About pr-summary
pr-summary is a skill for reviewers who need a structured account of the current pull request. It analyzes the diff, comments, changed files, and status in a forked context using the explore-codebase agent.
Key features
- 01Summarizes the PR purpose
- 02Lists key file-level changes
- 03Flags breaking and security risks
- 04Suggests review checks
- 05Runs analysis in a forked context
Use cases
- 01Reviewing a pull request before approval
- 02Checking changes for security or compatibility risks
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ fusengine/ agents --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