This skill guides reviewing changed files, removing inconsistent or unnecessary code, and applying project conventions for clarity and maintainability. It emphasizes changing only modified sections, preserving behavior, and verifying the result with tests.
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.
/slop [branch-name]
/slop mainThis includes:
any to get around type issuesNever change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
Follow the established coding standards from @CLAUDE.md or conventions:
Simplify code structure by:
Preserve necessary complexity — over-simplification can:
# Compare against main branch
git diff main...HEAD --stat
# Or against specific branch
git diff $1 --statFor each changed file:
any casts where possible# Show remaining changes
git diff --stat
# Check tests still pass
npm testx as any to bypass TypeScriptWhen refining code:
jellydn/my-ai-tools
1524f4a
gitgit diffnpmnpm testAlso appears in
since Nov 30, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.