javascript-pro

Implement ES2023+ JavaScript applications with async/await and Jest tests.

14|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/alexander-danilenko/ai-skills --skill javascript-pro-alexander-danilenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: javascript-pro
Source: https://github.com/alexander-danilenko/ai-skills/tree/main/skills/javascript-pro
Command: npx skills add https://github.com/alexander-danilenko/ai-skills --skill javascript-pro-alexander-danilenko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Help developers build and maintain modern JavaScript applications using ES2023+ language features, robust asynchronous patterns, and production-ready Node.js services while avoiding common performance and reliability pitfalls.

Core Features & Use Cases

  • Expert guidance on implementing async/await patterns, Promise composition, and cancellation using AbortController.
  • Best practices for ESM module design, dynamic imports, package.json exports, and CJS interoperability.
  • Performance and memory optimization techniques for browser and Node environments, including Web Workers and worker threads.
  • Use Case: Migrate a legacy CommonJS codebase to ESM, introduce top-level await for startup tasks, add proper error handling, and write Jest tests to achieve high coverage.

Quick Start

Use the javascript-pro skill to implement an ES2023 module that fetches and processes JSON with async/await, optional chaining, and comprehensive error handling.

Frequently Asked Questions about javascript-pro

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

FAQPage Schema
How do I migrate a legacy CommonJS codebase to ESM in Node.js?

Migrating CommonJS to ESM requires configuring package.json exports, handling CJS interoperability, and enforcing ESM syntax with dynamic imports to ship robust ES2023 Node.js solutions.

How do I implement async/await cancellation using AbortController in JavaScript?

Implement async/await cancellation using AbortController by composing Promises and structured error handling to build robust asynchronous flows in ES2023 JavaScript applications.

What is the best way to optimize JavaScript performance with Web Workers?

Optimize JavaScript performance with Web Workers by utilizing worker-based concurrency scenarios and applying memory optimization techniques for both browser and Node.js environments.

Does this approach support top-level await for Node.js 20+ startup tasks?

Yes, this approach supports top-level await for Node.js 20+ startup tasks by enforcing ESM, async/await, optional chaining, and nullish coalescing to implement modern ES2023 JavaScript applications.

How do I write Jest tests for ES2023 modules with structured error handling?

Write Jest tests for ES2023 modules by enforcing comprehensive test coverage alongside structured error handling, JSDoc comments, and nullish coalescing within your robust asynchronous flows.