find_orphans
Identify dead-code candidates by scanning exported files, components, and functions that nothing imports, renders, or calls. Excludes entry points unless includeEntryPoints is set.
Instructions
Dead-code candidates: exported files/components/functions that nothing imports, renders, or calls. Excludes entry points (index/main/App/config) unless includeEntryPoints is set. Heuristic — review, do not auto-delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Repo root (defaults to cwd) | |
| includeEntryPoints | No | Also include index/main/App/config files (default false) |