Refactor code with safety checks and pattern application. Use when user says "refactor this code", "clean up this function", "simplify this logic", "extract this into a separate function", "apply the strategy pattern here", "reduce the complexity of this module", or "reorganize this file structure".
/plugin marketplace add Uniswap/ai-toolkit/plugin install development-codebase-tools@uniswap-ai-toolkitThis skill is limited to using the following tools:
Orchestrate sophisticated refactoring through multi-agent coordination with safety checks.
| Strategy | Risk | Use When |
|---|---|---|
| Safe (default) | Low | Production code, critical paths |
| Aggressive | Medium | Comprehensive restructuring with tests |
| Architectural | High | System-wide pattern application |
readability: Extract expressions, rename for clarityperformance: Algorithm improvements, cachingmaintainability: SOLID principles, reduce couplingtestability: Dependency injection, pure functionsall: Comprehensive improvementProvides: