This catches the telltale signs of AI-generated code before they make it into your codebase. It scans your branch diff for unnecessary comments, defensive try/catch blocks on trusted paths, lazy `any` casts, and overly nested logic that should use early returns. The goal is to maintain consistency with your existing code style rather than letting LLM habits creep in. It's most useful as a pre-commit sanity check when you've been leaning heavily on AI assistance and want to ensure the output matches your team's patterns. Keeps edits minimal and behavior unchanged unless there's an actual bug.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
8
skills.sh installs
10.2K
GitHub stars
15.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add cursor/plugins --skill deslop --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/cursor/plugins
Categories
Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

More from cursor/plugins

All 47
1ljagiello avatarctf-pwnljagiello/ctf-skillsProvides binary exploitation techniques for CTF challenges. Use when you already have a vulnerable native target or service and need to turn memory corruption o10.1Kskills.sh installs
2wshobson avatarteam-communication-protocolswshobson/agentsStructured messaging protocols for agent team communication including message type selection, plan approval, shutdown procedures, and anti-patterns to avoid. Us10Kskills.sh installs
3github avatarpowerbi-modelinggithub/awesome-copilotPower BI semantic modeling assistant for building optimized data models. Use when working with Power BI semantic models, creating measures, designing star schem10Kskills.sh installs
4agricidaniel avatarseoagricidaniel/claude-seoComprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability, indexability, Core Web Vitals 10Kskills.sh installs
5github avatarimage-manipulation-image-magickgithub/awesome-copilotProcess and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with im9.8Kskills.sh installs
6github avatarplantuml-asciigithub/awesome-copilotGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or mentions 9.8Kskills.sh installs