ai-slop-cleaner

Clean AI-generated code slop with a bounded, regression-checked workflow.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Pryma-Tech/iris --skill ai-slop-cleaner-pryma-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/Pryma-Tech/iris/tree/main/cli/skills/ai-slop-cleaner
Command: npx skills add https://github.com/Pryma-Tech/iris --skill ai-slop-cleaner-pryma-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clean AI-generated code slop without drifting scope or changing intended behavior, preserving functionality while reducing bloated, repetitive patterns.

Core Features & Use Cases

  • Bounded cleanup workflow for code that works but feels bloated, repetitive, weakly tested, or over-abstracted.
  • Supports a reviewer-only anti-slop pass via --review and scoped file lists to limit surface area.
  • Proactive risk management through planning, regression tests, and minimal, reversible diffs.

Quick Start

Initiate a bounded anti-slop cleanup by outlining the target scope and running the pass on the selected files.

Frequently Asked Questions about ai-slop-cleaner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up AI-generated code without changing its behavior?

To clean up AI-generated code without behavior changes, you need a deletion-first workflow that requires a cleanup plan, prioritizes removing bloated code over adding new code, and validates changes using targeted regression checks.

What is the best way to remove repetitive patterns from AI-generated code?

Removing repetitive patterns from AI-generated code is best handled by a bounded cleanup workflow that operates on a restricted file scope, ensuring the cleanup pass reduces bloat and over-abstraction while preserving the original intended functionality.

Can I run a review-only pass to identify AI code slop?

Yes, you can run a review-only anti-slop pass to identify AI code slop by using the review mode flag, which evaluates the targeted files and surfaces bloated or weakly tested patterns before committing to actual code deletion.

How do I safely refactor AI code slop in a real-world project?

Safely refactoring AI code slop involves limiting the surface area to a scoped file list, generating an explicit cleanup plan, prioritizing minimal and reversible diffs, and validating the refactoring with regression tests.

When should I restrict file scope during an AI code cleanup?

You should restrict file scope during an AI code cleanup when working within bounded tasks in real-world projects, as limiting the surface area ensures the anti-slop pass remains focused, reduces regression risks, and produces minimal, reversible diffs.

Why does AI code cleanup require a planning step before deletion?

AI code cleanup requires a planning step to ensure proactive risk management, allowing the workflow to prioritize deletion over addition, maintain minimal and reversible diffs, and validate behavior preservation through targeted regression checks.