Agent skill · Backend & API

electron-native-addon-builder

Build and bundle native Node.js addons for Electron with proper ABI compatibility, cross-compilation support, and rebuild automation

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill electron-native-addon-builder --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/desktop-development/skills/electron-native-addon-builder/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# electron-native-addon-builder Build and bundle native Node.js addons for Electron with proper ABI (Application Binary Interface) compatibility. This skill handles the complexity of native module compilation, cross-platform building, and ensuring modules work correctly with Electron's Node.js version. ## Capabilities - Configure electron-rebuild for native module compilation - Set up node-gyp with Electron headers - Handle cross-platform compilation (Windows, macOS, Linux) - Manage ABI compatibility between Electron and native modules - Configure prebuild/prebuild-install for binary distribution - Set up N-API modules for version-independent builds - Handle architecture-specific builds (x64, arm64, ia32) - Integrate with electron-builder for packaging ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to the Electron project root" }, "nativeModules": { "type": "array", "description": "List of native modules to handle", "items": { "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "string" }, "source": { "enum": ["npm", "local", "github"] } } } }, "electronVersion": { "type": "string"

What's inside
Steps it walks through
  1. Capabilities
  2. Input Schema
  3. Output Schema
  4. Configuration Methods
  5. electron-rebuild (Recommended)
  6. node-gyp with Electron Headers
  7. electron-builder Integration
  8. N-API Configuration
  9. Prebuild Configuration
  10. Cross-Compilation
  11. Windows from macOS/Linux
  12. macOS ARM64 from x64
  13. Linux from macOS/Windows
  14. Common Native Modules
Ships with 1 file
  • README.md
Commands it runs
Set Electron headers for node-gyp
export npm_config_target=28.0.0
export npm_config_arch=x64
export npm_config_target_arch=x64
export npm_config_disturl=https://electronjs.org/headers
export npm_config_runtime=electron
export npm_config_build_from_source=true
npm install native-module
Using electron-rebuild with wine
npx @electron/rebuild --platform=win32 --arch=x64
More from babysitter
All skills →
About this skill
What does the electron-native-addon-builder skill do?

Build and bundle native Node.js addons for Electron with proper ABI compatibility, cross-compilation support, and rebuild automation

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill electron-native-addon-builder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going