- Home
- Skills
- Code Review
- Automated PR Review & Pruner
More screenshots
Works with the AI tools you already use
Automated PR Review & Pruner
Audits Git diffs and code modules to detect dead code paths, N+1 queries, and unhandled promise rejections.
$9.99
Automated PR Review & Pruner
Example session with this skill installed
Review this pull request diff for bugs, memory leaks, and dead code. Clean up any issues and output the optimized code:
import { fetchUser, fetchPermissions, unusedHelper } from './api';
export async function processUsers(userIds: string[]) {
const unusedVar = "debug_mode";
for (let i = 0; i < userIds.length; i++) {
const user = await fetchUser(userIds[i]);
const perms = await fetchPermissions(user.id);
console.log(user, perms);
}
return true;
console.log("Processing complete");
}
- Read your context and instructions
- Compiled the automated pr review
- Generated the document
automated-pr-review-pruner.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Automated PR Review & Dead-Code Pruner is a deterministic code review engine built for Agensi. Unlike generic AI code reviews that focus on superficial style formatting, this skill focuses strictly on high-impact architectural issues, runtime risks, dead code elimination, and database performance bottlenecks.
Core Capabilities
- Dead Code & Unreachable Logic Removal: Automatically flags and strips unused symbols, orphaned imports, unreachable branches, and redundant variable assignments.
- Async & Resource Management Audit: Catches floating promises, unhandled rejections, dangling event listeners/timers, and sequential
awaitbottlenecks that should be parallelized withPromise.all(). - Database & Algorithmic Efficiency: Identifies N+1 query patterns inside loops and high cyclomatic complexity (nested loops >3 levels deep) to suggest clean guard clauses.
- Refactored Code Delivery: Generates structured severity matrices alongside zero-fluff, copy-paste ready refactored code blocks.
Compatible Workflows
Ideal for continuous integration checks, pull request audits, legacy codebase refactoring, and daily developer code hygiene routines.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- One-time purchase, yours forever