deslop

Remove AI-generated code slop from diffs or entire repositories.

3|1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/heyAyushh/stacc --skill deslop-heyayushh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/heyAyushh/stacc/tree/main/configs/commands/skills/deslop
Command: npx skills add https://github.com/heyAyushh/stacc --skill deslop-heyayushh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated slop from codebases to improve readability, maintainability, and consistency. It targets AI-written patterns, extraneous comments, and brittle defensive checks that degrade code quality.

Core Features & Use Cases

  • Diff-driven cleanup: compare the current branch against main and remove AI slop from changed files.
  • Global cleanup: if the diff is empty against main, scan the entire repository for AI slop and report findings.
  • Style normalization: remove unnecessary comments and defensive patterns to align with project conventions.

Quick Start

Apply the deslop process on the active branch to remove AI slop and produce a concise 1-3 sentence summary of changes.

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 code slop from my feature branch?

To remove AI-generated code slop from a feature branch, clean the diffs against the main branch. This process targets AI-written patterns, extraneous comments, and brittle defensive checks, returning a concise 1-3 sentence summary of changes.

What is AI code slop and how does it affect code quality?

AI code slop consists of extraneous comments, unnecessary defensive patterns, and inconsistent style generated by AI tools. Removing this slop improves codebase readability, maintainability, and consistency by aligning code with standard project conventions.

Can I scan an entire repository for AI slop if the branch diff is empty?

Yes, if the diff against main is empty, the repository is globally scanned for AI slop. This global cleanup reports findings across the entire codebase to ensure all AI-written code is standardized.

How do I clean up unnecessary defensive code patterns introduced by AI?

Clean up unnecessary defensive code patterns by applying style normalization to the active branch. This enforces the removal of brittle defensive checks and extra comments, aligning the codebase with project conventions.

Does this code cleanup process work with existing coding standards?

Yes, the cleanup process enforces style normalization to align with existing project conventions. It removes unnecessary comments and defensive patterns to ensure AI-written code matches the repository's established coding standards.

What changes can I expect after applying AI slop removal to my codebase?

After applying AI slop removal, expect a cleaned codebase with normalized style and removed extraneous comments. The process concludes by returning a concise 1-3 sentence summary detailing the applied changes.