deslop

Removes unnecessary AI-generated code and enforces style via linting tools.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/jimCresswell/jimcresswell.net --skill deslop-jimcresswell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/jimCresswell/jimcresswell.net/tree/main/.cursor/skills/cursor-deslop
Command: npx skills add https://github.com/jimCresswell/jimcresswell.net --skill deslop-jimcresswell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the issue of "AI code slop" – extraneous, inefficient, or poorly formatted code that can be generated by AI models, making codebases harder to maintain.

Core Features & Use Cases

  • Code Cleanup: Removes unnecessary comments, redundant code, and improves formatting.
  • Style Enforcement: Ensures code adheres to a consistent style guide.
  • Use Case: After an AI assistant generates a complex function, use this Skill to refactor and clean the output, making it production-ready and easier to understand.

Quick Start

Use the deslop skill to clean up the code in the current file.

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 before committing it?

To clean up AI-generated code, you can use automated tools that remove redundant slop, enforce style guides, and refactor functions. This process ensures AI-assisted code becomes maintainable and meets production coding standards.

When do I need to refactor AI-generated code for maintainability?

You need to refactor AI-generated code for maintainability when an AI assistant produces complex functions with inconsistent formatting. Post-processing with automated tools ensures the output adheres to coding standards and is easier to understand.

Do I need code formatting and linting utilities to remove AI code slop?

Yes, removing AI code slop requires integration with code formatting and linting utilities. These tools apply automated style enforcement and cleanup rules to refactor the generated code into a production-ready state.

What is the best way to enforce code style on AI-assisted software development workflows?

The best way to enforce code style in AI-assisted workflows is applying automated post-processing tools that strip unnecessary comments and redundant code. This ensures consistent adherence to established style guides after AI generation.