Tooluck logoTooluck
SKILL.md

javascript-pro

Agent skill fromJeffallan/claude-skills

Writes, debugs, and refactors JavaScript code using modern ES2023+ features, async/await patterns, ESM module systems, and Node.js APIs. Use when building vanilla JavaScript applications, implementing Promise-based async flows, optimising browser or Node.js performance, working with Web Workers or Fetch API, or reviewing .js/.mjs/.cjs files for correctness and best practices.

How to install javascript-pro

install javascript-pro
# install the claude-skills pack with the skills CLI
npx skills add Jeffallan/claude-skills

# or add only this skill to Claude Code: copy the folder

skills/javascript-pro/

# into

~/.claude/skills/javascript-pro/ (all projects)

.claude/skills/javascript-pro/ (one project)

skills/javascript-pro/SKILL.md

MITFull file
1# JavaScript Pro
2
3## When to Use This Skill
4
5- Building vanilla JavaScript applications
6- Implementing async/await patterns and Promise handling
7- Working with modern module systems (ESM/CJS)
8- Optimizing browser performance and memory usage
9- Developing Node.js backend services
10- Implementing Web Workers, Service Workers, or browser APIs
11
12## Core Workflow
13
141. **Analyze requirements** — Review `package.json`, module system, Node version, browser targets; confirm `.js`/`.mjs`/`.cjs` conventions
152. **Design architecture** — Plan modules, async flows, and error handling strategies
163. **Implement** — Write ES2023+ code with proper patterns and optimisations
174. **Validate** — Run linter (`eslint --fix`); if linter fails, fix all reported issues and re-run before proceeding. Check for memory leaks with DevTools or `--inspect`, verify bundle size; if leaks are found, resolve them before continuing
185. **Test** — Write comprehensive tests with Jest achieving 85%+ coverage; if coverage falls short, add missing cases and re-run. Confirm no unhandled Promise rejections
19
20## Reference Guide
21
22Load detailed guidance based on context:
23
24| Topic | Reference | Load When |
25|-------|-----------|-----------|
26| Modern Syntax | `references/modern-syntax.md` | ES2023+ features, optional chaining, private fields |
27| Async Patterns | `references/async-patterns.md` | Promises, async/await, error handling, event loop |
28…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates