deslop

Remove unnecessary AI-injected comments and defensive checks from source code files.

408|65|Updated Dec 12, 2024
One-click install
npx skills add https://github.com/deadlock-mod-manager/deadlock-mod-manager --skill deslop-deadlock-mod-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/deadlock-mod-manager/deadlock-mod-manager/tree/main/.agents/skills/deslop
Command: npx skills add https://github.com/deadlock-mod-manager/deadlock-mod-manager --skill deslop-deadlock-mod-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps developers identify and remove unnecessary or inconsistent AI-generated comments, checks, and style deviations in code files to improve readability and quality.

Core Features & Use Cases

  • Code cleanup: Detects and removes extraneous comments or defensive checks introduced unexpectedly by AI or automation.
  • Style consistency: Ensures code aligns with standard styling guidelines by eliminating style inconsistencies.
  • Use Case: Developers review a branch containing AI-injected code comments and want to automate removing redundant or inconsistent code fragments for cleaner code before merging.

Quick Start

Use the deslop skill to scan and clean AI slop from your code files in the current branch.

Frequently Asked Questions about deslop

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

FAQPage Schema
How do I remove AI-generated comments from my source code files?

AI slop in code refers to unnecessary AI-injected comments, defensive checks, and style deviations that reduce readability. It is identified by analyzing code diffs and style patterns to recommend minimal, precise modifications for cleanup and refactoring workflows.

How do I clean up style inconsistencies introduced by AI code generation?

You can clean up style inconsistencies introduced by AI code generation by scanning your code files to detect deviations from standard styling guidelines and eliminating style inconsistencies for improved code quality and maintainability.

What is the best way to automate code cleanup before merging a branch with AI-generated code?

The best way to automate code cleanup before merging is to use a tool that analyzes code diffs and style patterns to detect and remove redundant AI-injected code fragments, ensuring your branch contains clear, maintainable files.

Does removing AI slop from code require analyzing code diffs?

Yes, removing AI slop from code requires analyzing code diffs and style patterns to accurately identify unnecessary AI-injected comments and defensive checks, allowing the system to recommend minimal and precise modifications.

Can I use deslop for code review workflows to maintain code clarity?

Yes, you can use deslop in code review workflows to maintain code clarity by identifying and removing unnecessary AI-generated comments, checks, and style deviations from source code files, improving overall readability and quality.