deslop

Remove AI-generated comments and defensive checks from the current branch.

Updated Sep 5, 2020
One-click install
npx skills add https://github.com/dtorras/dotfiles --skill deslop-dtorras
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/dtorras/dotfiles/tree/main/config/claude/skills/deslop
Command: npx skills add https://github.com/dtorras/dotfiles --skill deslop-dtorras

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

Core Features & Use Cases

  • Cleans AI-generated comments that don't align with project style
  • Strips extraneous defensive checks or try/catch blocks
  • Produces a clean, production-ready diff

Quick Start

Run deslop on the current branch to automatically prune AI slop and present a clean 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 comments from my branch before merging?▼

Remove AI-generated code comments by running a cleanup process on your current branch that strips extraneous comments and inconsistent style while preserving functional changes.

What is AI code slop and how do I clean it up during code review?▼

AI code slop is unnecessary comments, defensive checks, and inconsistent style generated by AI coding tools. Clean it up during code review by applying deterministic cleanup to produce a production-ready diff.

How do I strip extraneous defensive checks from AI-assisted code without losing functionality?▼

Strip extraneous defensive checks from AI-assisted code by running a cleanup tool that removes unnecessary try/catch blocks and defensive checks while deterministically preserving the underlying functional changes.

Can I clean up AI-generated code style across different programming languages?▼

Yes, you can clean up AI-generated code style across different languages and projects by applying a cleanup process wherever AI slop appears in your branch.

What is the best way to prepare an AI-assisted branch for a clean code review?▼

Prepare an AI-assisted branch for clean code review by pruning unnecessary comments, defensive checks, and inconsistent style to produce a clean, production-ready patch.

When should I not use automated code cleanup on my AI-generated branch?▼

Avoid using automated code cleanup when your branch contains intentional defensive checks or comments that align with project style, as the cleanup process deterministically removes extraneous AI-generated patterns.