What problem does it solve? Node.js applications frequently fail with cryptic runtime errors like unhandled promise rejections, ESM/CommonJS conflicts, memory leaks, and event loop blocking. This Skill provides structured playbooks and diagnostic commands to identify and resolve these issues quickly. ## Core Features & Use Cases - Async & Promise Debugging: Fix unhandled rejections, use Promise.allSettled for batch operations, and trace warnings with Node.js flags. - Module System Resolution: Resolve ESM vs CommonJS conflicts using package.json configuration and dynamic imports. - Performance & Memory Diagnostics: Profile with --prof and --inspect, monitor heap usage, and handle streams with proper backpressure. - Use Case: Your Express server crashes in production with "JavaScript heap out of memory". Use this Skill to run memory diagnostics, identify the leak from missing listener cleanup, and apply the fix with graceful shutdown handlers. ## Quick Start Ask the AI to diagnose why your Node.js server is throwing unhandled promise rejection errors and suggest a fix.