JavaScript Idioms and Patterns

Community

Write modern, safe, idiomatic JavaScript.

Authorirahardianto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents inconsistent or fragile JavaScript code by guiding AI agents to produce modern ES module style, predictable async logic, and clearer error handling.

Core Features & Use Cases

  • ES modules over CommonJS: prefer import/export for contemporary JavaScript codebases.
  • Robust async/await patterns: use async/await, Promise.all for parallel I/O, and avoid unhandled promise rejections.
  • Safer maintainability conventions: enforce const defaults, discourage var, encourage destructuring, and require domain-specific error classes rather than vague errors.

Quick Start

Use the JavaScript idioms skill to rewrite a Node.js service so it follows ES module conventions, uses async/await with parallel I/O, and includes domain error classes for missing resources.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: JavaScript Idioms and Patterns
Download link: https://github.com/irahardianto/awesome-agv/archive/main.zip#javascript-idioms-and-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.