AI Slop Cleaner
技能 已验证 活跃Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
To provide a safe and effective workflow for refining AI-generated code, ensuring it is clean, maintainable, and retains its intended behavior without introducing regressions.
功能
- Deletes AI code bloat with a deletion-first approach
- Preserves intended behavior via regression tests
- Optional reviewer-only mode for inspection
- Integrates with existing workflows like Ralph
- Supports scoped file lists for targeted cleanup
使用场景
- Cleaning up noisy or repetitive AI-generated code
- Refactoring code that feels overly abstracted or has boundary leaks
- Performing a post-review cleanup pass on generated code
- Ensuring AI-generated code adheres to quality standards before merging
非目标
- Introducing new features or major product changes
- Performing broad architectural redesigns
- Generic refactoring without simplification or anti-slop intent
- Cleaning code where behavior is too unclear to verify
工作流
- Protect current behavior with regression tests
- Write a cleanup plan detailing smells and order of operations
- Classify the type of AI slop (duplication, dead code, etc.)
- Run focused, smell-specific cleanup passes
- Run quality gates (tests, linting, typechecking)
- Report findings with evidence and remaining risks
实践
- Code Quality
- Regression Testing
- Workflow Automation
- Code Review
先决条件
- Claude Code CLI
- Claude Max/Pro subscription OR Anthropic API key
- tmux (for certain features like rate-limit detection)
安装
请先添加 Marketplace
/plugin marketplace add Yeachan-Heo/oh-my-claudecode/plugin install oh-my-claudecode@omc质量评分
已验证类似扩展
Moyu (摸鱼)
100감지된 과잉 엔지니어링 패턴: (1) 사용자가 명시적으로 요청하지 않은 코드나 파일을 수정할 때 (2) 요청되지 않은 새로운 추상화 계층(클래스, 인터페이스, 팩토리, 래퍼)을 생성할 때 (3) 요청되지 않은 주석, 문서, JSDoc, 타입 주석을 추가할 때 (4) 요청되지 않은 새로운 종속성을 도입할 때 (5) 최소 편집 대신 파일 전체를 다시 작성할 때 (6) diff 범위가 사용자의 요청을 명백히 초과할 때 (7) 사용자가 "너무 많아", "거기는 건드리지 마", "X만 변경해", "간단하게", "그만"과 같은 신호를 보낼 때 (8) 발생할 수 없는 시나리오에 대한 오류 처리, 유효성 검사, 방어적 코드를 추가할 때 (9) 요청되지 않은 테스트, 설정 스캐폴딩, 문서를 생성할 때
Cleanup Cycles
100Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".
Fixflow
100使用严格的交付工作流执行编码任务:构建完整计划、分步实现、持续运行测试,并默认在每一步 (`per_step`) 后提交。当用户要求行为驱动交付或需求不明确时,支持显式提交策略覆盖 (`final_only`, `milestone`) 和可选的 BDD(给定/当/则)。
Coding Standards
100Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.
Migrate Validate
100Validate pending migrations for foreign key consistency, rollback safety, and best practices
Semgrep Rule Creator
100Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.