About
The Code Refactor skill automates the systematic improvement of your codebase without altering its external behavior. It identifies opportunities to apply DRY principles, simplify complex logic, and improve naming conventions while following a strict test-driven workflow. By integrating with existing test suites and static analysis tools, it ensures that every optimization—from splitting bloated functions to removing magic numbers—is verified for safety, making it an essential tool for managing technical debt and improving long-term project health.