wshobson avatar

Modern Javascript Patterns

Modern JavaScript Patterns provides developers with a comprehensive guide to ES6+ features including arrow functions, destructuring, async/await, promises, and functional programming techniques for writing clean and maintainable code. The skill is designed for developers refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications. It solves the problem of keeping JavaScript code current with modern standards while improving readability, performance, and maintainability.

skills.sh installs
23.3K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill modern-javascript-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

Best Practices

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Documentation, Code Review & Quality

More from wshobson/agents

All 174
1langfuse avatarlangfuselangfuse/skillsInteract with Langfuse and access its documentation. Use when needing to (1) query or modify Langfuse data programmatically via the CLI — traces, prompts, datas20.9Kskills.sh installs
2cloudai-x avatarthreejs-shaderscloudai-x/threejs-skillsThree.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or ext19.7Kskills.sh installs
3shopify avatarshopify-adminshopify/shopify-ai-toolkitWrite or explain **Admin GraphQL** queries and mutations for apps and integrations that extend the Shopify admin. Use when the user wants to **understand, desig17.8Kskills.sh installs
4warpdotdev avatarreadoutwarpdotdev/common-skillsProduce a polished, self-contained HTML "readout" document under ~/.readouts (with an auto-maintained index page), either by snapshotting the findings accumulat17.7Kskills.sh installs
5wshobson avataropenapi-spec-generationwshobson/agentsGenerate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns. Use when creating API documentation, generating SDKs, o17Kskills.sh installs
6tw93 avatarwritetw93/wazaRewrites and polishes prose in Chinese or English, removes AI-like wording, and reviews product localization copy while preserving intent for drafts, docs, rele15.9Kskills.sh installs