Refactor Orchestrator
Orchestrates complex multi-target code and documentation refactoring with automated quality gates and safety checks.
The Refactor skill is a sophisticated tool for systemic code improvement, enabling developers to automate the cleanup of messy codebases and documentation. It features an intelligent auto-mode that identifies optimal refactoring targets based on complexity and change frequency, while enforcing strict behavioral gates and review loops to ensure that changes maintain functional integrity without regressions. By integrating with existing test suites and linting workflows, it provides a safe, fail-closed environment for reducing technical debt across large projects.
Key Features
01Intelligent target detection using complexity and change frequency metrics
02Multi-round review loops for both code and documentation to ensure high quality
03Comprehensive reporting with per-target result tables and project health deltas
04Automated behavioral gates that verify code functionality before and after changes
05Support for batch refactoring across entire directories or specific file paths
06164 GitHub stars
Use Cases
01Systematically restructuring documentation and removing AI-generated artifacts
02Cleaning up technical debt in high-complexity legacy modules
03Improving codebase maintainability through automated simplification and linting