Pr Review
Analyzes PyTorch pull requests, identifying potential issues like style violations, test failures, and performance bottlenecks.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add pr-review npx -- -y @trustedskills/pr-review
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"pr-review": {
"command": "npx",
"args": [
"-y",
"@trustedskills/pr-review"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Pr Review skill analyzes PyTorch pull requests to identify potential issues that standard CI systems might miss. It focuses on code quality, test coverage adequacy, security vulnerabilities, and backward compatibility. The skill can operate in different modes (local CLI, local branch, or GitHub Actions) depending on how it's invoked and the available context.
When to use it
- Reviewing a specific pull request: When you need an expert opinion on a PyTorch PR before merging.
- Evaluating changes in a local branch: To ensure code quality and identify potential issues before creating a pull request.
- Automated review within GitHub Actions: For automated checks during the pull request workflow, leveraging pre-fetched metadata.
Key capabilities
- Analyzes PyTorch pull requests for various issues (code quality, security, etc.).
- Supports reviewing PRs by number or URL.
- Provides detailed line-by-line comments when requested.
- Can review changes in a local branch compared to the main branch.
- Operates in different modes: Local CLI, Local Branch, and GitHub Actions.
- Leverages
gitcommands for diffs and commit history (in certain modes).
Example prompts
/pr-review 12345- Review pull request number 12345./pr-review https://github.com/pytorch/pytorch/pull/12345 detailed- Perform a detailed review of the specified pull request./pr-review branch- Review changes in the current local branch compared to main.
Tips & gotchas
- When invoked without arguments, the skill will prompt you for input (PR number or URL).
- In GitHub Actions mode, only
gitcommands are available; the skill automatically receives PR metadata and comments. - The "Summary" for local branch reviews describes what the changes accomplish based on commit messages and diffs.
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 |
🏢 Official
Published by the company or team that built the technology.