mcpField
D
deslop

deslop

github.com/ericlitmanDevelopment53227 installsUpdated 1w ago
Repository

About deslop

A code-cleanup skill that reviews branch changes against main and removes AI-generated clutter. It focuses on focused edits and preserves behavior unless fixing a clear bug.

Key features

  1. 01Review branch diff against main
  2. 02Remove unnecessary or inconsistent comments
  3. 03Simplify abnormal defensive code
  4. 04Replace type-bypassing any casts
  5. 05Keep behavior unchanged by default

Use cases

  1. 01Clean up AI-generated clutter in a branch
  2. 02Simplify nested code with early returns
  3. 03Review changes before sharing or merging

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ericlitman/open-pstack --skill deslop

After installing, type/deslopin Claude Code to confirm it loaded.

Details

From the project README

Remove AI code slop

Check the diff against main and remove AI-generated slop introduced in the branch.

Focus Areas

  • Extra comments that are unnecessary or inconsistent with local style
  • Defensive checks or try/catch blocks that are abnormal for trusted code paths
  • Casts to any used only to bypass type issues
  • Deeply nested code that should be simplified with early returns
  • Other patterns inconsistent with the file and surrounding codebase

Guardrails

  • Keep behavior unchanged unless fixing a clear bug.
  • Prefer minimal, focused edits over broad rewrites.
  • Keep the final summary concise (1-3 sentences).

Comments

Markdown supported