What problem does it solve? Secondary and overlay BrowserWindows in Electron apps often misbehave: a setup overlay opens a duplicate of the full main app instead of the overlay flow, a transparent frameless window renders as a solid black rectangle on Windows, or a companion window lands in the wrong corner. This Skill maps each symptom to its root cause and concrete fix. ## Core Features & Use Cases - Renderer variant routing fix: Correctly parse the variant query parameter in main.tsx so both "overlay" and "window" variants render the setup flow instead of falling back to the main <App /> layout. - Windows transparency fix: Set backgroundColor: '#00000000' explicitly on transparent, frameless, alwaysOnTop BrowserWindows to avoid the opaque black backing surface (electron/electron#40515), with an ordered fallback checklist covering resizable, remote sessions, and hardware acceleration. - Window positioning fix: Center the companion pill horizontally at the top using workArea math instead of a hardcoded right-edge offset. - Use Case: You wire up a previously dead window.api.companion.show() IPC call and the overlay appears as a black rectangle in the top-right corner on Windows 11 — this Skill walks you through the exact constructor option and positioning changes to fix both issues. ## Quick Start Ask the AI to diagnose why your Electron transparent overlay window renders as a solid black rectangle or opens the wrong content, and apply the documented fixes.