ai-slop-cleaner

Automate regression-tests-first cleanup of AI-generated code smells.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduce AI-generated slop by applying a regression-tests-first, smell-by-smell cleanup workflow that preserves behavior and raises signal quality.

Core Features & Use Cases

  • Scoped, bounded cleanup: operate on a defined set of changed files or feature area to avoid broad rewrites.
  • Structured smell handling: categorize issues as duplication, dead code, boundary violations, naming/clarity, and missing tests, and address them one pass at a time.
  • Ralph workflow integration: run cleanup inside the Ralph changed-files workflow with explicit planning and verification.
  • Evidence-driven finish: emit an audit-ready report detailing changes, tests, and remaining risks.

Quick Start

Outline a bounded cleanup plan for the provided changed files and execute the passes one smell at a time.

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 clean up AI-generated code slop safely, you need a regression-tests-first workflow that performs smell-by-smell passes on a bounded set of files, ensuring minimal diffs and behavior preservation before committing changes.

What is a bounded scope cleanup workflow for refactor tasks?

A bounded scope cleanup workflow restricts refactoring to a defined set of changed files or feature areas, categorizing issues like dead code and duplication into structured passes to avoid broad, uncontrolled rewrites.

How do I refactor code smells one pass at a time?

You refactor code smells one pass at a time by categorizing issues into duplication, dead code, boundary violations, and naming clarity, then addressing each category sequentially while running lint and type checks.

Do I need regression tests before cleaning up dead code and duplication?

Yes, explicit regression tests are required before cleaning up dead code and duplication to verify that the refactor preserves the original behavior and produces an audit-ready report of remaining risks.

What's the best way to reduce AI slop in scoped code edits?

The best way to reduce AI slop in scoped edits is to integrate a changed-files workflow that requires a bounded cleanup plan, explicit verification, and minimal diffs before any code quality improvements are committed.

When should I not use a bounded cleanup workflow for refactoring?

You should not use a bounded cleanup workflow when you lack explicit regression tests or when the refactoring task requires a broad rewrite that exceeds the defined set of changed files in your feature area.