Github Pr Review Workflow
Helps with GitHub, code review as part of developing backend services and APIs workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add github-pr-review-workflow npx -- -y @trustedskills/github-pr-review-workflow
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"github-pr-review-workflow": {
"command": "npx",
"args": [
"-y",
"@trustedskills/github-pr-review-workflow"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates a significant portion of the GitHub pull request review workflow, leveraging the gh-pr-review extension. It helps AI agents to analyze feedback and comments on pull requests, implement code fixes based on that feedback, run tests, reply to open threads with explanations, and ultimately resolve those threads. The process includes retrieving PR details, listing review threads, validating comment applicability, implementing changes, running tests (unit, linting, type checking), replying to threads, waiting for follow-up comments, and resolving the threads.
When to use it
- When you need assistance with reviewing code in GitHub pull requests.
- To automate repetitive tasks like addressing feedback and resolving review threads.
- For backend services and APIs development workflows where thorough code reviews are essential.
- When dealing with a large number of comments or complex changes within a pull request.
Key capabilities
- Retrieves PR details (number, title, author, status).
- Lists all review threads, including active and outdated ones.
- Analyzes feedback and comments on the pull request.
- Validates whether each comment is applicable and explains decisions.
- Implements code fixes based on feedback.
- Runs unit tests, linting checks, and type checking.
- Replies to open review threads with explanations.
- Resolves review threads after addressing comments or follow-ups.
Example prompts
- "Review this pull request:
<PR_NUMBER>in repository<OWNER/REPO>." - "Address the feedback on pull request
<PR_NUMBER>and resolve all open threads." - "Analyze the comments on this PR and implement necessary code changes."
Tips & gotchas
- The
gh-pr-reviewextension must be installed (gh extension install agynio/gh-pr-review). - Ensure you have access to the repository and appropriate permissions for reviewing pull requests.
- The skill relies on the
ghCLI tool being configured correctly with your GitHub account.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.