deslop

Detect and remove debug statements, unused code, and placeholder comments from source code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RnR-DND/ARC-HAWK-DD --skill deslop-rnr-dnd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/RnR-DND/ARC-HAWK-DD/tree/main/.agent/agentsys/.kiro/skills/deslop
Command: npx skills add https://github.com/RnR-DND/ARC-HAWK-DD --skill deslop-rnr-dnd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers clean unnecessary AI-generated slop from their codebase, including debug statements, temporary placeholders, and ghost code, improving code hygiene and maintainability.

Core Features & Use Cases

  • Code Cleanup: Automatically detects and reports debug logs, placeholder texts, and unused imports.
  • Auto-Fix Capability: Removes or annotates identified slop items for faster cleanup.
  • Use Case: A developer running a code review or preparing production code can scan their project directory for debug statements and remove them with a single command, ensuring a cleaner codebase.

Quick Start

Run the deslop skill to scan your repository and generate a report of findings to clean up debug artifacts and ghost code.

Frequently Asked Questions about deslop

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

FAQPage Schema
How do I automatically remove debug statements and placeholder comments from my source code?

To automatically remove debug statements and placeholder comments from source code, you can scan your project directory using static analysis scripts and regex patterns. This process detects and removes debug logs, temporary placeholders, and ghost code to improve code hygiene.

What is ghost code and how do I clean it from a large codebase?

Ghost code refers to unused code and temporary placeholders left in source files. You can clean it from a large codebase by running automated static analysis CLI tools that inspect the project, report unused imports, and apply fixes to enhance overall code quality.

Can I use static analysis scripts to find unused imports and debug logs across an entire project?

Yes, you can use static analysis scripts to find unused imports and debug logs across an entire project. The scripts utilize regex patterns and CLI tools for comprehensive inspection, generating a report of findings or directly applying automated fixes to detected issues.

What's the best way to scan a repository for AI-generated slop before a code review?

The best way to scan a repository for AI-generated slop before a code review is to run an automated cleanup tool that detects debug logs, placeholder texts, and unused imports. It generates a report of findings so you can remove artifacts and ensure a cleaner codebase.

Does automated code cleanup work for large codebases requiring thorough inspection?

Yes, automated code cleanup works for large codebases requiring thorough inspection. It applies static analysis across the project directory to detect debug statements and ghost code, supporting automated fixing of identified issues through CLI tools and regex patterns.

Why do I need to remove debug statements and ghost code before production deployment?

You need to remove debug statements and ghost code before production deployment to improve code hygiene and maintainability. Cleaning unnecessary AI-generated slop, temporary placeholders, and unused imports ensures a cleaner codebase and higher overall code quality.