ai-slop-cleaner

Clean AI-generated code slop with regression-tests-first bounded passes.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/YeaChan05/Remittance --skill ai-slop-cleaner-yeachan05
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/YeaChan05/Remittance/tree/main/.codex/skills/ai-slop-cleaner
Command: npx skills add https://github.com/YeaChan05/Remittance --skill ai-slop-cleaner-yeachan05

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Bounded scope: operate on Ralph's changed files or a user-specified scope to limit risk and impact.
  • Structured passes: execute passes in a defined order (dead code deletion, duplicate removal, naming/error handling cleanup, test reinforcement).
  • Comprehensive planning & verification: create a cleanup plan, run targeted edits, and validate with regression tests to ensure behavior stays stable.

Quick Start

Provide the changed-files scope to Ralph and start the regression-first cleanup workflow in bounded passes.

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?

To clean up AI generated code safely, enforce a regression-tests-first workflow that validates behavior after every edit. This approach runs bounded cleanup passes on changed files and verifies stability with targeted regression tests.

What is the best way to remove dead code and duplicates from noisy AI code paths?

The best way to remove dead code and duplicates is through structured cleanup passes executed in a defined order. This workflow targets bloated code paths by explicitly categorizing code smells before performing scoped edits.

How does a regression-first cleanup workflow handle code refactoring?

A regression-first cleanup workflow handles refactoring by creating a structured cleanup plan, running targeted edits for specific code smells, and validating the results with regression tests to ensure behavior stays stable.

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

Yes, you can scope AI code cleanup to only changed files or a user-specified scope. Bounding the cleanup scope limits risk and impact by preventing the workflow from modifying unrelated code paths.

What steps are involved in an automated code quality cleanup pass?

An automated code quality cleanup pass involves dead code deletion, duplicate removal, and naming or error handling cleanup. These passes are executed in a defined order and conclude with test reinforcement and an evidence-dense finish report.