# PR-Slop-Buster: AI Code Bloat & Dependency Auditor

> Detect and remove AI-generated code bloat, redundant dependencies, and over-engineered boilerplate.

PR-Slop-Buster: AI Code Bloat & Dependency Auditor is a paid AI agent skill on Agensi by Sonia R, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Sonia R](https://www.agensi.io/creators/soniran635)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-10-12
- Security: scan passed (2026-10-12); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pr-slop-buster-ai-code-bloat-dependency-auditor
- Tags: code-review, testing, prompt-engineering, typescript, clean-architecture, refactoring, ai-slop, code-quality

## About this skill

AI coding assistants often hallucinate unnecessary abstractions, add redundant dependencies, and generate shallow tests that inflate coverage without adding value. This skill acts as a ruthless staff engineer review lens, identifying and stripping away AI-generated bloat before your code hits production.

### What it does
- **Dependency auditing** flags heavy external libraries like lodash or moment when native standard library alternatives exist.
- **Tautological test detection** catches mock abuse and tests that assert truth without verifying actual state mutations.
- **Boilerplate decoupling** identifies premature abstractions such as over-engineered factories or unnecessary singleton patterns.
- **Comment pruning** removes parrot comments that merely rephrase variable names without adding architectural context.
- **Slop indexing** assigns a percentage score to your diff to quantify code quality and maintenance burden.

### How it works
1. **Input Analysis**: The agent scans your git diff or specific source files for common AI-generated anti-patterns.
2. **Scoring**: It calculates a Slop Index Score from 0% to 100% based on detected bloat and dependency inflation.
3. **Audit Reporting**: It generates a structured PR Slop Scorecard detailing every violation.
4. **Refactoring**: The agent provides specific minimalist code replacements to simplify the implementation.

### Frameworks & tools
This skill is language-agnostic but optimized for modern ecosystems like Node.js (npm), Python (pip), and TypeScript. It works directly within AI-powered IDEs and CLI tools.

### Why this beats prompting it yourself
General-purpose models often hesitate to criticize their own output or suggest removing code they just wrote. This skill enforces a specific minimalist constraint that prioritizes lower cognitive load over impressive-looking boilerplate.

### Use cases
- Auditing AI-assisted pull requests for hidden maintenance debt.
- Replacing heavy legacy dependencies with modern native one-liners.
- Cleaning up over-engineered wrappers in new feature branches.
- Verifying that test suites actually test logic rather than just mocks.

### Known limitations
This skill focuses on code structure and bloat. It does not perform deep security vulnerability scanning or complex runtime performance profiling.

---
- **Upstream Open-Source Repository:** https://github.com/soniran635/pr-slop-buster
- **License:** MIT License (Free & Open Source)

## 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 PR-Slop-Buster: AI Code Bloat & Dependency Auditor skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific types of code bloat does the PR Slop Buster target?

It identifies and removes "AI slop," such as unnecessary design patterns (factories/singletons), redundant npm/pip dependencies that have native alternatives, and hollow tests that inflate coverage without actually verifying logic.

### Which programming languages and package managers are supported?

The skill is language-agnostic but features specialized optimizations for Node.js, TypeScript, and Python ecosystems, where AI-generated dependency bloat is most common.

### How does this differ from just asking my standard AI coding assistant to 'clean up' the code?

Unlike general models that often favor verbosity, this skill uses a "minimalist constraint" logic to prioritize low cognitive load and codebase maintainability over impressive-looking boilerplate.

### What is the 'Slop Index' and how should I interpret the score?

The Slop Index is a percentage score from 0% to 100% that quantifies the maintenance burden of a diff, where a higher score indicates a higher density of redundant or low-value code.

### Can I use this skill locally within my IDE or is it only for cloud-based PR reviews?

Yes, it is designed to run directly within AI-integrated IDEs and CLI tools, allowing you to audit your git diffs locally before you even push to your repository.

### What exactly is included with my purchase of this skill?

The purchase includes the full skill logic, regular updates to the anti-pattern detection library, and a perpetual license for use across your personal or organizational projects.

---

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.
