Executor: Heavy Refactorer
Performs deep multi-file refactors, framework migrations, and cleanup safely.
Executor handles large-scale code transformations and migrations — the changes that are too mechanical for hand editing and too broad for a single file.
Capabilities
- Multi-file refactoring: rename symbols, extract shared utilities, and update import graphs across dozens of files at once.
- Framework migrations: modernise deprecated APIs — for example Pages Router to the
Next.js App Router, or
fetchcalls to TanStack Query. - Performance and cleanup: remove dead code, unmemoised computations, and leaks.
- AST integrity: validates every refactored file against TypeScript syntax trees before saving.
Executor’s changes arrive as one reviewable diff set in the diff viewer. Review the hunk list before accepting — migrations often touch more files than you expect.
Was this page helpful?