slop

Remove AI-generated code slop from git diffs during branch review.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/suwandre/my-codex-config --skill slop-suwandre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slop
Source: https://github.com/suwandre/my-codex-config/tree/main/skills/slop
Command: npx skills add https://github.com/suwandre/my-codex-config --skill slop-suwandre

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Removes AI-generated code slop from git diffs to maintain code quality.

Core Features & Use Cases

  • Detects and removes inconsistent AI-generated changes from diffs without altering functionality.
  • Enforces project conventions to improve readability and maintainability of code.
  • Use Case: during branch review, clean up noisy AI-driven modifications before merging.

Quick Start

Run /slop main to clean the AI slop from the current branch diff.

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 changes from a git diff before merging?

To remove AI-generated code changes from a git diff before merging, run a diff cleanup tool against your target branch to strip noisy modifications while preserving core functionality. This enforces project conventions to improve code readability.

What is AI code slop in a repository diff?

AI code slop refers to inconsistent, noisy modifications generated by AI tools that clutter repository diffs. Cleaning this slop during branch review ensures the final merged code maintains established project conventions without altering functionality.

Can I clean up noisy AI refactoring across multiple branches without altering functionality?

Yes, you can clean up noisy AI refactoring across multiple branches by applying deterministic diff cleanup rules. This process removes unnecessary AI-generated changes from the codebase while strictly preserving the original functionality.

Does diff cleanup enforce existing project conventions during code review?

Yes, diff cleanup enforces existing project conventions during code review by filtering out inconsistent AI-generated changes. This maintains code quality and readability across the repository without modifying the underlying logic.

What is the best way to clean AI slop from a current branch diff?

The best way to clean AI slop from a current branch diff is to run a dedicated cleanup command targeting your main branch. This removes unnecessary AI-generated modifications while applying deterministic project conventions.