deslop

Removes AI-generated clutter from JavaScript and TypeScript codebases while preserving behavior.

2.6k|204|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cursor/plugins --skill deslop-cursor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/cursor/plugins/tree/main/cursor-team-kit/skills/deslop
Command: npx skills add https://github.com/cursor/plugins --skill deslop-cursor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated code slop from a repository to restore clean, consistent coding style.

Core Features & Use Cases

  • Targeted cleanup that removes unnecessary AI-generated comments and inconsistent style
  • Safe refactor support that simplifies deeply nested blocks without changing behavior
  • Use Case: during code review, run a cleanup pass on a feature branch to produce a maintainable baseline

Quick Start

Run a targeted cleanup on the current branch to remove AI-generated slop and restore consistent code style.

Frequently Asked Questions about deslop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up AI-generated code and restore consistent style in a JavaScript project?▼

To clean up AI-generated code slop in a JavaScript project, run a targeted cleanup pass that removes unnecessary comments, odd defensive checks, and excessive casts. This process preserves behavior while enforcing project style guidelines.

What is AI-generated code slop and how does it affect a TypeScript codebase?▼

AI-generated code slop consists of unnecessary comments, odd defensive checks, and excessive type casts that clutter a TypeScript codebase. Removing this slop restores a clean, consistent coding style and produces a maintainable baseline for future development.

How do I safely refactor AI-generated code without changing its behavior?▼

You can safely refactor AI-generated code by simplifying deeply nested blocks and removing redundant style artifacts. This approach produces a minimal, auditable diff that ensures the original behavior is preserved while restoring consistent project style.

Can I run a code cleanup pass on a feature branch during a code review?▼

Yes, you can run a code cleanup pass on a feature branch during code review to remove AI-generated slop. This creates a maintainable baseline by enforcing adherence to project style guidelines while producing an auditable diff.

Does this cleanup tool support both JavaScript and TypeScript projects?▼

Yes, the cleanup tool explicitly supports both JavaScript and TypeScript projects. It targets inconsistent style, unnecessary comments, and excessive casts specific to these environments to restore a clean codebase.