review-pr

Review pull request diffs against a base branch for risk and impact.

Updated May 19, 2026
One-click install
npx skills add https://github.com/anilveersingh1308/copilot-skills --skill review-pr-anilveersingh1308
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/anilveersingh1308/copilot-skills/tree/main/.github/skills/review-pr
Command: npx skills add https://github.com/anilveersingh1308/copilot-skills --skill review-pr-anilveersingh1308

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents overlooked bugs, security issues, and breaking changes by turning a pull request diff into a structured, risk-aware review with clear blast-radius analysis.

Core Features & Use Cases

  • Structured PR / diff review: Produces a consistent review covering intent, risk, impact, and actionable fixes.
  • Blast-radius and dependency awareness: Identifies who is affected by changed behavior, public API updates, and schema/migration changes.
  • Test and safety checks: Flags missing coverage for changed logic and highlights destructive or irreversible changes and any credential exposure risks.

Quick Start

Ask it to review the pull request diff against main and return a one-line summary, overall risk rating, blast radius, file-by-file findings, missing tests, and ordered recommendations.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I review a pull request diff for security risks and breaking changes?

A structured pull request review analyzes the diff against a base branch like main, grouping changed files and reading targeted regions to identify risk, impact, blast radius, and actionable fixes without loading the full repository.

What is blast radius analysis in a code review?

Blast radius analysis identifies who is affected by changed behavior, public API updates, and schema or migration changes within a pull request diff, helping prevent overlooked breaking changes and destructive impacts.

How do I check test coverage for changed logic in a GitHub pull request?

A pull request review flags missing test coverage for changed logic by examining the diff scope and targeted regions, ensuring that modified behavior is properly tested before merging into the base branch.

Can I review a branch diff without loading the full repository?

Yes, a pull request review applies constraints to skip unchanged files and avoid loading the full repository by relying on the diff plus targeted region reading to assess risk and impact.

How do I identify secret exposure and destructive migrations in a code review?

The review applies safety rules to detect credential exposure risks and destructive or irreversible migration changes by analyzing the pull request diff and grouping changed files for targeted inspection.

What's the best way to get a structured summary of risks in a PR?

Request a review of the pull request diff against main to receive a one-line summary, overall risk rating, blast radius, file-by-file findings, missing tests, and ordered recommendations.