Agent Skills: Remove AI code slop

Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

UncategorizedID: brianlovin/claude-config/deslop

Install this agent skill to your local

pnpm dlx add-skill https://github.com/brianlovin/claude-config/tree/HEAD/skills/deslop

Skill Files

Browse the full folder contents for deslop.

Download Skill

Loading file tree…

skills/deslop/SKILL.md

Skill Metadata

Name
deslop
Description
Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

Remove AI code slop

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

Report at the end with only a 1-3 sentence summary of what you changed