ai-slop-cleaner

Remove redundant wrappers and dead code while preserving functionality.

153|12|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/jmstar85/oh-my-githubcopilot --skill ai-slop-cleaner-jmstar85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/jmstar85/oh-my-githubcopilot/tree/main/.github/skills/ai-slop-cleaner
Command: npx skills add https://github.com/jmstar85/oh-my-githubcopilot --skill ai-slop-cleaner-jmstar85

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI-generated code slop bloats projects; this skill cleans up redundant wrappers, dead code, and over-abstracted logic while preserving behavior.

Core Features & Use Cases

  • Remove unnecessary wrappers and dead code without changing behavior.
  • Collapse duplicate logic and over-abstracted helpers to a lean codebase.
  • Apply regression-safe cleanup within explicit scope and run tests afterwards.

Quick Start

Run the slop-cleaner on your target codebase and verify tests pass after cleanup.

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-generated code slop without breaking existing functionality?

To remove AI-generated code slop safely, you need a regression-safe workflow that deletes redundant wrappers and dead code while running tests afterwards to verify behavior is preserved. This skill implements exactly that process within a defined scope.

What is the best way to clean up over-abstracted helpers and duplicated logic in a codebase?

The best way to clean up over-abstracted helpers and duplicated logic is to apply targeted code simplification within explicit boundaries, collapsing redundant structures into a lean codebase while verifying tests pass after deletions.

Can I use this code cleanup workflow with any programming language project?

Yes, the workflow applies to any language project where bloated wrappers, duplicated logic, or over-abstracted helpers exist, as long as you define the scope and have tests in place for regression verification.

Does the slop cleaner support non-destructive analysis before deleting dead code?

Yes, the slop cleaner supports a review mode for non-destructive analysis, allowing you to identify over-abstraction and dead code before making any actual deletions to your codebase.

Why should I run regression testing after removing dead code and unnecessary wrappers?

You should run regression testing after removing dead code because deletions can cause unexpected behavior changes; verifying tests pass afterwards ensures the cleanup preserved existing functionality without introducing regressions.