JavaScript Language Patterns - Modern JavaScript patterns for clean and maintainable code
Provides ES2022+ language patterns for clean JavaScript code
Tags
Updated: 2026-02-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- apply const and let declarations
- use arrow functions for callbacks
- implement async/await with try/catch
- use object destructuring and spread
- apply template literals for strings
- use map, filter, reduce methods
- import/export ESM modules
- use private class fields
Inputs
- JavaScript files (*.js, *.mjs, *.cjs)
- ES2022+ codebase
Outputs
- modern JavaScript code patterns
- clean and maintainable code
Requirements
- ES2022+ environment
- JavaScript runtime
