modular-large-file-refactor - Refactor large source files into coherent modules
Refactors oversized source files into smaller modules while reducing complexity and preserving behavior without changing public contracts.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Find oversized repository files
- Classify code block responsibilities
- Extract types constants and helpers
- Isolate stateful logic into hooks
- Simplify file entrypoint facade
Inputs
- Oversized source files
- scripts/find_large_files.sh script
- references/splitting-patterns.md document
Outputs
- Extracted module files
- Refactored entrypoint facade file
- Refactor summary description
Requirements
- Bash runtime environment
- scripts/find_large_files.sh script
