deslop
Originally frombrianlovin/claude-config
Installation
SKILL.md
Deslop
Aggressive whole-codebase cleanup for AI-generated code. Eight specialized passes, each a fresh-eyes subagent with a narrow mandate. Based on the pattern from Shaw (@shawmakesmagic). The framing: "the quality of your vibecoded slop is horrible… fortunately, there is a fix."
What It Does (the 8 passes)
- DRY / dedupe — consolidate duplicated code where it reduces complexity
- Consolidate shared types — unify type definitions that should be shared
- Remove dead code — find unreferenced code with stack-appropriate tools
- Untangle circular dependencies — surface and break cycles
- Remove weak types — replace
any/unknown/T.untyped/interface{}with real types - Remove defensive try/catch — delete error handlers that swallow or hide errors without a real purpose
- Remove legacy/deprecated/fallback code — consolidate to a single current code path
- Remove AI-slop comments — strip in-motion commentary, stubs, larp, and obvious-code comments