Skip to content
Skillpedia
General coding15k · #10933

deslop

What it does

Lets the assistant clean up code that an AI tool wrote in your branch. It is for developers who want their code to look like the rest of the project.

When to use it

  • ✓When an AI tool left extra comments or unneeded checks in your branch.
  • ✓When you want code simplified with early returns instead of deep nesting.
  • ✓When you want to remove casts to any that were only used to hide type problems.

Skill link

https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/deslop/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/deslop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Clean up the AI-generated extras in my branch compared to main, but keep the behavior the same.”

5 new skills a week. 1 minute to read.

How it works

The assistant compares your branch with main and looks for clutter such as unnecessary comments, defensive checks and deep nesting. It makes small, focused edits that keep behavior unchanged, then gives a short summary.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

Will it change how my code works?

No. It keeps behavior unchanged unless it is fixing a clear bug.

Does it rewrite whole files?

No. It prefers minimal, focused edits over broad rewrites.

How long is the summary?

The final summary is kept short, about one to three sentences.

Details

Original description by the author

Remove AI-generated code slop and clean up code style

repo: cursor/plugins

Popularity

GitHub stars
15k
Ranking position
#10933
License
—
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills