ai-slop-cleaner

Remove redundant AI-generated code patterns while preserving existing behavior.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Hyeonjun0527/yeon --skill ai-slop-cleaner-hyeonjun0527
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/Hyeonjun0527/yeon/tree/main/.codex/skills/ai-slop-cleaner
Command: npx skills add https://github.com/Hyeonjun0527/yeon --skill ai-slop-cleaner-hyeonjun0527

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clean AI-generated code slop without drifting scope or changing intended behavior through a regression-safe, deletion-first workflow, and support for an optional reviewer-only mode.

Core Features & Use Cases

  • Focused anti-slop cleanup that preserves behavior and reduces noise in AI-assisted code generation.
  • Supports a bounded scope and reviewer-only mode via --review for safety.
  • Helps maintain lean, test-covered code in AI-assisted development.

Quick Start

Apply a bounded cleanup pass on the target module to remove redundant AI-generated code while preserving behavior and test coverage.

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 slop without changing existing behavior?

To clean up AI-generated code slop safely, apply a deletion-first workflow that removes redundant patterns and wrapper layers while enforcing regression verification to preserve existing behavior. This bounded approach prevents scope drift and maintains test coverage.

What is a deletion-first code cleanup workflow?

A deletion-first code cleanup workflow remediates noisy AI-generated output by strictly removing redundant patterns rather than adding new code or dependencies. It preserves intended behavior by relying on bounded scope execution and regression verification.

Can I review AI code slop before applying any deletions?

Yes, you can review AI code slop before applying changes by running a reviewer-only pass using the --review flag. This mode safely highlights redundant patterns and wrapper layers for inspection without immediately modifying the codebase.

Does this code cleanup process require adding new dependencies?

No, this code cleanup process does not require adding any new dependencies. It remediates AI-generated code slop by strictly enforcing a deletion-first workflow that removes redundant patterns while preserving existing behavior.

How do I remove redundant wrapper layers from AI-assisted code generation?

To remove redundant wrapper layers from AI-assisted code generation, target the noisy modules with a bounded cleanup pass. This removes the unnecessary wrapper layers while maintaining lean, test-covered code through regression verification.

What are the limitations of using a bounded scope for code refactoring?

The limitation of using a bounded scope for code refactoring is that cleanup is restricted to targeted modules to ensure safety. It strictly enforces a deletion-first workflow with regression verification, meaning incomplete tests may limit broader automated remediation.