Modern Javascript Patterns
Master ES6+ features including async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns for writing clean, efficient JavaScript code. Use when refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications.
- Type
- Skill
- Author
- wshobson
- Category
- Frontend
- GitHub stars
- 41.8K
- Installs
- 21.7K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/wshobson/agents --skill modern-javascript-patternsUse cases
- Refactor legacy JavaScript code to use async/await and destructuring.
- Apply modern patterns like spread operators and arrow functions in new projects.
- Optimize JavaScript applications with functional programming and modules.
Frequently Asked Questions
What ES6+ features does this skill cover?
It covers async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns.
When should I use this skill?
Use it when refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications.
Does it apply to TypeScript projects?
Yes, it fits JavaScript and TypeScript projects that want more idiomatic code.
About this skill
Covers ES6+ JavaScript features such as async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional patterns. It is aimed at refactoring legacy code or applying modern patterns in new work. Fits JavaScript and TypeScript projects that want more idiomatic code.
Summary written with AI assistance from the project's public description.
More from wshobson
Typescript Advanced Types
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building typ...
by wshobson
Tailwind Design System
Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns. Use when creating component librar...
by wshobson
Nodejs Backend Patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database in...
by wshobson
Brand Landingpage
Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished...
by wshobson
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh