PR

Performs targeted reviews of PyTorch PRs, focusing on aspects that standard CI pipelines often miss.

Install

mkdir -p .claude/skills/pr-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/929" && unzip -o skill.zip -d .claude/skills/pr-review && rm skill.zip

Installs to .claude/skills/pr-review

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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 "check this PR".
232 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Fetch PR metadata and file diffs using GitHub CLI
  • →Generate line-by-line review comments for local branches
  • →Summarize branch changes compared to main
  • →Analyze commit logs for branch scope identification

How it works

Interrogates repository state using git diffs and gh CLI to compare current changes against the main branch branch before generating feedback.

Inputs & outputs

You give it
PR number or branch name
You get back
Actionable review comments and summary report

When to use pr-review

  • →Reviewing a specific PR number for code quality
  • →Checking local branch changes before pushing
  • →Generating line-by-line comments for a code review

About pr-review

This skill assists in reviewing code changes, focusing on architectural quality, security vulnerabilities, and backward compatibility. It processes PR numbers or local branches to provide detailed, actionable feedback.

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 "check this PR".

When not to use it

  • →When the user is not working on a PyTorch-compatible codebase
  • →For reviewing non-code documents or configuration files exclusively

Prerequisites

GitHub CLI (gh)git

Limitations

  • →Requires established git history and main branch tracking
  • →Needs network access to GitHub via CLI

How it compares

It focuses on CI-untestable metrics like architectural quality and backward compatibility rather than just syntax checking.

Compared to similar skills

pr-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pr-review (this skill)65moReviewIntermediate
django-verification57moReviewIntermediate
lint-and-validate610moReviewBeginner
moai-foundation-quality06moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry