agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Expert guide for Electron production builds, code signing, notarization, auto-updates, and release workflows. Use when building, packaging, or releasing Electron applications, configuring electron-builder, setting up CI/CD pipelines for desktop app distribution, or implementing
$ npx -y skills add pedronauck/skills --skill electron-release --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/electron-releaseContext preview
The summary Claude sees to decide when to auto-load this skill.
Expert guide for Electron production builds, code signing, notarization, auto-updates, and release workflows. Use when building, packaging, or releasing Electron applications, configuring electron-builder, setting up CI/CD pipelines for desktop app distribution, or implementing
name: electron-release description: Expert guide for Electron production builds, code signing, notarization, auto-updates, and release workflows. Use when building, packaging, or releasing Electron applications, configuring electron-builder, setting up CI/CD pipelines for desktop app distribution, or implementing auto-update mechanisms. allowed-tools: Read, Grep, Glob, Bash
This skill provides enterprise-grade best practices for building, signing, releasing, and distributing Electron applications with emphasis on security, reliability, performance, and user trust.
1. **Build Configuration**: For electron-vite production config, bundle optimization, and pre-build checks. 2. **Code Signing**: Platform-specific signing for Windows (EV certificates), macOS (Developer ID + notarization), and Linux (GPG). 3. **Auto-Updates**: electron-updater configuration, staged rollouts, and update testing. 4. **Release Workflows**: GitHub Actions CI/CD pipelines for multi-platform builds. 5. **Distribution**: GitHub Releases, Cloudflare R2, or private server hosting.
Before every production build:
1. Check dependencies for vulnerabilities: `pnpm audit` 2. Verify code quality: `pnpm run typecheck && pnpm run lint` 3. Run test suite: `pnpm run test && pnpm run test:e2e` 4. Check bundle size: `pnpm run build:analyzer` 5. Verify environment configuration
| Component | Target | |------------------|----------| | Main process | < 2 MB | | Renderer | < 5 MB | | Total package | < 150 MB | | Install size | < 250 MB |
Microsoft requires Extended Validation (EV) certificates since June 2023.
**Recommended**: Use cloud-based signing (DigiCert KeyLocker or Azure Trusted Signing).
**Never use self-signed certificates for distribution.**
Two-step process: 1. **Code Signing**: Uses Developer ID Certificate 2. **Notarization**: Apple scans for malware (required for distribution)
Key requirements:
Sign release artifacts with GPG:
gpg --detach-sign -u YOUR_KEY_ID dist/packages/*.AppImage gpg --detach-sign -u YOUR_KEY_ID dist/packages/*.deb
Configure publish provider in electron-builder.yml:
publish: provider: github owner: your-username repo: your-repo releaseType: release
Reduce risk by gradually rolling out updates:
**If issues detected**:
Use `dev-app-update.yml` for local testing. Test the full update cycle before releasing.
Before creating release tag:
git tag -a v1.2.3 -m "Release v1.2.3" git push origin v1.2.3
GitHub Actions automatically handles: 1. Building for Windows, macOS, Linux 2. Code signing 3. Notarization (macOS) 4. Creating GitHub Release 5. Publishing artifacts
S3-compatible storage with R2 endpoint. Configure environment variables:
Requires serving `latest.yml`, `latest-mac.yml`, and all artifacts via HTTPS.
Before release, verify:
| Issue | Solution | |-------|----------| | Auto-update not triggering | Verify `latest.yml` exists, check GitHub releases config | | Code signing fails | Renew certificate, verify fingerprint | | Windows SmartScreen warning | Distribute widely, file with Microsoft for reputation | | macOS "cannot verify developer" | Re-notarize, check team ID and certificate | | Large app download | Analyze with `ANALYZE=true pnpm run build`, enable compression | | Blank screen in production | Use
A curated collection of 87 agent skills for Claude Code and compatible AI coding assistants — 40 original (⭐️), 34 hand-picked (💎), and 13 marketing & business (📣).
Repo: pedronauck/skills
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Answer questions about the AI SDK and help build AI-powered features. Use when developers:…
Autonomously optimize any Claude Code skill by running it repeatedly, scoring outputs against…
Centrifugo real-time messaging server expert for WebSocket PUB/SUB, channel management, JWT…
Retrieves up-to-date documentation, API references, and code examples for any developer…
Diátaxis Documentation Expert. An expert technical writer specializing in creating…