Suggest a file split (refactor prompt)
suggest_file_splitProvides a ready-to-execute refactor proposal for splitting oversized files into modules based on symbol name prefixes.
Instructions
Given an oversized source file (see code_file_map's splitCandidates), return a structured, ready-to-execute refactor proposal: exported symbols clustered by name-prefix, proposed target modules, keep-original-as-barrel guidance, and a prompt to hand straight to the agent. Read-only — the server never edits code; Claude executes the split.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path relative to the project's codeLocation. | |
| project | Yes |