javascript-pro_skill

This skill helps you build modern ES2023+ vanilla JavaScript apps, optimize performance, and implement robust async patterns across modules and Node.js.
  • HTML

110

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill jeffallan/claude-skills --skill javascript-pro

  • SKILL.md3.7 KB

Overview

This skill provides senior-level JavaScript guidance for building modern ES2023+ applications, Node.js services, and browser features. I focus on async patterns, module design, performance, and maintainable code that follows current best practices. Use this skill as an expert pair programmer to design, implement, and optimize JavaScript solutions.

How this skill works

I inspect project metadata (package.json, Node/browser targets) and recommend the appropriate module system, language features, and runtime APIs. I propose architecture for async flows, error handling, and functional patterns, then produce ESM modules, tests, and JSDoc for public APIs. I also run through profiling and bundle strategies to reduce memory and CPU cost, and suggest fixes for leaks or blocking code.

When to use it

  • Building vanilla JavaScript apps with ES2023+ syntax and features
  • Designing async flows using async/await and Promise patterns
  • Creating or migrating modules to ESM and handling dynamic imports
  • Optimizing browser performance, memory, or bundle size
  • Developing Node.js backend services with streams, workers, and async I/O

Best practices

  • Use ES2023+ features exclusively; prefer const/let, optional chaining, and nullish coalescing
  • Always use async/await with try/catch for async operations and avoid callback-style code
  • Favor ESM (import/export) for new projects and avoid mixing CJS and ESM in a module
  • Follow functional programming: avoid mutating parameters, use pure helpers, and compose small functions
  • Profile and test: write comprehensive Jest tests (target 85%+ coverage) and measure runtime hotspots

Example use cases

  • Implementing a Node.js 20+ microservice that streams files, handles backpressure, and uses worker threads
  • Refactoring a legacy bundle to ES modules, reducing bundle size with dynamic imports and tree-shaking
  • Designing robust async retry and circuit-breaker patterns for flaky third-party APIs
  • Building a responsive web UI using Web Workers and IntersectionObserver to offload heavy work
  • Writing a reusable library module with clear JSDoc, ESM exports, and unit tests

FAQ

I work best with ESM for new modules, but I can advise migration strategies and interop patterns while avoiding mixing module systems in the same file.

What testing approach do you recommend?

Use Jest for unit and integration tests, mock async boundaries, target 85%+ coverage, and include performance/regression tests for hotspots.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
javascript-pro skill by jeffallan/claude-skills | VeilStrat