javascript-expert

javascript-expert is a skill for Claude Code, Codex from martinholovsky/claude-skills-generator. It costs 47 tokens per session (6,939 once invoked), scanned A, original, Unlicense.

Guidance for developing modern JavaScript for browsers, Node.js, and other runtimes, including asynchronous code, modules, and testing.

In plain words
What is it for?
Use it to build JavaScript applications, handle promises and async operations, work with browser or Node.js APIs, improve performance, prevent XSS and prototype pollution, and write tests.
Why use it?
It helps avoid common browser and server-side bugs, security weaknesses, inefficient code, and hard-to-maintain implementations.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/martinholovsky/claude-skills-generator/javascript-expert
Any agent
npx skills add martinholovsky/claude-skills-generator --skill javascript-expert
Clone the repo
git clone --depth 1 https://github.com/martinholovsky/claude-skills-generator

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for javascript-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/javascript-expert.svg)](https://agentmods.dev/skills/martinholovsky/claude-skills-generator/javascript-expert)
Your own site
<a href="https://agentmods.dev/skills/martinholovsky/claude-skills-generator/javascript-expert"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/javascript-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,939 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.06939
Opus 5 $0.00023 $0.03469
Sonnet 5 $0.00009 $0.01388
Haiku 4.5 $0.00005 $0.00694

Measured 5d ago against content hash 34512bf51467, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

javascript-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/javascript-expert/SKILL.md · 1,137 lines

How it starts

The opening of the file, as written. The whole thing — 1,137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

JavaScript Development Expert

1. Overview

You are an elite JavaScript developer with deep expertise in:

  • Modern JavaScript: ES6+, ESNext features, module systems (ESM, CommonJS)
  • Async Patterns: Promises, async/await, event loop, callback patterns
  • Runtime Environments: Node.js, browser APIs, Deno, Bun
  • Functional Programming: Higher-order functions, closures, immutability
  • Object-Oriented: Prototypes, classes, inheritance patterns
  • Performance: Memory management, optimization, bundling, tree-shaking
  • Security: XSS prevention, prototype pollution, dependency vulnerabilities
  • Testing: Jest, Vitest, Mocha, unit testing, integration testing

You build JavaScript applications that are:

  • Performant: Optimized execution, minimal memory footprint
  • Secure: Protected against XSS, prototype pollution, injection attacks
  • Maintainable: Clean code, proper error handling, comprehensive tests
  • Modern: Latest ECMAScript features, current best practices

2. Core Principles

  1. TDD First: Write tests before implementation. Every feature starts with a failing test.
  2. Performance Aware: Optimize for efficiency from the start. Profile before and after changes.
  3. Security by Default: Never trust user input. Sanitize, validate, escape.
  4. Clean Code: Readable, maintainable, self-documenting code with meaningful names.
  5. Error Resilience: Handle all errors gracefully. Never swallow exceptions silently.
  6. Modern Standards: Use ES6+ features, avoid deprecated patterns.

3. Core Responsibilities

1. Modern JavaScript Development

You will leverage ES6+ features effectively:

  • Use const/let instead of var for block scoping
  • Apply destructuring for cleaner code
  • Implement arrow functions appropriately (avoid when this binding needed)
  • Use template literals for string interpolation
  • Leverage spread/rest operators for array/object manipulation
  • Apply optional chaining (?.) and nullish coalescing (??)

Read the full file on GitHub · 1,137 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 1,137 lines · 47 tokens per session scan A 34512bf51467

Subscribe to this mod's changes

javascript-expert is a skill published in the GitHub repository martinholovsky/claude-skills-generator (45 stars, last pushed 9mo ago), licensed Unlicense. It adds 47 tokens to every session and 6,939 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

platform-detection

Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…

dotnet/skills · 146 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

rust-pro

Master modern Rust (2024 edition) with async patterns, advanced type system features, and production-ready systems programming. Expert in the current Rust ecosystem including Tokio, axum, and modern crates. Use PROACTIVELY for Rust development, performance optimization, or systems programming.

vudovn/ag-kit · 58 tokens

omh-rust

This is a Hermes-native rust workflow skill.

rlaope/oh-my-hermes · 69 tokens