electron-main | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / electron-main

electron-main

maintained by antropos17

star 90 account_tree 16 verified_user MIT License
bolt View GitHub

name: electron-main description: Electron main process patterns for Aegis. CJS modules, platform abstraction, IPC, file watchers. Use when editing src/main/ files.

Electron Main Process

Architecture

  • 23 CJS modules loaded directly by Node.js (NO build step)
  • Platform dispatcher: src/main/platform/index.js → win32|darwin|linux
  • IPC: 43 invoke + 6 push channels, scan-batch consolidation
  • File watcher: chokidar 3.6, function-form ignored (NOT glob)

Rules

  • require() / module.exports only
  • JSDoc annotations with types from src/shared/types/
  • Stay .js until P5-C (tsc build step)
  • Staggered startup: 3/8/12s intervals
  • Stats-update batcher: 1000ms debounce

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 90
GitHub Forks 16
Created Mar 2026
Last Updated 3个月前
tools tools debugging

Related Skills

fabric
chevron_right
typescript-expert
chevron_right
break-loop
chevron_right
burp-suite
chevron_right
page-behavior-audit
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.