Agent skill · pedronauck

electron-builder

Comprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows. Use when: (1) configuring electron-builder builds (electron-builder.yml or config.js/ts), (2) setting up macOS/Windows code signing or notarization, (3) implementing auto-updates with electron-updater, (4) publishing to GitHub Releases, S3, or generic servers, (5) configuring platform targets (NSIS, DMG, AppImage, Snap, PKG, MSI), (6) working with build hooks (beforePack, afterSign, afterAllArtifactBuild), or (7) using the programmatic API. Triggers on: electron-builder, electron-updater, code signing, notarize, NSIS, DMG, AppImage, auto-update, publish releases, build hooks, electron packaging, electron distribution.

What it needs

About 5k tokens when loaded.

What this skill does

electron-builder Docs: https://www.electron.build (v26.8.x) Repo: https://github.com/electron-userland/electron-builder Quick Start Install: Minimal config (electron-builder.yml): Build scripts in package.json: CLI Reference Publish flag values: onTag onTagOrDraft always never Configuration Config locations (checked in order): 1. package.json > "build" key 2. electron-builder.yml (default, recommended) 3. electron-builder.json / .json5 / .toml 4. electron-builder.config.js / .ts 5. CLI: --config <path> Do NOT name JS config electron-builder.js — conflicts with package name. For full configuration options, file patterns, macros, icons, and directory settings: See references/configuration.md Essential Config Properties Property Default Description --- --- --- appId com.electron.${name} Do not change once deployed. Used as bundle ID (macOS) and AUMID (Windows). productName package.json name Display name (allows spaces) compression "normal" "store" for fast test builds, "maximum" for release asar true Pack source into asar archive files auto Glob patterns for app source files extraFiles — Files copied outside asar (e.g. native addons) extraResources — Files copied to resources directory forceCodeSigning false Fail build if not signed File Macros Available in artifactName, file patterns, and publish URLs: ${arch}, ${os}, ${platform}, ${name}, ${productName}, ${version}, ${channel}, ${ext}, ${env.VARNAME} Default Targets Platform Default --- --- macOS DMG + ZIP Windows NSIS Linux (cross) Snap + AppImage (x64) Linux (native) Snap + AppImage (current arch) Code Signing Signing is automatic when configured. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills pedronauck/electron-builder--f8bb53

View the source on GitHub

Browse the @skills marketplace