codebase_impact
Identify all files and functions affected by a code change before refactoring or deleting. Returns blast radius for a target file or symbol to prevent breakage.
Instructions
Impact Analysis — return the BLAST RADIUS for a file or symbol. Lists every file (and, where helpful, function) that could break if you change the target. Polymorphic on target: a path-like string ('src/foo.ts') triggers file-mode; a name-like string ('validateUser') triggers symbol-mode. Use this BEFORE refactoring, renaming, or deleting code to know what depends on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Absolute path to the project directory. | |
| target | Yes | Target file path (relative) OR symbol name. | |
| depth | No | How many hops back to walk (default 3, max 10). |