SuperAPI AI Directory

electron

Coding & development

View repository

Updated 11-05 19:01

About this skill

Electron

Target version Electron v44.8.0: GitHub tag v44.8.0 (electron/electron). npm latest = 44.8.0 (published 2026-10-16). The original was retrieved on 2026-10-17 from raw.githubusercontent.com/electron/electron/v44.8.0/docs/ .main and 44-x-y branches are not used. 45.0.0-beta is out of scope. The official site has no llms.txt / .md twin.

Directory structure

Only major files are listed. For all pages, refer to the index table of the README.md in each category.

skills/electron/
  SKILL.md
  references/
    getting-started/        # 導入・プロセスモデル・ESM・コマンドライン・環境変数・バージョニング
      README.md
      introduction.md
      process-model.md
      esm.md
      command-line-switches.md
      environment-variables.md
      electron-versioning.md
    app/                    # app モジュール(イベント・ライフサイクル・パス・ログイン項目・Jump List)
      README.md
      app-events-lifecycle.md
      app-lifecycle-methods.md
      app-paths-name-locale.md
      app-properties.md
    windows/                # BaseWindow / BrowserWindow / View / WebContentsView / WebPreferences
      README.md
      browser-window-overview.md
      base-window-overview.md
      window-options.md
      web-preferences.md
      web-contents-view.md
      window-open.md
    web-contents/           # webContents / webFrameMain / webview タグ / debugger / NavigationHistory
      README.md
      web-contents-overview.md
      web-contents-methods-loading.md
      web-frame-main.md
      webview-tag-overview-attributes.md
    ipc-preload/            # IPC・contextBridge・MessagePort・utilityProcess
      README.md
      ipc.md
      ipc-main.md
      ipc-renderer.md
      context-bridge.md
      context-isolation.md
      utility-process.md
    menus-tray/             # Menu / MenuItem / Tray / Dock / globalShortcut / TouchBar
      README.md
      menu.md
      menu-item.md
      tray.md
      dock.md
      global-shortcut.md
    system/                 # dialog / clipboard / Notification / nativeTheme / screen / shell / safeStorage / powerMonitor
      README.md
      dialog-open-save.md
      clipboard.md
      notification-class-static.md
      native-theme.md
      safe-storage.md
      shell.md
    session-network/        # session / cookies / net / protocol / webRequest / permission / extensions
      README.md
      session-module.md
      cookies.md
      net.md
      protocol-handle.md
      web-request.md
    security-performance/   # security checklist / sandbox / fuses / ASAR integrity / performance
      README.md
      security-overview.md
      security-checklist-1-10.md
      sandbox.md
      fuses.md
      performance.md
    distribution-updates/   # packaging / Forge / code signing / autoUpdater / MAS / Microsoft Store / Snap / native modules
      README.md
      application-distribution.md
      forge-overview.md
      code-signing.md
      auto-updater.md
      updates.md
      using-native-node-modules.md
    debugging-testing/      # debugging / crashReporter / contentTracing / automated testing / headless CI
      README.md
      application-debugging.md
      debugging-main-process.md
      crash-reporter.md
      automated-testing.md
      testing-on-headless-ci.md
    breaking-changes/       # v2 から v44 までの breaking changes
      README.md
      breaking-changes-overview.md
      breaking-changes-v44.md
      breaking-changes-v43.md
  samples/                  # 実例(1 ユースケース 1 ファイル)
    README.md
    first-app.md
    preload-script.md
    ipc-invoke-handle.md
    application-menu.md
    tray-menu.md
    notifications.md
    deep-links.md
    packaging-forge.md
    publishing-updating.md
    native-addon-cpp-win32.md
  scripts/                  # 実行コマンド集
    README.md
    install.md
    create-and-run.md
    forge.md
    debugging.md
    testing-ci.md
    native-modules.md
    asar-fuses.md
    platform-distribution.md

Exploration procedure

Look up the category from the task, and identify the target page in the category's README.md.

  1. Find the category corresponding to the task in the mapping table below
  2. Refer to the references/{category}/README.md of that category to identify the target page
  3. Read the .md of the relevant page to check the details
  4. Consult samples/README.mdfor typical implementations, and scripts/README.md for commands

Boundaries with other skills (APIs with the same name such as Menu / Tray / dialog / Notification / session / protocol, etc.) are described in the ## Notes of each page.

Task → Category mapping

Task Category Reference README
Want to know the overview of Electron, process model, ESM, version policy, environment variables getting-started references/getting-started/README.md
Want to handle app startup/shutdown, single instance, paths, login items, Jump List app references/app/README.md
Want to control window creation, options, WebPreferences, WebContentsView, window.open windows references/windows/README.md
Want to handle page loading, navigation, print, executeJavaScript, webview web-contents references/web-contents/README.md
Want to implement main / renderer IPC, contextBridge, MessagePort, utilityProcess ipc-preload references/ipc-preload/README.md
Want to create application menus, context menus, Tray, Dock, global shortcuts menus-tray references/menus-tray/README.md
Want to use native dialogs, clipboard, notifications, dark mode, safeStorage, shell system references/system/README.md
Want to configure session, cookies, net, protocol, webRequest, permission handlers session-network references/session-network/README.md
Want to check the security checklist, sandbox, fuses, ASAR integrity, performance improvements security-performance references/security-performance/README.md
Want to do packaging, Forge, code signing, autoUpdater, MAS / Microsoft Store submission distribution-updates references/distribution-updates/README.md
Want to set up debugging, crash reporting, E2E testing, headless CI debugging-testing references/debugging-testing/README.md
Want to check APIs removed or changed in version updates breaking-changes references/breaking-changes/README.md
Want to know typical usage samples samples/README.md
Want to know installation and CLI commands scripts scripts/README.md