# javascript-pro

A Claude skill that steers the agent through modern JavaScript: ES6+, promises, the event loop, Node.js and browser APIs.

- skill · `type=skill` · Claude Code · 79 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/javascript-pro
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/javascript-pro

## What it does

Reach for this skill when you are writing or debugging JavaScript for Node.js or the browser, chasing down async behaviour, or moving old code onto current ES standards. The agent starts by pinning down runtime targets and constraints, then picks an async style and module system, writes the code with error handling in place, and checks performance against compatibility.

What you get is a set of instructions, not runnable scripts. The skill also states where it stops: no TypeScript architecture guidance, nothing for non-JS runtimes, no backend architecture calls. If your question is about how a service should be shaped rather than about the code itself, this is the wrong tool.

The approach favours `async/await` over promise chains, functional patterns where they fit, and bundle size when the code ships to a browser. Expected output includes modules with clean exports, async code guarded against race conditions, Jest tests, and a polyfill plan. JSDoc comments are part of the deal.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/javascript-pro
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill javascript-pro -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/javascript-pro/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/javascript-pro/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/javascript-pro/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/javascript-pro/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates javascript-pro
```

2. **Manually: put the files in place**
- File: `.github/skills/javascript-pro/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/javascript-pro
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/javascript-pro/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/javascript-pro

## When to use it
- convert promise chains to async/await
- trace why microtasks run before timers
- move legacy code onto ES modules
- pick polyfills for the browsers you target
- write Jest tests for async code without races

## Example prompts
- Rewrite this module with async/await and drop the nested callbacks
- Walk me through the event loop and microtasks — why does this run out of order?
- Convert this file to ES modules and add JSDoc

## Similar
- [migrate-to-shoehorn](https://affpapa.org/en/nevibecode/skills/migrate-to-shoehorn.md) — skill · 475388 installs
- [write-swift](https://affpapa.org/en/nevibecode/skills/write-swift.md) — skill · 119300 installs
- [megacave](https://affpapa.org/en/nevibecode/skills/megacave.md) — skill · 25400 installs
- [find-docs](https://affpapa.org/en/nevibecode/skills/find-docs.md) — skill · 9400 installs
- [typescript-advanced-types](https://affpapa.org/en/nevibecode/skills/typescript-advanced-types.md) — skill · 92169 installs
- [smart-explore](https://affpapa.org/en/nevibecode/skills/smart-explore.md) — skill · 7300 installs

## Other versions with the same name
- [javascript-pro · jeffallan](https://affpapa.org/en/nevibecode/skills/httpsgithubcomjeffallan-javascript-pro.md) — 6100 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 361 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
