Pull Request Review: Ranked Findings + Verdict

    by jihyun an

    1

    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.

    Free

    Security scanned

    Works with the AI Agents you already use

    Pull Request Review: Ranked Findings + Verdict

    Example session with this skill installed

    Review my current changes against main. The PR is for a new user authentication module.

    • Read your context and instructions
    • Compiled the pull request review

    Analysis of the diff between feat/user-auth and origin/main complete. I have reviewed 4 changed files with a focus on security and API stability.

    PR Review Findings

    SeverityFile:LineProblemSuggested Fix
    Highauth.ts:42Potential side-channel attack due to non-constant time string comparison.Use crypto.timingSafeEqual for secret verification.
    Mediumuser_repo.ts:112Unhandled database connection error could lead to process crash.Add try-catch block around the query call with proper logging.
    Mediumauth.ts:24Missing test case for expired token scenarios in the new middleware.Add an integration test in auth.test.ts using a past timestamp.
    Lowconfig.ts:5Exported AUTH_TIMEOUT uses a hardcoded integer.Move value to an environment variable via process.env.

    Verdict: ready after fixes

    Next steps

    1. Apply the timing-safe comparison fix to auth.ts to resolve the high-severity security finding.
    2. Implement the missing test case for expired tokens in the test suite.
    3. Verify the database error handling in user_repo.ts before merging.

    Connects securely to your tools. The creator never sees your data.

    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.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Creator

    jihyun an

    jihyun an

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.

    Free