deslop

Remove AI-generated comments, defensive checks, and casts from feature branches.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/mwathiben/PropManager --skill deslop-mwathiben
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/mwathiben/PropManager/tree/main/.claude/skills/deslop
Command: npx skills add https://github.com/mwathiben/PropManager --skill deslop-mwathiben

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated code slop from a branch, enabling clean, readable, and maintainable code.

Core Features & Use Cases

  • Detects and removes unwanted AI-generated comments, extraneous defensive checks, and unnecessary type casts without touching legitimate logic.
  • Performs diff against main to ensure only slop is addressed and changes are traceable.
  • Ideal for feature branches that accumulate AI-generated scaffolding during rapid prototyping.

Quick Start

Run deslop on your feature branch to diff against main and remove AI-generated slop while preserving legitimate code.

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 code slop from my feature branch?

Remove AI-generated code slop by diffing against main, detecting unnecessary comments, defensive checks, and casts, then applying refactors that preserve valid logic while outputting a summary of changes.

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

AI code slop includes unnecessary comments, extraneous defensive checks, and unneeded type casts left by AI tools during prototyping, which reduces readability and maintainability across feature branches.

Can I clean up AI-generated comments without breaking valid logic?

Yes, you can clean up AI-generated comments and extraneous checks while preserving valid logic by diffing against main to ensure only slop patterns are addressed and changes remain traceable.

What's the best way to refactor AI-generated scaffolding from a git diff?

The best way to refactor AI-generated scaffolding is using a deterministic workflow that identifies slop patterns within a git diff against main, applies targeted refactors, and outputs a change summary.

Does this code cleanup workflow require any external dependencies?

No, this code cleanup workflow operates without external dependencies, requiring only a feature branch to diff against main for identifying and removing unwanted AI-generated artifacts.