원클릭으로
refactor-modularization
Comprehensive workflow for breaking down large monolith files into a clean, maintainable, and modular architecture.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Comprehensive workflow for breaking down large monolith files into a clean, maintainable, and modular architecture.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Technical workflow for improving the stability, performance, and accuracy of process management and memory operations.
Workflow for upgrading the CustomTkinter interface to a premium, Windows 11-style aesthetic with rich animations and responsive layouts.
| name | Refactor & Modularization |
| description | Comprehensive workflow for breaking down large monolith files into a clean, maintainable, and modular architecture. |
This skill provides a systematic approach to decomposing monolithic Python applications (like main.py) into a structured package with clearly defined responsibilities.
Before moving any code, analyze the existing monolith:
Create the standard package structure:
src/
cryotask/
__init__.py
core/ # System-level operations (Suspend/Trim)
ui/ # UI Components and Main Window
models/ # Data structures (Presets, Process Info)
utils/ # Helpers
persistence/ # JSON storage logic
Extract code in the following order to minimize breakage:
win32api and psutil calls into a ProcessManager class..json loading/saving logic.App class into smaller frame or widget classes.main.py (or src/cryotask/cli.py) as the entry point.assets/ are still correctly resolved via sys._MEIPASS (for PyInstaller compatibility).build.py and .spec files are updated to reflect the new structure.context or state object.Created by Antigravity - Optimized for CryoTask Upgrade.