Agent skill · pedronauck

electron-release

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.

What it needs

About 4k tokens when loaded.

What this skill does

Electron Production Build & Release Guide This skill provides enterprise-grade best practices for building, signing, releasing, and distributing Electron applications with emphasis on security, reliability, performance, and user trust. Quick Reference 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. Core Principles Security First: All production builds must be code-signed; macOS builds must be notarized. Pre-Build Verification: Always run pnpm audit, pnpm run typecheck, pnpm run lint, and pnpm run test before builds. Semantic Versioning: Follow SemVer strictly (MAJOR.MINOR.PATCH). Staged Rollouts: Release to a percentage of users first, then expand gradually. Build Strategy Pre-Build Checklist 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 Production Build Optimization Remove all console.log and debugger statements Tree-shake unused dependencies Split vendor chunks (React, UI libraries) Compress images and assets Lazy load non-critical modules Disable source maps for distribution (ship separately if needed) Use production-mode build flags Target Bundle Sizes Component Target ------------------ ---------- Main process < 2 MB Renderer < 5 MB Total package < 150 MB Install size < 250 MB Code Signing Windows (EV Certificate Required) Microsoft requires Extended Validation (EV) certificates since June 2023. …

How to use it

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

@skills pedronauck/electron-release--f3c64f

View the source on GitHub

Browse the @skills marketplace