electron-native-addon-builder
Build and bundle native Node.js addons for Electron with proper ABI compatibility, cross-compilation support, and rebuild automation
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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"
- Capabilities
- Input Schema
- Output Schema
- Configuration Methods
- electron-rebuild (Recommended)
- node-gyp with Electron Headers
- electron-builder Integration
- N-API Configuration
- Prebuild Configuration
- Cross-Compilation
- Windows from macOS/Linux
- macOS ARM64 from x64
- Linux from macOS/Windows
- Common Native Modules
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
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.
