nodejs-expert

Diagnose Node.js runtime issues and optimize async patterns and server performance.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node.js runtime debugging and performance optimization across async patterns, module systems, and networking to help diagnose event loop stalls, memory leaks, and HTTP server issues.

Core Features & Use Cases

  • Async & Promises debugging and patterns
  • Module system and packaging guidance
  • Performance tuning, memory management, and startup optimization
  • Filesystem and streams handling
  • Process management and graceful shutdown for servers

Quick Start

Diagnostically analyze a Node.js app to identify event loop delays, memory usage, and startup bottlenecks, then propose concrete 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 running diagnostic analysis to identify delays, memory usage patterns, and startup bottlenecks, then applying deterministic playbooks and concrete fixes for async patterns and server issues.

Why does my Node.js server hang during graceful shutdown?

Node.js server hangs during graceful shutdown occur when process management logic fails to resolve async patterns or close streams properly. Diagnostic analysis identifies the stalled async operations and provides concrete fixes for clean process termination.

Can I use this for performance tuning on Fastify and Express frameworks?

Yes, performance tuning applies to Node.js backend services across frameworks like Fastify, Express, and Koa. Environment detection checks framework presence, Node version, and package manager to provide framework-aware diagnostics and optimization guidance.

What's the best way to optimize Node.js startup bottlenecks?

Optimize Node.js startup bottlenecks by analyzing module resolution and filesystem handling to identify slow imports and blocking operations. Diagnostic playbooks provide concrete fixes for module systems and packaging to reduce initialization time.

How do I handle async promise debugging in Node.js CLI tools?

Handle async promise debugging in Node.js CLI tools by tracing unresolved promises and event loop delays. Diagnostic analysis identifies async pattern failures and provides deterministic code-review guidance for small CLI tools and backend services.

Does this work with CommonJS and ES module systems?

Yes, environment detection identifies the module type and provides module resolution guidance for both CommonJS and ES module systems. Diagnostic playbooks adapt to the detected package manager and module configuration to resolve packaging issues.