Deslop banner
shekohex shekohex

Deslop

AI community

Description

--- description: Removes AI generated slop from the generated code --- # Remove AI code slop Check the diff against base branch (usually 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

Installation

Installs to ~/.claude/commands/shekohex-dotai-deslop.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/shekohex/dotai/HEAD/.claude/commands/deslop.md -o ~/.claude/commands/shekohex-dotai-deslop.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository