change_impact
Analyze code changes or git diffs to identify affected dependents, tests to re-run, and breaking changes, then assess risk level before merging.
Instructions
Analyze the impact of code changes. Given changed files or a git diff, finds affected dependents, tests to re-run, and breaking changes. Assesses risk level.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "change_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref to diff against (default: HEAD) | |
| files | No | Changed file paths for impact analysis | |
| action | Yes | analyze: full impact analysis, categorize: classify change type | |
| use_git_diff | No | Use current unstaged git diff (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | Yes | ||
| summary | Yes | ||
| affected | Yes |