deslop

Remove AI-generated comments and unnecessary patterns from code diffs.

3|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/peabody124/reproducible_agent_environment --skill deslop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/peabody124/reproducible_agent_environment/tree/main/skills/deslop
Command: npx skills add https://github.com/peabody124/reproducible_agent_environment --skill deslop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cleaning AI-generated slop from code changes is essential to keep diffs readable, maintainable, and review-ready. This skill helps ensure that commits reflect intentional changes only.

Core Features & Use Cases

  • Slop detection: Identify extraneous AI-generated comments, unnecessary defensive checks, and placeholder patterns in diffs.
  • Diff refinement: Remove inconsistent formatting and stray code smells from outstanding changes, commits, or branches.
  • Use Case: Before merging a PR, run this skill to produce a concise, production-quality patch that reviewers can trust.

Quick Start

Use deslop to clean AI-generated slop from the latest diff and prepare it for commit.

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 comments and artifacts from code diffs?

To remove AI-generated slop from code diffs, apply a cleaning process that identifies extraneous comments, unnecessary defensive checks, and placeholder patterns across commits. This refines outstanding changes to produce cleaner, review-ready code.

What is AI slop in code changes and why does it need cleaning?

AI slop in code changes refers to extraneous AI-generated comments, unnecessary defensive checks, and placeholder patterns that clutter diffs. Cleaning this slop is essential to keep diffs readable, maintainable, and review-ready before merging.

Can I clean up AI code artifacts across staged changes and branches?

Yes, you can clean AI code artifacts by applying slop detection across staged changes, commits, or branches. This diff refinement process removes inconsistent formatting and stray code smells to output a concise, production-quality patch.

What's the best way to prepare a pull request with AI-generated code?

The best way to prepare a pull request with AI-generated code is to run a diff cleaning process before merging. This enforces style by referencing an anti-patterns guide and removes extraneous artifacts so reviewers can trust the patch.

Does cleaning AI slop from code changes require any external dependencies?

No, cleaning AI slop from code changes does not require any external dependencies. The process operates directly on your outstanding changes, commits, or branches to detect and remove AI artifacts without needing additional modules.