Use when extracting an in-app Electron native-module integration (N-API addon + build scripts + packaging config + release CI) into a standalone, source-distributed npm library — or when authoring such a library from scratch. Covers the ABI/install-script traps, node-gyp rebuild semantics, macOS rpath depth, electron-builder packaging excludes, composite GitHub Action hygiene, and the dogfood migration back into the source app.
$npx -y skills add innei/skill --skill electron-native-lib-extractionInstalls into the current project.
Run `npx skills use "https://github.com/innei/skill" --skill "innei/skill/electron-native-lib-extraction"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/innei/skill" that are relevant to the current task. Run `npx skills add "https://github.com/innei/skill"` and select the relevant skills, then follow their instructions.