Modularize Large Files

Use when a source file has grown past ~2k lines or a "god module" is hard to navigate - finds the largest files, splits them along cohesion seams (not arbitrary line counts), preserves the public API with re-exports, and moves in behavior-preserving steps verified by tests between each extraction

narenaryan 842112b 2.7 KB Updated

File contents

narenaryan/agent-skills/tree/main/skills/engineering/modularize-large-files commit 842112b4af

Frequently asked questions

npx skillmds@latest add narenaryan/modularize-large-files