| argument-hint | [path] [--include-generated] |
| coordination | exempt |
| disable-model-invocation | true |
| name | large-file-refactor |
| user-invocable | true |
| description | Discover large source-file refactor candidates and propose cohesion- and risk-driven split plans using available semantic tooling. |
Large File Refactor
This skill is coordination-exempt: skip the ai-coord gate for its declared work.
If these instructions are already present in the conversation from a slash or dollar invocation, follow them directly;
do not invoke this skill again through a skill tool.
Use LOC thresholds to discover candidates, then decide whether a split is justified by cohesion, coupling, ownership,
and change risk. Test files use a relaxed 2000 LOC discovery threshold.
Arguments
path: Optional file or directory to scan. Default: current working directory.
--include-generated: Include generated, vendored, dependency, and build-output paths that are skipped by default.