What problem does it solve?
Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or when the user mentions "check this PR".
Core Features & Use Cases
- No-Argument mode prompts you to specify what you want reviewed; it helps you decide which PR to inspect.
- Local CLI mode fetches PR data by number or URL and returns a structured review with suggested improvements.
- Local Branch mode analyzes changes in your current branch against main to surface potential issues before merging.
- GitHub Actions mode supports PR data being passed through workflow context for automation.
- Review Workflow guidance outlines steps for deep-dive analysis, including code quality, testing, security, and BC considerations.
Quick Start
Use the pr-review skill by providing a PR number, PR URL, or by reviewing the current branch against main.