ai-slop-cleaner

Remove redundant wrappers and dead code while preserving behavior.

16|3|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/sehoon787/my-claude --skill ai-slop-cleaner-sehoon787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/sehoon787/my-claude/tree/main/skills/omc/ai-slop-cleaner
Command: npx skills add https://github.com/sehoon787/my-claude --skill ai-slop-cleaner-sehoon787

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

Core Features & Use Cases

  • Remove redundant wrappers and dead code while preserving behavior
  • Enforce a deletion-first cleanup strategy with a regression-first validation
  • Optional reviewer-only mode to gate changes

Quick Start

Instruct the AI to perform a safe, deletion-first cleanup on the target codebase while preserving behavior.

Frequently Asked Questions about ai-slop-cleaner

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

FAQPage Schema
How do I safely remove redundant wrappers and dead code from AI-generated code?

To safely remove redundant wrappers and dead code from AI-generated code, use a deletion-first cleanup workflow that requires regression tests and conservative diffs to preserve behavior. This ensures the refactoring process maintains stable functionality.

What is a deletion-first code cleanup strategy for refactoring?

A deletion-first code cleanup strategy prioritizes removing redundant wrappers and dead code before adding modifications. It enforces regression-first validation and conservative diffs to ensure behavior remains stable throughout the refactoring process.

Can I review AI code slop changes without applying them directly?

Yes, you can review AI code slop changes without applying them by using a reviewer-only mode. This gates changes by requiring a minimal cleanup plan and regression tests before any modifications are committed to the codebase.

Do I need regression tests to perform scope cleanup and deduplication?

Yes, regression tests are required to perform scope cleanup and deduplication safely. They validate that the deletion-first refactoring and conservative diffs preserve the original behavior without introducing new defects.

What's the best way to refactor AI-generated code without breaking existing functionality?

The best way to refactor AI-generated code without breaking functionality is applying a regression-safe, deletion-first workflow. This requires a minimal cleanup plan, conservative diffs, and regression tests to enforce behavior stability.

When should I avoid using automated code cleanup on my codebase?

You should avoid automated code cleanup when lacking regression tests or a minimal cleanup plan. Without regression-first validation and conservative diffs, deletion-first refactoring risks altering behavior and destabilizing the codebase.