electron-developer

Guide Electron application development with enforced process boundaries and IPC contract synchronization.

2|Updated Jul 9, 2019
One-click install
npx skills add https://github.com/rob893/Entropy-Game-Engine --skill electron-developer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electron-developer
Source: https://github.com/rob893/Entropy-Game-Engine/tree/main/.github/skills/electron-developer
Command: npx skills add https://github.com/rob893/Entropy-Game-Engine --skill electron-developer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and enforces best practices for developing the Entropy Editor, a complex Electron application, ensuring maintainability and security.

Core Features & Use Cases

  • Process Boundary Enforcement: Clearly defines and enforces strict separation between Main, Preload, and Renderer processes.
  • IPC Contract Management: Guides the synchronization of IPC definitions across multiple files for robust inter-process communication.
  • Project Structure & Naming: Enforces consistent project structure and naming conventions for improved code readability and developer experience.
  • Use Case: When adding a new feature that requires communication between the Electron main process and the renderer, consult this Skill to understand the correct IPC patterns and file update requirements.

Quick Start

Use the electron-developer skill to add a new IPC channel by following the checklist provided in the documentation.

Frequently Asked Questions about electron-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an Electron app with strict main, preload, and renderer process boundaries?

Electron app structure requires strict process boundaries to separate main, preload, and renderer processes. This ensures secure and maintainable application development by enforcing consistent naming conventions and clear project organization across all process layers.

How do I add a new IPC channel in an Electron TypeScript monorepo?

To add a new IPC channel in an Electron TypeScript monorepo, follow a checklist that synchronizes IPC contract definitions across multiple files. This ensures robust inter-process communication between the main process and renderer without breaking existing contracts.

What security hardening practices are needed for Electron main and preload processes?

Electron security hardening requires strict process boundary enforcement between main and preload layers. By isolating process execution and synchronizing IPC contracts securely, you prevent renderer process vulnerabilities and maintain a hardened application architecture.

Why do my Electron IPC definitions keep falling out of sync across files?

Electron IPC definitions fall out of sync when contracts are not managed across multiple files. Enforcing strict IPC contract synchronization ensures inter-process communication remains robust and consistent during application development.

Can I use this Electron development guide for a non-TypeScript project?

This Electron development guide targets TypeScript monorepo environments to enforce process boundaries and IPC contract synchronization. While the structural principles apply broadly, the naming conventions and tooling are optimized for TypeScript application development.

What is the best way to maintain naming conventions in a complex Electron application?

The best way to maintain naming conventions in a complex Electron application is enforcing consistent project structure across main, preload, and renderer processes. This approach improves code readability and developer experience while supporting secure application architecture.