The Code Refactor Expert skill provides a structured, multi-step framework for enhancing the quality of existing codebases. By guiding Claude through rigorous impact analysis, dependency mapping, and incremental execution, it ensures that technical debt is reduced while strictly preserving original behavior. It is designed to help developers systematically apply the Single Responsibility Principle (SRP) and Don't Repeat Yourself (DRY) patterns, making complex systems more readable, modular, and easier to test.
主要功能
01Comprehensive impact analysis and dependency mapping
02Verification against existing test suites to ensure stability
03Risk-assessed refactoring plans with behavior preservation
04Automated application of SRP and DRY principles
0518 GitHub stars
06Small, incremental execution steps with atomic commits
使用场景
01Modularizing monolithic functions into smaller, testable units
02Eliminating logic duplication across multiple files or services
03Enhancing code readability and structure during maintenance cycles