deslop

Remove AI-generated code slop from code changes in the current branch

⭐50stars🔀0forks📁View on GitHub🕐Updated Jan 9, 2026⬇️1downloads

When & Why to Use This Skill

The 'deslop' Claude skill is a specialized developer tool designed to enhance code quality by automatically identifying and removing 'AI slop' from your current branch. It analyzes diffs against the main branch to strip away unnecessary comments, redundant defensive checks, and stylistic inconsistencies often introduced by AI coding assistants, ensuring your codebase remains clean, professional, and maintainable.

Use Cases

  • Pre-PR Cleanup: Automatically strip away verbose AI-generated comments and redundant logic before submitting code for human review to ensure a cleaner pull request.
  • Architectural Alignment: Identify and remove abnormal defensive checks or try/catch blocks that do not align with the project's established error-handling patterns or trusted codepaths.
  • Style Standardization: Refactor AI-generated snippets to match the specific coding style and conventions of the existing file, maintaining a consistent developer experience.
namedeslop
description"Remove AI-generated code slop from code changes in the current branch"
version"1.0.0"
contextfork
agentExplore
modelsonnet

Remove AI code slop

Check the diff against main, and remove all AI generated slop introduced in this branch. You will launch the sub-agent to proceed this process

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)
  • Any other style that is inconsistent with the file

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