# Deslop

Remove AI-generated code slop and clean up code style

- Repository: https://github.com/cursor/plugins (15000 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add cursor/plugins --skill deslop -g -a claude-code -y`
Codex: `npx skills add cursor/plugins --skill deslop -g -a codex -y`
Cursor: `npx skills add cursor/plugins --skill deslop -g -a cursor -y`
Gemini CLI: `npx skills add cursor/plugins --skill deslop -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add cursor/plugins`

## Description

Remove AI-generated code slop and clean up code style

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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

