# Pull Request Review: Ranked Findings + Verdict

> Reviews a PR or branch diff against main and returns a ranked findings table (severity, file:line, problem, fix) plus a one-line ship verdict.

Pull Request Review: Ranked Findings + Verdict is a free AI agent skill on Agensi by jihyun an, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [jihyun an](https://www.agensi.io/creators/jihyun-an)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pull-request-review-ranked-findings-verdict
- Tags: code-review, git, testing, security, api

## About this skill

Reviewing code manually is slow and error-prone. This skill automates pull request analysis to catch bugs, security risks, and architectural issues before they hit production.

### What it does
- **Diff analysis** compares the current branch against the merge-base of the main branch to identify all changes.
- **Contextual audit** reads entire files rather than just diff hunks to understand how changes impact the broader codebase.
- **Correctness verification** identifies logic bugs and provides specific failing inputs to reproduce them.
- **Security screening** checks for data loss risks and common security vulnerabilities in new code.
- **Impact assessment** flags breaking changes in public APIs, configuration files, and database migrations.
- **Test evaluation** spots missing or insufficient test coverage for newly introduced behavior.

### How it works
1. **Identify the base** by finding the common ancestor between the current branch and the main branch.
2. **Collect diff data** to map out changed files and gather stats on the scope of the PR.
3. **Conduct deep file reads** to gain full context of the surrounding code for every change.
4. **Execute check sequence** following a priority list from functional correctness to security and API stability.

### Frameworks & tools
This skill uses `git` for diffing and branch management. It works across any programming language by analyzing the source code and logic patterns directly.

### Why this beats prompting it yourself
Generic prompts often focus only on syntax or style. This skill enforces a structured inspection order that prioritizes data safety and API stability, ensuring the agent reads full files for deep context.

### Use cases
- Audit a feature branch before opening a formal pull request.
- Perform an initial security and correctness pass on team member contributions.
- Identify potential breaking changes in large refactors or migration scripts.
- Generate a structured findings report for a specific diff between two branches.

### Known limitations
Requires a local git environment and access to the origin/main branch to establish a base for comparison. Output is limited to text-based analysis of code logic.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Pull Request Review: Ranked Findings + Verdict skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific types of code issues does this skill identify during a review?

This skill identifies logic bugs with specific failing inputs, security and data loss risks, missing test coverage, and breaking changes to public APIs or database migrations. It helps prevent production errors by providing a structured audit that ranks findings by severity.

### What software or environment is required for this skill to analyze my code?

The agent requires a local git environment and access to the origin/main branch to establish a comparison base. It uses git to analyze diffs and read the source code files directly.

### What does the final report look like when the review is complete?

You will receive a structured table listing the severity level, the specific file and line number, a description of the problem, and a suggested fix. The analysis concludes with a one line verdict such as ready or needs rework.

### How should I ask my agent to begin a code analysis?

You can ask your agent to review a specific branch, a pull request, or simply say review my changes. The agent will then compare your current work against the main branch to start the audit.

### Are there any scenarios where this skill cannot perform a review?

This skill is limited to text based analysis of code logic and requires a common ancestor between the current branch and the main branch to function. It cannot perform audits if it cannot establish this git base for comparison.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
