Skill detail

deslop

Checks the diff against main and removes AI-generated code slop such as unnecessary comments, defensive checks, and any casts.

Why we recommend it: From Cursor's plugin repo; removes AI code slop from a branch diff, adjacent to Cursor's Edit code/Verify facets.

MatchPossibleRecommended for Cursor
Sourcecursor/​pluginsExternal source
Reported installs8,077Popularity signal only

Inspect before use

Read the source instructions and check the requirements before you install this skill.

Saved source preview

SKILL.md

The saved excerpt is a snapshot from when this skill was listed. The external source remains the complete and most current version.

---
name: deslop
description: Remove AI-generated code slop and clean up code style
---

# 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).
Read the full source on GitHub (opens external page)
Context

Related work