name: deslop description: Remove AI-generated code slop from the current branch. Use when the user says "deslop", "remove slop", or asks to clean up AI-generated code. context: fork allowed-tools:
- Bash(git symbolic-ref:*)
- Bash
- Read
- Edit
- Grep
- Glob
Task
Check the diff against the default branch (use git symbolic-ref refs/remotes/origin/HEAD to detect main/master) and remove all AI-generated slop introduced in this branch.
What to remove
- Extra comments a human wouldn't add or inconsistent with the rest of the file
- Unnecessary defensive checks or try/catch blocks (especially from trusted/validated code paths)
- Fallbacks for scenarios that can't happen or are already guaranteed by upstream code
- Casts to
anyto work around type issues - Any style inconsistent with the surrounding file
Output
Report a 1-3 sentence summary of changes at the end.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
25
GitHub Forks
2
Created
Mar 2026
Last Updated
3个月前
tools
tools automation tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!