deslop

Remove unnecessary comments, dead code, and redundant logic from codebases.

3|1|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/indrasvat/claude-code-skills --skill deslop-indrasvat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/indrasvat/claude-code-skills/tree/main/skills/deslop
Command: npx skills add https://github.com/indrasvat/claude-code-skills --skill deslop-indrasvat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clean AI-generated slop from code — remove unnecessary comments, dead code, and rename for self-documentation to improve readability and maintainability.

Core Features & Use Cases

  • Remove redundant comments that state the obvious
  • Eliminate dead code and simplify logic
  • Rename identifiers to improve self-documentation in multiple languages

Quick Start

Run deslop on the targeted files to remove slop and straighten the codebase.

Frequently Asked Questions about deslop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove AI-generated slop and unnecessary comments from my code?

Remove AI-generated slop by stripping redundant comments, dead code, and unnecessary logic from your files. This cleanup process refactors the codebase to improve readability and maintainability across multiple languages.

What is the best way to clean up dead code before a code review?

Clean up dead code before a review by running a code cleanup process that eliminates unused logic and simplifies the codebase. This preparation removes noise and ensures the review focuses on functional changes.

Can I refactor and rename identifiers for self-documentation across different programming languages?

Refactor and rename identifiers for self-documentation across multiple languages and repositories. The cleanup process applies broadly to codebases, renaming variables to improve readability without being limited to a single language.

Does removing unnecessary comments delete essential licensing notes or functional documentation?

Removing unnecessary comments preserves essential notes and licensing while cleaning slop. The refactoring process satisfies functional requirements to maintain critical documentation and strip only redundant, obvious statements.

How do I eliminate redundant logic and simplify my codebase for better maintainability?

Eliminate redundant logic and simplify your codebase by removing dead code and renaming identifiers for clarity. This refactoring approach straightens the code and removes noise to improve long-term maintainability.