ai-slop-cleaner

Identify and remove AI-generated slop in changed files using a regression-tests-first cleanup workflow.

6|1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/Goblin1024/oh-my-kimi --skill ai-slop-cleaner-goblin1024
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/Goblin1024/oh-my-kimi/tree/main/skills/ai-slop-cleaner
Command: npx skills add https://github.com/Goblin1024/oh-my-kimi --skill ai-slop-cleaner-goblin1024

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduce AI-generated slop in code changes by enforcing a regression-tests-first cleanup workflow and a plan-first approach that preserves behavior.

Core Features & Use Cases

  • Regression-tests-first cleanup to protect behavior during refactors
  • Scoped to changed-files for Ralph-style workflows
  • Structured passes with explicit planning, categorization, and evidence-dense reporting
  • Finish with an auditable report that documents changes and remaining risks

Quick Start

Provide a bounded cleanup plan for the given changed files using a regression-tests-first approach and execute the first cleanup pass

Frequently Asked Questions about ai-slop-cleaner

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

FAQPage Schema
How do I clean up AI-generated code slop without breaking existing behavior?

To remove AI-generated slop safely, enforce a regression-tests-first workflow that validates behavior preservation. Scope cleanup strictly to changed files, execute structured multi-pass refactoring, and finish with an auditable report documenting all modifications and remaining risks.

What is a structured cleanup workflow for refactoring AI-generated code?

A structured cleanup workflow enforces a strict planning phase before any code changes. It categorizes AI slop, bounds scope to changed files, runs defined multi-pass refactoring with regression tests, and produces an evidence-dense report documenting modifications and risks.

Can I refactor only the changed files to remove AI slop?

Yes, you can bound the cleanup scope strictly to changed files. This Ralph-style workflow targets only the modified code, applying regression tests and lint checks to ensure that refactoring removes AI slop without introducing regressions elsewhere.

How do I audit code quality after removing AI-generated slop?

You audit code quality after slop removal by generating a concise, evidence-dense report. This final report documents the specific cleanup passes executed, the changes made, and any remaining risks identified during the regression-tests-first workflow.

When should I use a regression-tests-first approach for code refactoring?

Use a regression-tests-first approach when cleaning AI-generated slop to guarantee behavior preservation. It is necessary when refactoring changed files, ensuring that multi-pass cleanup, lint, and type checks do not inadvertently break existing application logic.