nodejs-core

Debug Node.js native addons with GDB/LLDB and analyze core dumps.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/novvoo/skill-router --skill nodejs-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nodejs-core
Source: https://github.com/novvoo/skill-router/tree/main/agent/skills/nodejs-core
Command: npx skills add https://github.com/novvoo/skill-router --skill nodejs-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides deep insights into Node.js core functionalities, enabling you to debug complex issues, optimize performance, and understand the underlying mechanisms of the Node.js runtime.

Core Features & Use Cases

  • Native Module Debugging: Diagnose crashes and memory leaks in C++ addons.
  • V8 & libuv Optimization: Tune V8 performance and understand libuv event loop behavior.
  • Build System Mastery: Troubleshoot node-gyp build failures and cross-compilation issues.
  • Use Case: You're experiencing a segmentation fault in a native Node.js addon. This Skill provides the commands and knowledge to debug the issue using GDB/LLDB, analyze core dumps, and identify the root cause in the C++ code.

Quick Start

Use the nodejs-core skill to debug a native module crash using GDB.

Frequently Asked Questions about nodejs-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a segfault in a Node.js native addon?

Debug a Node.js native addon segfault by using GDB or LLDB to analyze core dumps and inspect the C++ stack trace. This Skill provides the exact commands to identify the root cause of native module crashes.

How does the libuv event loop work in Node.js internals?

The libuv event loop in Node.js internals manages asynchronous I/O operations through a multi-phase execution model. This Skill explains event loop behavior to help you tune performance and understand underlying runtime mechanisms.

What is the best way to detect memory leaks in Node.js native modules?

Detecting memory leaks in Node.js native modules involves using performance profiling techniques and native debugging tools to trace C++ addon memory allocation. This Skill guides you through leak detection and root cause identification.

How do I troubleshoot node-gyp build failures for N-API addons?

Troubleshoot node-gyp build failures for N-API addons by configuring the build system and resolving cross-compilation issues. This Skill provides build system configuration guidance to address compilation errors and native addon setup.

Can I optimize V8 engine performance for a specific Node.js workload?

You can optimize V8 engine performance for a specific Node.js workload by applying in-depth tuning techniques to the JavaScript runtime. This Skill provides technical guidance on V8 optimization to achieve peak performance.