Advanced Code Refactoring

•
7
•

Safely restructures code, renames entities, and updates downstream dependencies across any programming language with automated verification.

The Advanced Code Refactoring skill empowers Claude to perform complex structural changes to codebases with a focus on safety and consistency. It automates the tedious aspects of refactoring—such as finding all callers, updating interfaces, and managing imports—while maintaining project integrity through a rigorous multi-step process. Whether you're renaming a class in a monorepo, moving methods across modules, or changing API signatures, this skill ensures that all references are updated and verified using the project's native quality tools and test suites.

Key Features

01Cross-language support for updating type hints, annotations, and import blocks
02Integrated API layer synchronization including route, validator, and response updates
03Deep integration with quality tools like PHPStan, ESLint, Mypy, and Cargo check
04Comprehensive dependency mapping to identify all affected callers and interfaces
05Structured test verification with user-approved changes for breaking updates
067 GitHub stars

Use Cases

01Moving logic between modules or namespaces while maintaining service container bindings
02Renaming core classes or methods and automatically updating all global references
03Restructuring API endpoints and updating associated controllers, schemas, and documentation