slop

Remove AI-generated comments, defensive checks, and type-casts from git diffs.

114|13|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/jellydn/my-ai-tools --skill slop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slop
Source: https://github.com/jellydn/my-ai-tools/tree/main/skills/slop
Command: npx skills add https://github.com/jellydn/my-ai-tools --skill slop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams maintain clean, readable diffs by removing AI-generated slop from code changes, preserving functionality while improving clarity.

Core Features & Use Cases

  • Identify and remove extraneous comments and unusual patterns introduced by AI tools
  • Standardize code style by removing unnecessary try/catch blocks, or awkward type-casts
  • Use Case: before merging a feature branch, run this Skill to produce a clean diff free of AI noise

Quick Start

Use the slop command to clean the current branch: /slop main

Frequently Asked Questions about slop

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

FAQPage Schema
How do I remove AI-generated code slop from git diffs?

To remove AI-generated code slop from git diffs, use the slop command to clean the current branch. It identifies and strips extraneous comments, defensive checks, and awkward type-casts while preserving functionality.

What is AI code slop in a codebase?

AI code slop refers to unnecessary comments, unusual patterns, redundant try/catch blocks, and awkward type-casts introduced by AI tools. It clutters git diffs and obscures actual functional changes during code reviews.

Can I clean a feature branch diff before merging to main?

Yes, you can clean a feature branch diff before merging by running the slop command against main. It applies across feature branches and mainline comparisons to produce a clean, readable diff.

What's the best way to enforce project standards against AI code noise?

The best way to enforce project standards against AI code noise is to run the slop command before merging. It standardizes code style by removing unnecessary defensive checks and type-casts introduced by AI tools.

Does removing AI slop from git diffs preserve code functionality?

Yes, removing AI slop from git diffs preserves code functionality. The skill targets only extraneous comments, defensive checks, and type-casts, ensuring the operational logic of the codebase remains intact.