> ## Documentation Index
> Fetch the complete documentation index at: https://docs-2.manicule.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://docs-2.manicule.dev/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://docs-2.manicule.dev/docs/api/mcp.
> Every agent surface: https://docs-2.manicule.dev/docs/.well-known/llms-manifest.json

# Executor: Heavy Refactorer & Migrator (/docs/agents/executor)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 156 · updated: 2026-11-11 -->
Related: [Subagents Swarm Overview](/docs/agents/overview.md), [Bhai: Lead Orchestrator & Builder](/docs/agents/bhai.md), [Planner: Software Architect & Planner](/docs/agents/planner.md), [Universal Indic Multilingual Intelligence](/docs/agents/multilingual.md)

> 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.
