What problem does it solve?
This skill reviews the diff against main and removes changes that are likely “AI slop”: unnecessary, non-idiomatic, or inconsistent additions that do not materially contribute to the intended feature/fix.
Core Features & Use Cases
- Determines the appropriate diff source in the correct order (cached diff, working diff, or main vs HEAD) and avoids unrelated refactors.
- Enforces the principle of minimal, idiomatic changes and preserves meaningful changes while pruning noise.
- Useful in feature branches, code reviews, and collaborative projects to maintain clean, auditable histories.
Quick Start
Run the diff cleanup on your current branch to remove AI-generated slop while preserving essential changes.