differentiate_type_impact
Identify which tests are skippable after a type-only refactor by classifying changed files as type-only or runtime and splitting affected tests into must-run vs skippable.
Instructions
Classifies each changed file as type-only or runtime, then splits affected tests into "must run" vs "skippable". A test is skippable when the changed file contains only TypeScript type declarations (interfaces/type aliases) or the test imports it via import type. Use to answer: which tests can I skip after a type-only refactor?
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": {
"project_root": "<project_root>",
"changed_files": "<changed_files>"
},
"name": "differentiate_type_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes | Absolute path to the TypeScript project root (must contain tsconfig.json) | |
| changed_files | Yes | Changed file paths (absolute or relative to project_root) |