What problem does it solve? Writing and debugging modern JavaScript across Node.js and browser environments is error-prone, especially around async behavior, event loops, and cross-runtime compatibility. This Skill provides expert guidance for building, debugging, and migrating JavaScript code using current standards. ## Core Features & Use Cases - Modern JavaScript Implementation: Applies ES6+ features like destructuring, modules, and classes with proper error handling and JSDoc comments. - Async Pattern Guidance: Uses async/await, promises, and generators while preventing race conditions and callback hell. - Runtime Compatibility: Supports both Node.js and browser targets with polyfill strategies and cross-browser considerations. - Use Case: When migrating a legacy callback-based Node.js service to modern async/await, this Skill restructures the code, adds error boundaries, and includes Jest tests with async test patterns. ## Quick Start Ask the assistant to refactor your legacy JavaScript file into modern ES6+ code with async/await and Jest tests.