Codex skills for JavaScript

These skills work on the language and its packaging rather than one framework: modern built-ins, CommonJS to ESM moves, bundle size, Web Workers, semver and npm supply chain controls. Codex checks your browserslist and Node engines before using a newer API, and measures bundle weight and main-thread time before and after a change instead of assuming the win.

23 more JavaScript skills

Every JavaScript skill in one command

Installs these 26 into ~/.agents/skills/. Add --project after -- to install into the current repository instead.

The installer is a 104-line POSIX shell script. It fetches the skills you name from codexskills.dev and unpacks each into its own folder in your skills directory. No sudo, no telemetry, and every skill page shows the full SKILL.md first. Read install.sh

curl -fsSL codexskills.dev/install.sh | sh -s -- javascript-modern bun-runtime deno-apps node-streams node-esm-migration node-profiling hono-edge-api eslint-setup codex-sdk-automation dependency-upgrades semantic-versioning regex-crafting express-api gemini-api release-automation supply-chain-security jest-testing bundle-size-reduction memory-leak-hunting cli-tool-building fastify-api nestjs-modules typescript-declaration-files llm-streaming cypress-e2e web-workers

JavaScript FAQ

Is there a Codex skill for migrating a Node package from CommonJS to ESM?

Node ESM Migration chooses ESM-only or a dual build from the Node versions you support, taking into account that Node 20.19+ and 22.12+ can require() ES modules without flags. It replaces __dirname with import.meta.dirname, writes an exports map with types first and default last, and a bundled checker confirms every export target exists and loads before the packed tarball is tested from real ESM and CommonJS consumers.

Can Codex replace lodash and moment with built-in JavaScript?

Modern JavaScript swaps them for platform built-ins such as structuredClone, Object.groupBy, toSorted and Intl, one call site at a time, after reading browserslist, engines and the transpiler setup. It separates syntax a compiler can down-level from runtime APIs that need real support, and flags traps such as replacing || with ?? where a 0 or empty string used to fall back to the default.

Do these skills cover npm supply chain security?

Supply Chain Security applies controls in the order that stops real attacks: frozen lockfile installs, install scripts off by default, explicit registry scoping against dependency confusion, SHA-pinned GitHub Actions and release cooldowns. It then adds SBOMs, keyless cosign signatures and artifact attestations, and wires verification into the deploy path. Semantic Versioning complements it by classifying each change, including narrowed TypeScript types, before proposing a version bump.

How do I install all 26 JavaScript skills at once?

Pass every name to the installer in one command: curl -fsSL https://codexskills.dev/install.sh | sh -s -- javascript-modern bun-runtime deno-apps node-streams node-esm-migration node-profiling hono-edge-api eslint-setup codex-sdk-automation dependency-upgrades semantic-versioning regex-crafting express-api gemini-api release-automation supply-chain-security jest-testing bundle-size-reduction memory-leak-hunting cli-tool-building fastify-api nestjs-modules typescript-declaration-files llm-streaming cypress-e2e web-workers. Add --project right after -- to put them in the current repository's .agents/skills/ so your team gets them too.

Which JavaScript skill should I try first?

Modern JavaScript is the closest fit for most JavaScript work. Mention it with $javascript-modern in a prompt to load it on purpose; after that, Codex picks it up on its own whenever a task matches.

esc