deslop
Remove AI-generated code slop and clean up code style
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
git clone https://github.com/cursor/plugins /tmp/plugins && ln -s /tmp/plugins/cursor-team-kit/skills/deslop ~/.claude/skills/deslop
From 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).
More from this repo
check-compiler-errors
Used to run compile and type-check commands and report failures
control-cli
Used to build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external...
control-ui
Used to build or adapt a local browser/CDP harness to drive and inspect a web, IDE, or Electron UI.