Skip to content
SkillModel-led1,007 tokens in use

JavaScript Pro

Writes and reviews modern JavaScript: ES2023+ syntax, async/await error handling, ESM modules, browser APIs, Web Workers and Node.js, checked with ESLint and Jest.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/javascript-pro
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing JavaScript Pro costs

82tokens idle
1,007tokens in use
11,577tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

networkdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure22/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Reaches the network−10

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 77

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

JavaScript Pro guides Claude through vanilla JavaScript work in five steps: read package.json and the module setup, design modules and async flows, implement with ES2023+ features, validate with ESLint and memory checks, and test with Jest. A failing linter, a leak or short coverage sends the agent back to fix it before moving on.

Five reference files cover modern syntax, async patterns, module systems, browser APIs and Node.js essentials.

What You Get

  • Modules with named exports, JSDoc on public APIs and a short note on the patterns used
  • Async code with try/catch, Promise combinators, AbortController cancellation and queues
  • ESM and CommonJS guidance covering dynamic imports, package exports and import maps
  • Browser code for Fetch, Web Workers, Service Workers, storage and observers
  • Node.js code for fs/promises, streams, EventEmitter, worker threads and an HTTP server
  • Jest tests aimed at 85 percent coverage with no unhandled rejections

Common Use Cases

  • Building a vanilla JavaScript app with modern syntax
  • Fixing unhandled Promise rejections and callback-style code
  • Moving a CommonJS package to ESM with package.json exports
  • Moving heavy browser work into a Web Worker
  • Writing a Node.js service on fs/promises and streams

What Makes It Unique

It is a vanilla JavaScript skill with no framework attached, and it pairs every rule with a correct and an incorrect example. The workflow gates progress on ESLint with auto-fix, a memory-leak check with DevTools or the inspect flag, a bundle size check and Jest coverage, and the constraints ban var, callbacks, mixed module systems and synchronous Node I/O.

Under The Hood

The skill is a SKILL.md with five reference files and no scripts, and the references load by topic. The workflow tells the agent to run eslint with the fix flag, inspect memory with DevTools or the Node inspect flag and run Jest, so it uses the shell and edits source and test files. The examples call fetch against API endpoints, the Node reference shows child processes started with exec, spawn and execFile, and a browser import-map example loads a package from a CDN. One example reads an API key from an environment variable. The skill does not tell the agent to browse the web.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers