review-pr

Identify bugs in changed files across a PR or branch using Git tooling.

1|Updated Dec 30, 2024
One-click install
npx skills add https://github.com/FarzamMohammadi/dev-toolbox --skill review-pr-farzammohammadi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/FarzamMohammadi/dev-toolbox/tree/main/ai/claude-code/skills/review-pr
Command: npx skills add https://github.com/FarzamMohammadi/dev-toolbox --skill review-pr-farzammohammadi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill identifies real bugs in a branch by exhaustively reviewing changed files.

Core Features & Use Cases

  • Structured PR change analysis: collects changed files from the branch and inspects each in full to locate hotspots that indicate bugs.
  • Comprehensive lenses: analyzes state mutations, boundaries, failure paths, and cross-module contracts to surface latent issues.
  • Actionable findings: generates a prioritized report highlighting actual defects, potential risks, and recommended fixes during code review.

Quick Start

Pass the target branch name as the argument to analyze the PR changes.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How does diff analysis work for detecting bugs in a branch?

Bug detection in PRs works by collecting changed files using standard Git tooling like git log, git diff, and git show, then inspecting each file in full to locate hotspots that indicate actual defects.

Do I need any specific dependencies to perform static analysis on my branch changes?

The best way to review multiple modified files is applying a structured analysis across state mutations, boundaries, failure paths, and cross-module contracts to generate a prioritized findings report highlighting actual defects and recommended fixes.

What types of bugs can code review analysis identify in changed files?

You do not need external dependencies to perform static analysis on branch changes. The solution requires only standard Git tooling, specifically git log, git diff, and git show, to collect and read the changed files.

How do I generate an actionable bug report from a Git diff?

Code review analysis can identify bugs related to state mutations, boundaries, failure paths, and cross-module contracts. It focuses on surfacing real defects and potential risks rather than formatting or stylistic problems.

Can I use this approach to review PRs with multiple modified files at once?

You can generate an actionable bug report from a Git diff by inspecting changed files in full, applying structured analysis to locate hotspots, and producing a prioritized report of actual defects with recommended fixes.

How do I find real bugs in a pull request instead of just stylistic issues?

Yes, this structured analysis applies specifically to code review scenarios involving PRs or branches with multiple modified files, allowing you to exhaustively review and surface bugs across all changes.