- Home
- Skills
- Code Quality & Review
- Pull Request Review: Ranked Findings + Verdict
Pull Request Review: Ranked Findings + Verdict
by jihyun an
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
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
| Severity | File:Line | Problem | Suggested Fix |
|---|---|---|---|
| High | auth.ts:42 | Potential side-channel attack due to non-constant time string comparison. | Use crypto.timingSafeEqual for secret verification. |
| Medium | user_repo.ts:112 | Unhandled database connection error could lead to process crash. | Add try-catch block around the query call with proper logging. |
| Medium | auth.ts:24 | Missing test case for expired token scenarios in the new middleware. | Add an integration test in auth.test.ts using a past timestamp. |
| Low | config.ts:5 | Exported AUTH_TIMEOUT uses a hardcoded integer. | Move value to an environment variable via process.env. |
Verdict: ready after fixes
Next steps
- Apply the timing-safe comparison fix to
auth.tsto resolve the high-severity security finding. - Implement the missing test case for expired tokens in the test suite.
- Verify the database error handling in
user_repo.tsbefore 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
- Identify the base by finding the common ancestor between the current branch and the main branch.
- Collect diff data to map out changed files and gather stats on the scope of the PR.
- Conduct deep file reads to gain full context of the surrounding code for every change.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Creator
jihyun an
Frequently Asked Questions
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.