Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
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.
Use this skill when:
deslop, anti-slop, or AI slop--reviewDo not use this skill when:
This skill can be bounded to an explicit file list or changed-file scope when the caller already knows the safe cleanup surface.
oh-my-claudecode:ai-slop-cleaner skills/ralph/SKILL.md skills/ai-slop-cleaner/SKILL.mdRalph can invoke this skill as a bounded post-review cleanup pass.
--review)--review remains the reviewer-only follow-up mode, not the default Ralph integration path--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:
Protect current behavior first
Write a cleanup plan before code
Classify the slop before editing
Run one smell-focused pass at a time
Run the quality gates
Close with an evidence-dense report Always report:
/oh-my-claudecode:ai-slop-cleaner <target>/oh-my-claudecode:ai-slop-cleaner <target> --review/oh-my-claudecode:ai-slop-cleaner <file-a> <file-b> <file-c>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