modern-javascript-patterns

Installation
Summary

ES6+ syntax and functional programming patterns for writing clean, modern JavaScript.

  • Master arrow functions, destructuring, spread operators, template literals, and enhanced object syntax for concise, readable code
  • Implement async/await and Promise patterns for handling asynchronous operations, with combinators like Promise.all and Promise.race
  • Apply functional programming techniques including map, filter, reduce, higher-order functions, composition, and pure functions for data transformation
  • Use modern features like optional chaining, nullish coalescing, generators, iterators, and modules for robust, maintainable applications
  • Optimize performance with debouncing, throttling, memoization, and lazy evaluation patterns
SKILL.md

Modern JavaScript Patterns

Comprehensive guide for mastering modern JavaScript (ES6+) features, functional programming patterns, and best practices for writing clean, maintainable, and performant code.

When to Use This Skill

  • Refactoring legacy JavaScript to modern syntax
  • Implementing functional programming patterns
  • Optimizing JavaScript performance
  • Writing maintainable and readable code
  • Working with asynchronous operations
  • Building modern web applications
  • Migrating from callbacks to Promises/async-await
  • Implementing data transformation pipelines

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Installs
15.4K
Repository
wshobson/agents
GitHub Stars
37.2K
First Seen
Jan 20, 2026
modern-javascript-patterns — wshobson/agents