What problem does it solve?
AI-generated changes often include unnecessary, inconsistent, or overly defensive code patterns that add noise and reduce maintainability, even when the logic is mostly correct.
Core Features & Use Cases
- Diff Cleanup Against Main: Reviews the branch changes against main to remove AI-introduced slop while preserving intent.
- Style- and Structure-Focused Simplification: Targets inconsistent comments, abnormal try/catch patterns, unnecessary deep nesting (via early returns), and type-hack casts like
any used only to bypass type issues.
- Behavior-Preserving Guardrails: Keeps behavior unchanged unless fixing a clear bug, with minimal, focused edits suitable for codebases that value readability and consistency.
Quick Start
Use the deslop skill on the current branch diff by telling the AI: “Clean up the AI-generated slop in my PR while keeping behavior unchanged.”