slop
Installation
SKILL.md
Remove AI Code Slop
Check the diff against a branch and remove all AI-generated slop introduced in this branch. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
Usage
/slop [branch-name]
- If no branch is provided, compare against main:
/slop main
What is AI Code Slop?
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
- Casts to
anyto get around type issues - Any other style that is inconsistent with the file