mcpField
D
deslop

deslop

github.com/brianlovinDevelopment3795.6k installsUpdated 31w ago
Repository

About deslop

deslop is a coding skill for reviewing a branch diff against main and removing AI-generated code changes that do not fit the surrounding codebase. It focuses on style and unnecessary code rather than adding functionality.

Key features

  1. 01Review branch diff against main
  2. 02Remove inconsistent comments
  3. 03Trim abnormal defensive checks
  4. 04Remove casts used to bypass types
  5. 05Report a brief change summary

Use cases

  1. 01Clean up a branch before review
  2. 02Align generated edits with local style

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/brianlovin/agent-config --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 all AI generated slop introduced in this branch.

This includes:

  • Extra comments that a human wouldn't add or is inconsistent with the rest of the file
  • Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
  • Casts to any to get around type issues
  • Any other style that is inconsistent with the file

Report at the end with only a 1-3 sentence summary of what you changed

Comments

Markdown supported