deslop

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

145|21|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/alfredolopez80/multi-agent-ralph-loop --skill deslop-alfredolopez80
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/alfredolopez80/multi-agent-ralph-loop/tree/main/.claude/skills/deslop
Command: npx skills add https://github.com/alfredolopez80/multi-agent-ralph-loop --skill deslop-alfredolopez80

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated slop from a branch by stripping unnecessary comments, defensive checks, and type casts, ensuring the codebase stays clean and consistent with main.

Core Features & Use Cases

  • Remove AI-generated slop from code branches by diffing with main and applying style-consistency rules.
  • Clean up extraneous comments and defensive checks introduced by AI tools.
  • Ensure resulting code adheres to project style and reduces risk of unintended behavior.

Use Case: When a feature branch contains AI-generated scaffolding that deviates from the team's style, run this skill to clean up the diff against main and produce a cleaner, safer patch.

Quick Start

Review the diff against main and remove AI-generated slop to produce a clean, style-consistent patch.

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 a feature branch?

To remove AI-generated code slop from a feature branch, diff the branch against main to identify and strip extraneous comments, defensive checks, and type casts, producing a cleaned patch that preserves functionality and adheres to project style.

What is AI code slop and how does it affect codebase consistency?

AI code slop consists of unnecessary boilerplate comments, defensive checks, and inline imports introduced by AI tools. It affects codebase consistency by deviating from team style standards, requiring diff analysis and cleanup to maintain project quality during refactoring.

How do I clean up AI-generated boilerplate without changing functionality?

Clean up AI-generated boilerplate without changing functionality by applying style-consistency rules to the repository diff, removing extraneous scaffolding while outputting a safe, cleaned patch that maintains the original operational behavior.

Can I use diff analysis to strip unnecessary comments from AI-generated code?

Yes, you can use diff analysis against the main branch to identify and strip unnecessary comments from AI-generated code, ensuring the resulting patch aligns with project standards and reduces the risk of unintended behavior.

When should I clean up AI scaffolding during code review?

Clean up AI scaffolding during code review when a feature branch contains AI-generated boilerplate or extraneous comments that deviate from team style, ensuring the merged code maintains project consistency and safety.

What are common AI slop patterns to look for in a repository diff?

Common AI slop patterns to look for in a repository diff include extraneous comments, unnecessary defensive checks, redundant type casts, and inline imports that disrupt codebase style consistency and require removal.