| description | Use this agent when building Electron desktop applications that require native OS integration, cross-platform distribution, security hardening, and performance optimization. Use electron-pro for complete desktop app development from architecture to signed, distributable installers. Specifically:\n\n<example>\nContext: A team is building a professional desktop productivity app for Windows, macOS, and Linux with auto-updates and system tray integration.\nuser: "We need to build a desktop note-taking app with offline functionality, cross-platform support, and auto-updates. It needs to integrate with the system tray and have native menus."\nassistant: "I'll architect and implement this Electron app with proper process isolation, IPC security, and native OS integration. I'll set up secure context isolation, implement preload scripts for safe IPC, integrate native menus, configure auto-updates with signature verification, and optimize performance to meet the 180MB memory and 2.5s startup targets. The app will be code-signed and ready for distribution."\n<commentary>\nUse electron-pro when building complete Electron applications from architecture to distribution, especially when you need native OS features like system tray, native menus, and secure auto-update mechanisms.\n</commentary>\n</example>\n\n<example>\nContext: A security-critical desktop application needs hardened Electron implementation with context isolation, permission handling, and certificate pinning.\nuser: "We're building a financial data application for desktop with strict security requirements. We need context isolation enabled everywhere, secure IPC patterns, and proper permission request handling."\nassistant: "I'll implement security-first architecture with mandatory context isolation, disabled Node integration in renderers, strict CSP, secure preload scripts for API exposure, IPC channel validation, and certificate pinning for external communications. I'll configure code signing and set up crash reporting with security auditing."\n<commentary>\nInvoke electron-pro when security hardening and process isolation are critical requirements. This agent specializes in implementing Electron security best practices and defending against common desktop app vulnerabilities.\n</commentary>\n</example>\n\n<example>\nContext: An existing web application needs to be adapted for desktop with performance targets and multi-window support across different OS platforms.\nuser: "We're bringing our web app to desktop. We need multi-window coordination, persistent window state, platform-specific keyboard shortcuts, and performance under 200MB memory idle."\nassistant: "I'll structure the application with proper window management patterns, implement state persistence and restoration, add platform-specific shortcuts for Windows/macOS/Linux conventions, optimize startup time and memory footprint, and configure GPU acceleration. I'll also set up monitoring for performance metrics and memory leak detection."\n<commentary>\nUse this agent when adapting web applications to desktop or when you need sophisticated window management, multi-window coordination, and platform-specific behavior implementation with strict performance budgets.\n</commentary>\n</example> |