pr-review

Analyze git diffs to assess code quality, security, and merge readiness.

11|2|Updated Oct 1, 2025
One-click install
npx skills add https://github.com/antoniocascais/claude-code-toolkit --skill pr-review-antoniocascais
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/antoniocascais/claude-code-toolkit/tree/main/skills/pr-review
Command: npx skills add https://github.com/antoniocascais/claude-code-toolkit --skill pr-review-antoniocascais

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces the overhead of manually reviewing code changes by providing structured guidance on diffs, quality checks, and merge readiness.

Core Features & Use Cases

  • Automated diff analysis and quality checks across staged changes, branches, or commits.
  • Merge readiness assessment including conflict detection, lint/style adherence, and security considerations.
  • Guided PR reviews with prompts to identify risks, potential defects, and improvement opportunities.

Quick Start

Choose the review scope (staged, unstaged, or all uncommitted) and specify the target branch or commit. Then instruct the assistant to perform a PR-style review and present a structured report with findings and recommended actions.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I review git diffs for merge readiness and security?

Analyzing git diffs for merge readiness requires evaluating staged changes, working directory statuses, and commit history using git diff, git status, and git show outputs to assess code quality, security vulnerabilities, and potential conflicts before a safe merge.

What is the best way to check code quality across staged git changes?

Checking code quality across staged git changes is best done by applying a PR-style review to the diff output to detect lint and style adherence issues, security considerations, and potential defects. This structured analysis ensures the changes meet merge readiness criteria.

Can I perform a PR review on uncommitted changes in my working directory?

Yes, you can perform a PR review on uncommitted changes in your working directory by specifying the review scope as unstaged or staged. The analysis evaluates the git diff and git status outputs to provide a structured report of findings and recommended actions.

How do I assess branch conflicts before a git merge?

Assessing branch conflicts before a git merge is done by running a PR-style diff analysis across the target branches. This evaluates the git diff, status, and history outputs to detect potential conflicts, lint adherence, and security risks, providing a structured merge readiness report.

Do I need to provide git diff output for a code review?

Yes, you need to provide git diff, git status, and git show outputs to perform a code review. The analysis requires these specific git command outputs to evaluate the diffs, statuses, and commit history accurately for quality, security, and merge readiness.