electron_generate_window_manager
Generate a WindowManager class for Electron apps that handles window lifecycle, inter-window communication, state persistence, and cleanup. Supports main, child, modal, and panel windows.
Instructions
Generate multi-window management boilerplate for Electron apps. Creates a WindowManager class that handles window lifecycle, inter-window communication, window state persistence, and proper cleanup. Supports common patterns like main + child windows, modal dialogs, and detached panels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windows | Yes | Windows to manage | |
| persistState | No | Whether to persist window positions/sizes across restarts (default true) |