electron-best-practices

Installation
SKILL.md

Electron Best Practices

Use this skill for Electron work that needs durable guidance without relying on copied docs.

Default Stance

  • Prefer Electron Forge for new apps.
  • Prefer TypeScript unless the project is already committed to plain JavaScript.
  • Prefer preload scripts with contextIsolation: true and narrow IPC bridges.
  • Prefer Vite for a new modern frontend build, but stay with Webpack or another existing toolchain when the project already uses it.
  • Defer version-sensitive config, CLI flags, and API edge cases to the official docs in references/doc-index.md.

Workflow

  1. Identify whether the task is about architecture, security, IPC, packaging, updates, or tooling.
  2. Open references/doc-index.md first to choose the right official source.
  3. Open one focused reference file from this skill for durable guidance:
    • references/architecture-and-security.md
    • references/forge-workflows.md
Related skills
Installs
1
First Seen
Mar 23, 2026