Deslop

by cursorccb5507cec15No license10K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Remove AI-generated code slop and clean up code style

Instructions onlySoftware Development
AI-generated overview

Reviews a branch diff against main and removes AI-generated code slop while preserving behavior.

What it does
The skill inspects the diff between the current branch and main and cleans up AI-generated code slop. It targets unnecessary or stylistically inconsistent comments, abnormal defensive checks and try/catch blocks, casts to any used only to bypass type issues, and deeply nested code that should use early returns. Edits are meant to be minimal and focused, keeping behavior unchanged unless fixing a clear bug, and it ends with a concise 1-3 sentence summary.
When to use it
Use it after AI-assisted coding on a branch, when the diff contains noisy comments, redundant defensive code, or type-bypassing casts. It suits a final cleanup pass before review or merge, not broad refactoring.
Requirements
Requires access to the repository and its git history so the branch diff against main can be inspected. It ships no scripts; it is instructions only.

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).

Source and attribution

Source:cursor/pluginsincursor-team-kit/skills/deslopat commitccb5507

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal