deslop

Scan Git diffs against main and clean AI-generated code patterns.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated slop from code changes by scanning the diff against main and cleaning up AI-inserted or humanly unnecessary patterns introduced by AI assistants.

Core Features & Use Cases

  • Scan diff main...HEAD for AI slop categories such as unnecessary comments, excessive defensive checks, as-any casts, inconsistent style, and over-engineering.
  • Apply cleanup to changed files to align with existing code style and project conventions.
  • Provide a concise summary of changes for PR review.

Quick Start

Run the deslop workflow on your current branch to scan the diff and remove AI-generated slop while preserving 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 slop from a Git diff?

To clean up AI-generated code slop from a Git diff, scan the main...HEAD diff to remove unnecessary comments, excessive defensive checks, and as-any casts. This cleanup applies to changed files while preserving existing project conventions.

What is AI code slop in TypeScript and React projects?

AI code slop in TypeScript and React projects refers to AI-inserted patterns like unnecessary comments, as-any casts, inconsistent style, and over-engineering. These humanly unnecessary patterns are introduced by AI assistants during code generation.

How do I remove unnecessary defensive checks from a pull request?

To remove unnecessary defensive checks from a pull request, perform a diff-based cleanup against the main branch. This process validates build and lint steps while summarizing the changes for PR review.

Does deslop work with feature branches and pull requests?

Yes, deslop works with feature branches and pull requests by scanning the diff against main. It applies cleanup to changed files to align with existing code style and provides a concise summary of changes for PR review.

What is the best way to remove as-any casts from a TypeScript codebase?

The best way to remove as-any casts from a TypeScript codebase is to scan the Git diff for AI slop categories. This diff-based cleanup targets as-any casts and over-engineering, then validates the build and lint steps.

What are the limitations of automated AI code cleanup on large diffs?

Automated AI code cleanup on large diffs is limited to scanning the main...HEAD range for specific slop categories. It focuses on changed files to align with existing code style and validates build and lint steps, but may not catch all context-specific over-engineering.