# Modern JavaScript Patterns (agent skill)

> Modern JavaScript Patterns is an agent skill (a SKILL.md file) from wshobson/agents. Master ES6+ features including async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns for writing clean. It works with Claude Code, Codex, Cursor, GitHub Copilot and OpenCode and has 41,725 GitHub stars across a repository of 7 listed skills.

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. Comprehensive guide for mastering modern JavaScript (ES6+) features, functional programming patterns, and best practices for writing clean, maintainable, and performant code.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/wshobson/agents |
| Skill path | plugins/javascript-typescript/skills/modern-javascript-patterns/SKILL.md |
| Skill name | modern-javascript-patterns |
| GitHub stars | 41,725 |
| Installs on skills.sh | 2 |
| License | MIT |
| Skills in repo | 7 |
| Plugin marketplace | claude-code-workflows |
| Official | no |
| Works with | Claude Code, Codex, Cursor, GitHub Copilot, OpenCode |
| Category | Coding |
| Last commit | Oct 17, 2026 |

## When it triggers

- Use when refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications.

## Add this skill

### Claude Code

```sh
/plugin marketplace add wshobson/agents
/plugin install javascript-typescript@claude-code-workflows
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/wshobson/agents.git
cp -r agents/plugins/javascript-typescript/skills/modern-javascript-patterns .agents/skills/modern-javascript-patterns   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/wshobson/agents.git
cp -r agents/plugins/javascript-typescript/skills/modern-javascript-patterns .cursor/skills/modern-javascript-patterns   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/wshobson/agents/modern-javascript-patterns

---

Canonical page: https://appsgit.com/skills/wshobson-modern-javascript-patterns
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
