deslop

Remove extraneous comments, defensive checks, and inconsistent styling from code branches locally.

357|29|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/brianlovin/claude-config --skill deslop-brianlovin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/brianlovin/claude-config/tree/main/skills/deslop
Command: npx skills add https://github.com/brianlovin/claude-config --skill deslop-brianlovin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated slop from the current branch to improve readability and maintainability.

Core Features & Use Cases

  • Clean up extraneous comments, defensive checks, and inconsistent style left by AI-generated code.
  • Normalize code style across a feature or repository after generated edits.
  • Use case: after generating code with an AI model, run deslop to produce a clean, review-friendly diff.

Quick Start

Run deslop to remove AI-generated code slop from the current branch and present a concise summary of changes.

Frequently Asked Questions about deslop

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

FAQPage Schema
How do I clean up AI-generated code before a commit?

Remove AI-generated slop from a branch by applying configurable cleanup rules that eliminate extraneous comments, defensive checks, and inconsistent styling, producing a clean and review-friendly diff before merging.

What is AI-generated code slop and how does it affect maintainability?

AI-generated code slop consists of extraneous comments, unnecessary defensive checks, and inconsistent styling left by AI models. It degrades readability and maintainability, requiring cleanup before merging generated edits into a repository.

Can I normalize code style across different programming languages after AI edits?

Yes, you can normalize code style across different programming languages after AI edits. Deslop applies to standard software projects across languages, focusing on removing extraneous comments and defensive checks locally without external services.

Does cleaning AI-generated slop require external services or dependencies?

No, cleaning AI-generated slop requires no external services or dependencies. Deslop operates locally by applying configurable cleanup rules directly to the repository codebase to improve readability and maintainability.

What's the best way to remove unnecessary defensive checks from a feature branch?

The best way to remove unnecessary defensive checks from a feature branch is to run deslop, which automatically eliminates extraneous comments, defensive checks, and inconsistent styling left by AI-generated code before merging.