pr-review

Review PyTorch pull requests for code quality, test coverage, and security.

1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/steleman/pytorch-cuda-2.11.0 --skill pr-review-steleman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/steleman/pytorch-cuda-2.11.0/tree/main/.claude/skills/pr-review
Command: npx skills add https://github.com/steleman/pytorch-cuda-2.11.0 --skill pr-review-steleman

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about pr-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically review a PyTorch pull request for code quality and backward compatibility?

Review a PyTorch pull request by providing a PR number or URL to analyze code quality, test coverage, security, and backward compatibility. The tool fetches metadata and diffs using gh and git commands to return structured, actionable recommendations.

Can I check my local git branch against main for code issues before merging?

Check your local git branch against main by using the local branch mode to analyze changes. This surfaces potential code quality, security, and backward compatibility issues in your current branch before merging.

Does this PyTorch code review tool work with GitHub Actions CI workflows?

This PyTorch code review tool works with GitHub Actions CI workflows by supporting PR data passed through workflow context. This enables automated analysis of code changes and security checks directly within your CI-driven automation pipeline.

What is the best way to analyze test coverage and security in a GitHub PR?

Analyze test coverage and security in a GitHub PR by fetching the diff with gh and git commands. The review workflow outlines deep-dive analysis steps to evaluate these dimensions and output structured recommendations for improvement.

Do I need to install git and gh to review PyTorch PRs?

You need git and gh installed to review PyTorch PRs. The skill uses these command-line tools to fetch pull request metadata and diffs from GitHub, which are then processed to generate actionable code quality and security recommendations.