This one enforces modern JavaScript standards across ES2023+ projects, with a strong stance on async/await over callbacks and ESM over mixed module systems. It's built for vanilla JS work, Node.js backends, and browser APIs, with a five-step workflow that won't let you proceed past linting or coverage failures until you fix them. The constraint list is opinionated in a good way: no var, no synchronous I/O, no parameter mutation. Includes reference docs for async patterns, modules, and browser APIs. If you're tired of codebases that mix require() with import or skip error handling in async functions, this codifies the discipline to prevent that drift.

skills.sh installs
6.4K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill javascript-pro --agent claude-code

Installs into .claude/skills of the current project.

Files

JavaScript Pro

When to Use This Skill

  • Building vanilla JavaScript applications
  • Implementing async/await patterns and Promise handling
  • Working with modern module systems (ESM/CJS)
  • Optimizing browser performance and memory usage
  • Developing Node.js backend services
  • Implementing Web Workers, Service Workers, or browser APIs

Core Workflow

  1. Analyze requirements — Review package.json, module system, Node version, browser targets; confirm .js/.mjs/.cjs conventions
  2. Design architecture — Plan modules, async flows, and error handling strategies
  3. Implement — Write ES2023+ code with proper patterns and optimisations
  4. 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
  5. Test — Write comprehensive tests with Jest achieving 85%+ coverage; if coverage falls short, add missing cases and re-run. Confirm no unhandled Promise rejections

Reference Guide

Load detailed guidance based on context:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Debugging, Automation & Workflows

More from jeffallan/claude-skills

All 66
1testdino-hq avatarplaywright-skilltestdino-hq/playwright-skillBattle-tested Playwright patterns for writing, debugging, and scaling reliable test suites. Use when you need guidance for E2E, API, component, visual, accessib6.2Kskills.sh installs
2jamditis avatarweb-scrapingjamditis/claude-skills-journalismAuthorized web content extraction with trust-boundary controls, scraping cascades, poison-pill detection, browser rendering, observed API analysis, and social-m6.2Kskills.sh installs
3mongodb avatarmongodb-search-and-aimongodb/agent-skillsGuides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when us6.2Kskills.sh installs
4openai avatarfigmaopenai/skillsUse the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when6Kskills.sh installs
5jeffallan avatarcode-documenterjeffallan/claude-skillsGenerates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides. Use wh6Kskills.sh installs
6forcedotcom avataragentforce-generateforcedotcom/sf-skillsBuild, modify, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, modifies, optimizes, or asks about .agent files or a6Kskills.sh installs