# electron-builder

Guides the agent through configuring Electron app packaging, platform targets, code signing, and auto-updates. Useful for release workflows.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 392 installs · ★ 643
- Author: pedronauck
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pedronauck/skills/tree/HEAD/skills/curated/electron-builder/SKILL.md
- Updated: 2026-10-20
- HTML: https://affpapa.org/en/nevibecode/skills/electron-builder

## What it does

This skill guides coding agents through setting up `electron-builder` version 26.x. It helps write configurations in YAML or JSON, define installer targets like NSIS, DMG, or AppImage, and run build commands across target architectures.

The skill covers signing keys, notarization setup for macOS, and Azure Trusted Signing for Windows. When integrating `electron-updater`, it enforces the correct ESM import syntax and prevents manual calls to `setFeedURL`.

Never name your configuration file `electron-builder.js` because Node.js confuses it with the package itself. Keep it in `electron-builder.yml` instead.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill electron-builder -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/electron-builder/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/electron-builder/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill electron-builder -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/electron-builder/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill electron-builder -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/electron-builder/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pedronauck/skills electron-builder
```

2. **Manually: put the files in place**
- File: `.github/skills/electron-builder/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill electron-builder -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pedronauck/skills --path skills/curated/electron-builder
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/electron-builder/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill electron-builder -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pedronauck/skills/tree/HEAD/skills/curated/electron-builder/SKILL.md

## When to use it
- configure `electron-builder.yml` for multi-platform distribution
- configure macOS code signing and notarization credentials
- integrate update checks with `electron-updater` in ESM projects
- set up artifact publishing targets for GitHub Releases and S3

## Example prompts
- Generate an electron-builder.yml config for Windows NSIS and macOS DMG.
- How do I configure macOS notarization using environment variables?
- Show me how to initialize electron-updater without breaking ESM imports.

## Similar
- [electron-pro](https://affpapa.org/en/nevibecode/agents/electron-pro.md) — subagent · 376 installs
- [electron-development](https://affpapa.org/en/nevibecode/skills/mindrally-electron-development.md) — skill · 1300 installs
- [electron-chromium-upgrade](https://affpapa.org/en/nevibecode/skills/electron-chromium-upgrade.md) — skill · 618 installs
- [electron-best-practices](https://affpapa.org/en/nevibecode/skills/electron-best-practices.md) — skill · 820 installs
- [electron-dev](https://affpapa.org/en/nevibecode/skills/electron-dev.md) — skill · 305 installs
- [electron](https://affpapa.org/en/nevibecode/rules/electron.md) — rule · ★ 3579

From the same set: [pedronauck/skills](https://affpapa.org/en/nevibecode/by/pedronauck/skills.md) — 6 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
