소개
The Smart Code Refactor skill automates the complex process of improving code structure without altering external behavior. It follows a rigorous five-step workflow—Analyze, Plan, Refactor, Verify, and Report—to ensure high-quality outcomes. By integrating directly with popular test runners like npm, pytest, and cargo, it guarantees that refactored code remains functional before completion. Users receive a comprehensive report featuring side-by-side code comparisons and test results, making it an essential tool for maintaining clean, readable, and efficient codebases.