ai-slop-cleaner

Identify and remove AI-generated code slop with regression-tests-first cleanup.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/eszxcvfd/ANIZAKI --skill ai-slop-cleaner-eszxcvfd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/eszxcvfd/ANIZAKI/tree/main/.agents/skills/ai-slop-cleaner
Command: npx skills add https://github.com/eszxcvfd/ANIZAKI --skill ai-slop-cleaner-eszxcvfd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces AI-generated slop by enforcing a regression-tests-first cleanup workflow that preserves behavior while improving signal quality.

Core Features & Use Cases

  • Regression-tests-first cleanup to lock behavior during refactors
  • Smell-by-smell categorization: dead code, duplication, needless abstraction, boundary violations, and missing tests
  • Bounded, stepwise cleanup plan with explicit priorities and reversibility
  • Evidence-dense reporting and quality gates to ensure safe, auditable changes
  • Guided workflow for planning, execution, and verification in production-like environments

Quick Start

Provide a focused cleanup goal and run the AI Slop Cleaner to generate a bounded plan and start the first pass.

Frequently Asked Questions about ai-slop-cleaner

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

FAQPage Schema
How do I remove AI slop from code without changing its behavior?

You remove AI slop by applying a regression-tests-first cleanup workflow that locks behavior during refactoring. This process requires explicit regression tests and bounded, stepwise cleanup passes to safely eliminate dead code and needless abstractions without altering functionality.

What is regression-tests-first code cleanup and when do I need it?

Regression-tests-first code cleanup is a workflow that locks existing behavior with explicit tests before modifying code structure. You need it during refactor sessions to safely remove AI-generated slop like duplication, dead code, and needless abstractions while ensuring no functional regressions occur.

How do I categorize and fix code smells during a refactor session?

You categorize and fix code smells by applying a bounded cleanup plan that identifies specific issues like dead code, duplication, boundary violations, and missing tests. This stepwise process uses per-pass verification and quality gates to ensure safe, auditable structural improvements.

Do I need explicit regression tests to clean up redundant code patterns?

Yes, explicit regression tests are required to clean up redundant code patterns. The cleanup workflow enforces a regression-tests-first approach to lock behavior, meaning you must provide these tests to verify each pass and ensure the removal of AI slop does not introduce regressions.

What is the best way to plan code refactoring for production-like environments?

The best way to plan code refactoring for production-like environments is using a bounded, stepwise cleanup plan with explicit priorities and reversibility. This guided workflow ensures evidence-dense reporting and per-pass verification to guarantee safe, auditable changes during execution.

When should I avoid automated code cleanup workflows?

You should avoid automated code cleanup workflows when you cannot establish explicit regression tests or a bounded cleanup plan. Without these prerequisites, per-pass verification cannot guarantee that behavior is preserved, making the removal of AI slop unsafe and unauditable.