ai-slop-cleaner

Enforce a regression-tests-first cleanup workflow on AI-generated code.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/byonk19-svg/rt-scheduler --skill ai-slop-cleaner-byonk19-svg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/byonk19-svg/rt-scheduler/tree/main/.codex/skills/ai-slop-cleaner
Command: npx skills add https://github.com/byonk19-svg/rt-scheduler --skill ai-slop-cleaner-byonk19-svg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduce AI-generated slop by enforcing a regression-tests-first cleanup workflow that preserves behavior.

Core Features & Use Cases

  • Structured, bounded cleanup passes targeting smells like duplication, dead code, and loose boundaries
  • Scoped to changed files or specified feature areas to minimize risk and maximize signal
  • Evidence-driven verification with regression tests, lint, and typecheck gates

Quick Start

Apply a bounded cleanup to the changed files using the regression-tests-first workflow.

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 without breaking existing behavior?

You can remove AI-generated slop by enforcing a regression-tests-first cleanup workflow that preserves behavior. This method applies structured passes targeting dead code and duplication while using verification gates to prevent regressions.

What is the best way to refactor code affected by AI generation?

The best way to refactor AI-affected code is a six-pass cleanup process with evidence collection. This workflow scopes changes to specific feature areas or modified files, minimizing risk while targeting code smells and loose boundaries.

Can I scope AI code cleanup to only the files I recently changed?

Yes, you can scope AI code cleanup to changed files or specified feature areas to minimize risk and maximize signal. This bounded approach ensures the refactoring process targets only the relevant parts of your codebase.

How does a test-first cleanup workflow handle dead code and duplication?

A test-first cleanup workflow handles dead code and duplication through structured bounded passes. It enforces regression tests, lint, and typecheck gates as verification checkpoints to safely remove AI slop while collecting evidence of preserved behavior.

What risks should I anticipate when removing AI slop from my codebase?

When removing AI slop, anticipate boundary issues and potential behavior regressions. A six-pass cleanup workflow mitigates these risks by enforcing verification gates and providing a final report detailing all changes and associated risks.