Autonomous Code Cleanup

•
2
•

Orchestrates multi-agent pipelines to refactor code, eliminate dead code, and reduce complexity while ensuring behavior preservation through automated testing.

The cleanup skill is a high-performance orchestration pipeline designed for systematic technical debt reduction. It utilizes import-graph-based chunking to dispatch parallel optimizer and reviewer agents, allowing for safe and efficient refactoring across large scopes. By integrating automated 'Blast Radius' analysis and mandatory verification loops using your project's existing tests and linters, it ensures that code quality improves without introducing regressions. It is the ideal tool for developers looking to prune unused imports, simplify complex logic, and maintain a clean, performant codebase autonomously.

主要功能

01Integrated verification loops with tests and linters after every batch
022 GitHub stars
03Import-graph-based chunking for safe, multi-file refactoring
04Automated Blast Radius analysis to compute downstream impact and risk
05Parallel agent orchestration with mirrored optimizer and reviewer roles
06Interactive approval gate with cost estimation and detailed scan reports

使用场景

01Systematic reduction of cyclomatic complexity in legacy modules
02Pre-PR cleanup to align code with best practices and minimize technical debt
03Large-scale removal of dead code and unused imports across multiple directories