analyze_impact
Analyze the blast radius of file changes to identify directly and transitively affected files with a risk score, helping prevent breaking changes before committing.
Instructions
Analyze the blast radius of changing specific files. Returns which files would be directly and transitively affected, with a risk score (0-1). Use BEFORE committing multi-file changes to understand what might break. Does NOT modify any files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Relative file paths that are being changed (e.g. ['src/utils/helpers.ts']) | |
| projectRoot | Yes | Absolute path to the project root directory | |
| tsconfigPath | No | Optional tsconfig path relative to projectRoot |