codebase_impact
Determine the impact of code changes by listing all files and functions that depend on a target file or symbol, helping avoid breakage during refactoring.
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 |
|---|---|---|---|
| depth | No | How many hops back to walk (default 3, max 10). | |
| target | Yes | Target file path (relative) OR symbol name. | |
| projectPath | No | Absolute path to the project directory. |