electron-build-config

Automate Electron build and packaging with esbuild and electron-builder.

8|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/bradtaylorsf/alphaagent-team --skill electron-build-config
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: electron-build-config
Source: https://github.com/bradtaylorsf/alphaagent-team/tree/main/plugins/aai-stack-electron/skills/electron-build-config
Command: npx skills add https://github.com/bradtaylorsf/alphaagent-team --skill electron-build-config

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the complex process of configuring and executing multi-platform builds for Electron applications, ensuring consistent and reliable distribution.

Core Features & Use Cases

  • Bundling: Utilizes esbuild for fast and efficient bundling of main and renderer processes.
  • Cross-Platform Distribution: Integrates with electron-builder for creating installers (DMG, EXE, AppImage) for macOS, Windows, and Linux.
  • Native Module Handling: Manages the complexities of including and rebuilding native Node.js modules for Electron.
  • Code Signing & Entitlements: Provides configurations for macOS code signing and necessary entitlements.
  • Use Case: A developer needs to package their Electron app for Windows, macOS, and Linux, including native dependencies like better-sqlite3 and sharp, and ensure it's properly signed for distribution.

Quick Start

Configure your Electron build pipeline by running the dist script.

Frequently Asked Questions about electron-build-config

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

FAQPage Schema
How do I package an Electron app for Windows, macOS, and Linux?▼

You can package an Electron app for Windows, macOS, and Linux by configuring electron-builder to generate DMG, EXE, and AppImage installers, simplifying multi-platform distribution.

What is the best way to bundle an Electron main process with esbuild?▼

Bundling an Electron main and renderer process with esbuild ensures fast and efficient packaging, allowing you to streamline the build pipeline before creating final installers.

How do I rebuild native Node.js modules like better-sqlite3 for Electron?▼

To rebuild native Node.js modules like better-sqlite3 for Electron, you need a build configuration that manages native module rebuilding and inclusion during the packaging process.

Does this build configuration handle macOS code signing and entitlements?▼

Yes, this Electron build configuration provides specific settings for macOS code signing and necessary entitlements to ensure properly signed applications for distribution.

Can I configure code signing for Windows EXE installers in an Electron build pipeline?▼

Yes, you can configure code signing for Windows EXE installers within an Electron build pipeline, ensuring reliable cross-platform distribution alongside macOS signing capabilities.