modu-ai avatar

Moai Framework Electron

This is your go-to when building Electron desktop apps, covering the full stack from Main/Renderer process architecture to IPC communication, auto-updates, and packaging with Electron Forge or electron-builder. It's built for Electron 33+ with Chromium 130 and Node.js 20.18, including native ESM support. The skill emphasizes security patterns like contextIsolation and sandbox enforcement, which honestly should be non-negotiable but often get skipped. You get type-safe IPC patterns, proper preload script setup, and working auto-update implementations with electron-updater. Best for greenfield cross-platform desktop projects or when you're tired of piecing together Electron security practices from outdated Stack Overflow answers.

skills.sh installs
193
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add modu-ai/moai-adk --skill moai-framework-electron --agent claude-code

Installs into .claude/skills of the current project.

Files

Electron 33+ Desktop Development

Quick Reference

Electron 33+ Desktop App Development Specialist enables building cross-platform desktop applications with web technologies.

Auto-Triggers: Electron projects detected via electron.vite.config.ts or electron-builder.yml files, desktop app development requests, IPC communication pattern implementation

Core Capabilities

Electron 33 Platform:

  • Chromium 130 rendering engine for modern web features
  • Node.js 20.18 runtime for native system access
  • Native ESM support in main process
  • WebGPU API support for GPU-accelerated graphics

Process Architecture:

  • Main process runs as single instance per application with full Node.js access
  • Renderer processes display web content in sandboxed environments
  • Preload scripts bridge main and renderer with controlled API exposure
  • Utility processes handle background tasks without blocking UI

IPC Communication:

  • Type-safe invoke/handle patterns for request-response communication
  • contextBridge API for secure renderer access to main process functionality
  • Event-based messaging for push notifications from main to renderer

Auto-Update Support:

Sponsors

Details

Repository
github.com/modu-ai/moai-adk
Category
Code Review & Quality
First seen
Jun 3, 2026

More from modu-ai/moai-adk

All 6
1yonatangross avatargolden-datasetyonatangross/orchestkitGolden dataset lifecycle patterns for curation, versioning, quality validation, and CI integration. Use when building evaluation datasets, managing dataset vers193skills.sh installs
2ed3dai avatarfunctional-core-imperative-shelled3dai/ed3d-pluginsUse when writing or refactoring code, before creating files - enforces separation of pure business logic (Functional Core) from side effects (Imperative Shell) 192skills.sh installs
3itechmeat avatarchangelogitechmeat/llm-codeKeep a Changelog format. Covers structure, change types, versioning. Use when creating or updating CHANGELOG.md files following the Keep a Changelog specificati191skills.sh installs
4hoodini avatarhonest-agenthoodini/ai-agents-skillsDetect installed AI coding agents and append honest-feedback rules to their instruction files. Scans for config files (CLAUDE.md, copilot-instructions.md, .curs190skills.sh installs
5nexu-io avatarhtml-ppt-pitch-decknexu-io/open-designInvestor-ready 10-slide HTML pitch deck — white + blue→purple gradient hero, big numbers, traction bar chart, $4.5M-style ask page. Use when the user wants a fu190skills.sh installs
6hiyeshu avatarcodeck-speechhiyeshu/codeckInternal speech module for /codeck. Reads deck content, asks about style and duration only when missing, generates a verbatim speech transcript with stage direc188skills.sh installs