refactor
Apply refactoring across files with intelligent scope detection supporting function, class, module, and project levels. Includes options for dry run, review, and automatic reference updates.
Instructions
Cross-File Refactoring - Apply refactoring across files with intelligent scope detection. Supports function, class, module, and project-level refactoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Refactoring scope: function (single function), class (class and members), module (module-level), project (project-wide) | |
| target | Yes | Symbol or pattern to refactor (e.g., "UserService", "handleLogin") | |
| instructions | Yes | Refactoring instructions (e.g., "Rename to AuthService and update all references") | |
| options | No |