Electron Release logo

Electron Release

Community
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.

Overview

Publisherpedronauck
Repositoryskills
Skill nameelectron-release
Stars
635
Forks
89
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by pedronauck on GitHub. Read the source before you install it.

Installation

Install the Electron Release AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/pedronauck/skills/tree/main/skills/curated/electron-release
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pedronauck/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/curated/electron-release .claude/skills/electron-release
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Electron Release in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Electron Release on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Electron Release is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

ComponentTarget
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.

Recommended: Use cloud-based signing (DigiCert KeyLocker or Azure Trusted Signing).

Never use self-signed certificates for distribution.

macOS (Developer ID + Notarization)

Two-step process:

  1. Code Signing: Uses Developer ID Certificate
  2. Notarization: Apple scans for malware (required for distribution)

Key requirements:

  • hardenedRuntime: true in electron-builder config
  • Valid entitlements.mac.plist
  • APPLE_TEAM_ID, APPLE_ID, and APPLE_APP_SPECIFIC_PASSWORD environment variables

Linux (GPG)

Sign release artifacts with GPG:

bash
gpg --detach-sign -u YOUR_KEY_ID dist/packages/*.AppImage
gpg --detach-sign -u YOUR_KEY_ID dist/packages/*.deb

Auto-Update Implementation

electron-updater Configuration

Configure publish provider in electron-builder.yml:

yaml
publish:
  provider: github
  owner: your-username
  repo: your-repo
  releaseType: release

Staged Rollout Strategy

Reduce risk by gradually rolling out updates:

  • Day 1: 10% of users
  • Day 2: 25% of users
  • Day 3: 50% of users
  • Day 4: 100% of users

If issues detected:

  • Do NOT release same version again (users will ignore update)
  • Release a higher version (e.g., 1.0.1 -> 1.0.2)
  • Consider reverting to previous version if critical bug

Testing Auto-Update Locally

Use dev-app-update.yml for local testing. Test the full update cycle before releasing.

Release Workflow

Manual Release Checklist

Before creating release tag:

  • Merge all PRs for this version
  • Bump version in package.json
  • Update CHANGELOG.md
  • Run full test suite
  • Run bundle analysis
  • Test build locally
  • Verify app starts and basic features work
  • Test auto-update mechanism

Creating a Release

bash
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

Distribution Options

GitHub Releases (Recommended)

  • Free and reliable
  • Built-in auto-update support
  • Version management
  • Release notes

Cloudflare R2

S3-compatible storage with R2 endpoint. Configure environment variables:

  • R2_BUCKET_NAME
  • R2_ACCOUNT_ID
  • R2_ACCESS_KEY_ID
  • R2_SECRET_ACCESS_KEY
  • UPDATE_FEED_URL

Private Server (Generic HTTP)

Requires serving latest.yml, latest-mac.yml, and all artifacts via HTTPS.

Security Checklist

Before release, verify:

  • Dependencies audited (pnpm audit)
  • No hardcoded secrets in code
  • IPC channels validated
  • CSP properly configured
  • Context isolation enabled
  • Node integration disabled in renderer
  • Sandbox enabled for all windows
  • Auto-update tested end-to-end
  • Code signing certificates valid
  • macOS app notarized
  • All communications over HTTPS
  • No sensitive data in logs or error messages

Troubleshooting

IssueSolution
Auto-update not triggeringVerify latest.yml exists, check GitHub releases config
Code signing failsRenew certificate, verify fingerprint
Windows SmartScreen warningDistribute widely, file with Microsoft for reputation
macOS "cannot verify developer"Re-notarize, check team ID and certificate
Large app downloadAnalyze with ANALYZE=true pnpm run build, enable compression
Blank screen in productionUse relative paths (base: './'), verify build output

Validation Checklist

Before finishing a task involving Electron releases:

  • Pre-build checks pass (audit, typecheck, lint, test)
  • Bundle sizes within targets
  • Code signing configured for all platforms
  • macOS notarization configured
  • Auto-update mechanism implemented and tested
  • Staged rollout strategy defined
  • Security checklist completed
  • Release notes prepared

For detailed configuration examples, code samples, and GitHub Actions workflows, refer to references/patterns.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Electron Release AI skill do?

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.

Why use Electron Release on TypingMind?

Because you install it once and use it with any model. Electron Release is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Electron Release in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/pedronauck/skills/tree/main/skills/curated/electron-release. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Electron Release?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Electron Release?

As many as you like. As long as a model supports skills, you can use Electron Release with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Electron Release AI skill free?

It is published on GitHub by pedronauck. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇