Agent skill · software engineering · cursor
deslop
Remove AI-generated code slop and clean up code style
Why this skill is useful
Codifies a specific code cleanup procedure that the AI could infer but now doesn't have to guess.
What it needs
About 1k tokens when loaded. Last updated 2026-08-06. 2,555 stars on the source repository.
What this skill does
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).
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills cursor/deslop