Skip to content
BhaiCode Docs
BhaiCode Docs

Executor: Heavy Refactorer & Migrator

Specialist for deep multi-file refactoring and framework migrations.

Executor handles large-scale code transformations and migrations.


Capabilities

  • Multi-File Refactoring: Renames symbols, extracts shared utilities, and updates import graphs across dozens of files simultaneously.
  • Framework Migrations: Upgrades deprecated APIs (e.g., Pages Router to Next.js App Router, or fetch to TanStack Query).
  • Performance & Cleanup: Identifies unmemoized computations, dead code, and memory leaks.
  • AST Integrity: Validates every refactored file against TypeScript syntax trees before saving.
Was this page helpful?

On this page