Ai slop cleaner

From Yeachan-Heo/oh-my-claudecode · View interactive version

Ai slop cleaner is an AI agent skill from the GitHub repository Yeachan-Heo/oh-my-claudecode. Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

How to use this skill

Skill file

AI Slop Cleaner

Use this skill to clean AI-generated code slop without drifting scope or changing intended behavior. In OMC, this is the bounded cleanup workflow for code that works but feels bloated, repetitive, weakly tested, or over-abstracted.

When to Use

Use this skill when:

When Not to Use

Do not use this skill when:

OMC Execution Posture

Scoped File-List Usage

This skill can be bounded to an explicit file list or changed-file scope when the caller already knows the safe cleanup surface.

Branch-Delta Focus

When invoked on a branch (the usual case for review-driven cleanup), the

default surface is the slop this branch introduced, not the whole repo:

this one was cut from, else the repository's default branch.

scope — pre-existing slop outside the delta is reported, not edited.

This bounds the pass to work whose review context is already open, and keeps

unrelated legacy cleanup from riding in under an anti-slop flag.

Ralph Integration

Ralph can invoke this skill as a bounded post-review cleanup pass.

Review Mode (`--review`)

--review is a reviewer-only pass after cleanup work is drafted. It exists to preserve explicit writer/reviewer separation for anti-slop work.

In review mode:

  1. Do not start by editing files.
  2. Review the cleanup plan, changed files, and regression coverage.
  3. Check specifically for:
  1. Produce a reviewer verdict with required follow-ups.
  2. Hand needed changes back to a separate writer pass instead of fixing and approving in one step.

Workflow

  1. Protect current behavior first
  1. Write a cleanup plan before code
  1. Classify the slop before editing

UI/Design Reviewer Checklist

Use these as review prompts, not absolute bans. Keep intentional brand, accessibility, product-density, or design-system choices when they have a clear rationale.

  1. Run one smell-focused pass at a time
  1. Run the quality gates
  1. Close with an evidence-dense report

Always report:

Usage

Good Fits

Good: deslop this module: too many wrappers, duplicate helpers, and dead code

Good: cleanup the AI slop in src/auth and tighten boundaries without changing behavior

Bad: refactor auth to support SSO

Bad: clean up formatting

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.