home / skills / revokslab / shipfree / rmslop
This skill removes AI-generated slop by diff-checking main and pruning inconsistent or unnecessary code patterns across the repository.
npx playbooks add skill revokslab/shipfree --skill rmslopReview the files below or copy the command above to add this skill to your agents.
---
name: rmslop
description: Remove AI code slop
---
# Overview
Check the diff against main, and remove all AI generated slop introduced in this branch.
This includes:
- Extra comments that a human wouldn't add or is inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
- Casts to any to get around type issues
- Any other style that is inconsistent with the file
- Unnecessary emoji usage
Report at the end with only a 1-3 sentence summary of what you changedThis skill removes AI-generated “slop” from a branch diff to keep the codebase clean and consistent. It targets unnecessary comments, abnormal defensive patterns, type casts to any, and other stylistic inconsistencies introduced by automated edits. The result is a leaner, more idiomatic code change set and a short summary of edits.
The skill scans the diff against main and identifies additions that look like AI-inserted noise: verbose comments, odd try/catch guards, stray any casts, emoji, and style departures from surrounding code. It either removes or normalizes those changes in-place, preserving intent and functionality. After processing, it provides a 1–3 sentence summary describing the applied cleanups.
Will this change program behavior?
No — the focus is on stylistic and nonfunctional noise. The skill avoids edits that alter logic or contract unless a clear nonfunctional pattern is being removed.
How does it decide what's 'AI slop'?
It uses heuristics: unusual verbosity, extra defensive checks in trusted paths, 'any' casts added where types existed, emoji and inconsistent comment style compared to the file. Results are reviewed in the summary before applying.