refac-module-to-subpackage
Guide for converting a monolithic Python module into a subpackage with submodules. Use when breaking apart a large .py file into a directory of smaller modules, splitting a module into a package, reorganizing a single file into subdirectories, or when a user says things like "split this module", "break this file apart", "convert to subpackage", or "this file is too big". Also use when a user identifies a large Python file and wants to reorganize it without changing behavior.
Installation and usage
Guide for converting a monolithic Python module into a subpackage with submodules. Use when breaking apart a large .py file into a directory of smaller modules, splitting a module into a package, reorganizing a single file into subdirectories, or when a user says things like "split this module", "break this file apart", "convert to subpackage", or "this file is too big". Also use when a user identifies a large Python file and wants to reorganize it without changing behavior.
安裝後,您可以通過在終端運行以下命令來使用此技能:
skills use refac-module-to-subpackage