mcpField
E
electron-forge

electron-forge

github.com/hairyfDevelopment26145 installsUpdated 2w ago
Repository

About electron-forge

A reference skill for Electron Forge, a tool for packaging and distributing Electron applications. It covers the package, make, and publish lifecycle, configuration, signing, and extension points for plugins, makers, and publishers.

Key features

  1. 01Follow the package, make, and publish lifecycle
  2. 02Configure Forge with JavaScript or TypeScript
  3. 03Use bundler plugins, makers, and publishers
  4. 04Import existing projects and use templates
  5. 05Extend Forge with custom plugins and makers

Use cases

  1. 01Package an Electron application for distribution
  2. 02Configure signing for macOS or Windows
  3. 03Set up a Forge build with Webpack or Vite
  4. 04Add a custom maker or publisher

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hairyf/skills --skill electron-forge

After installing, type/electron-forgein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
references/
advanced-auto-update.md
advanced-debugging.md
advanced-extending-makers.md
advanced-extending-plugins.md
advanced-extending-publishers.md
advanced-extending-templates.md
config-configuration.md
config-hooks.md
config-makers-overview.md
config-plugins-overview.md
config-plugins-vite.md
config-plugins-webpack.md
config-publishers-overview.md
config-typescript.md
core-build-lifecycle.md
core-cli.md
core-why-electron-forge.md
features-import-existing-project.md
features-templates.md
guides-code-signing.md

Details

From the project README

Electron Forge is an all-in-one tool for packaging and distributing Electron applications. It combines packaging, code signing, installers, and publishing into one pipeline and supports custom plugins, makers, and publishers.

Skills are based on Electron Forge (docs as of 2026-01-30), generated from electron-forge-docs.

Core References

TopicDescriptionReference
Why Electron ForgeMotivation, value proposition, Forge vs Buildercore-why-electron-forge
Build LifecyclePackage → Make → Publish; hooks; cross-platformcore-build-lifecycle
CLIInit, import, package, make, publish, start; flags; programmatic APIcore-cli

Configuration

TopicDescriptionReference
Configurationforge.config.js, packagerConfig, makers, publishers, plugins, hooks, buildIdentifierconfig-configuration
HooksgenerateAssets, preStart, postPackage, preMake, postMake, readPackageJson, etc.config-hooks
TypeScript configforge.config.ts, ForgeConfig, constructor syntaxconfig-typescript
Plugins overviewBundler (Webpack, Vite) and utility pluginsconfig-plugins-overview
Webpack pluginmain/renderer config, magic globals, HMR, native modulesconfig-plugins-webpack
Vite pluginbuild/renderer entries, HMR globals, native externalsconfig-plugins-vite
Makers overviewConfig, platforms; DMG, ZIP, Squirrel, deb, rpm, etc.config-makers-overview
Publishers overviewGitHub, S3, Nucleus; config; auto-updateconfig-publishers-overview

Features

TopicDescriptionReference
Import existing projectimport command and manual setupfeatures-import-existing-project
Built-in templateswebpack, vite, TypeScript variants; create-electron-appfeatures-templates

Guides

TopicDescriptionReference
Code signingmacOS and Windows; where to configureguides-code-signing

Advanced

TopicDescriptionReference
Auto updateupdate.electronjs.org, S3, custom servers (Nucleus, etc.)advanced-auto-update
DebuggingMain process: CLI, VS Code, JetBrainsadvanced-debugging
Writing pluginsPluginBase, getHooks, startLogicadvanced-extending-plugins
Writing makersMakerBase, isSupportedOnCurrentPlatform, makeadvanced-extending-makers
Writing publishersPublisherBase, publish; multi-call behavioradvanced-extending-publishers
Writing templatesForgeTemplate, requiredForgeVersion, initializeTemplateadvanced-extending-templates

Comments

Markdown supported