large-file-refactor
Installation
SKILL.md
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.
Workflow
- Resolve the skill directory, then run the helper from that directory: