What problem does it solve?
This Skill automates the process of refactoring codebases by identifying areas for improvement, proposing changes, and executing them with user approval, ensuring code quality and maintainability.
Core Features & Use Cases
- Automated Code Analysis: Detects code smells, complexity issues, and potential improvements based on defined criteria.
- Team-based Refactoring: Orchestrates multiple AI agents (Analyzer and Refactorer) to perform refactoring tasks.
- User-Approved Changes: Presents proposed changes to the user for explicit approval before execution.
- Test Integration: Runs automated tests after refactoring to ensure no functional regressions.
- Use Case: Improve the readability and maintainability of a legacy Python module by identifying and fixing duplicated code, simplifying complex functions, and standardizing naming conventions.
Quick Start
Use the refactor-team skill to analyze and refactor the code in the current project.