nodejs-expert

Diagnose Node.js runtime issues including event loop stalls and memory leaks.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/diendh/Ferro-VPN --skill nodejs-expert-diendh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nodejs-expert
Source: https://github.com/diendh/Ferro-VPN/tree/main/.agent/skills/nodejs-expert
Command: npx skills add https://github.com/diendh/Ferro-VPN --skill nodejs-expert-diendh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node.js development often struggles with performance, asynchronous patterns, and module resolution issues that obscure root causes and slow delivery. This skill provides structured guidance to diagnose and fix runtime and ecosystem problems quickly.

Core Features & Use Cases

  • Async & Promise debugging: trace and fix unhandled rejections, race conditions, and callback hell.
  • Module system & packaging: diagnose ESM/CJS issues, package resolution, and startup times.
  • Performance & memory: identify event-loop stalls, memory leaks, and bottlenecks in CPU-bound tasks.
  • HTTP server tuning: optimize timeouts, concurrency, and error handling for Node-based services.

Quick Start

Describe the issue, run the recommended diagnostics, and implement fixes.

Frequently Asked Questions about nodejs-expert

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

FAQPage Schema
How do I debug Node.js event loop stalls and memory leaks?

Debug Node.js event loop stalls and memory leaks by applying diagnostic patterns and memory profiling techniques to identify bottlenecks in CPU-bound tasks and isolate retained references. This skill provides structured guidance and code examples to trace and fix these runtime performance issues quickly.

What is the best way to trace unhandled Promise rejections in Node.js?

Tracing unhandled Promise rejections in Node.js requires async debugging patterns that monitor rejection events and trace race conditions. This skill provides diagnostic patterns to resolve asynchronous errors, eliminate callback hell, and stabilize server-side JavaScript reactivity.

How do I fix ESM and CJS module resolution problems in Node?

Fix ESM and CJS module resolution problems in Node by diagnosing package resolution conflicts and optimizing startup times. This skill offers best practices and code examples to diagnose ecosystem module system issues and ensure correct server-side JavaScript packaging.

How do I tune an HTTP server in Node.js for better concurrency?

Tune an HTTP server in Node.js for better concurrency by optimizing timeouts, connection handling, and error management. This skill provides best practices for HTTP server tuning to maximize throughput and stability in Node-based services.

Why does my Node.js application experience high CPU usage on idle?

Node.js applications experiencing high CPU usage on idle often suffer from event-loop stalls or hidden CPU-bound tasks blocking the runtime. This skill helps identify these bottlenecks through diagnostic patterns and memory profiling to restore asynchronous reactivity.