概要
This skill provides a systematic approach to refactoring disorganized codebases by grouping related files into structured subpackages. It guides the user through identifying module groups, moving files while preserving Git history, and updating relative imports. Most importantly, it implements a shim pattern that prevents breaking changes for existing code consumers, making it an essential tool for maintaining large-scale Python projects that have grown organically and suffer from root-level file bloat.