Skip to content
Back to skills

Javascript Patterns

ASecurity

JavaScript patterns for modern syntax, async, ESM and CJS, and errors. Load before any edit to a .js, .mjs, .cjs, or .jsx file or package.json, however small, and for JavaScript questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 5, 2026
ai-agentsjavascripttypescriptjavanode

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill javascript-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Javascript Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Javascript Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-javascript-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-javascript-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: javascript-patterns
description: JavaScript patterns for modern syntax, async, ESM and CJS, and errors. Load before any edit to a .js, .mjs, .cjs, or .jsx file or package.json, however small, and for JavaScript questions.
---

# JavaScript patterns

Default assumption: Node.js 26 "Lithium", the Active LTS, and ECMAScript 2026, per the Node.js release schedule and the ECMA-262 releases.

A Node row applies when the project's Node version, from `engines.node`, `.nvmrc`, or `.tool-versions`, is at least its version. An ES row applies when that Node version or the browser target supports the edition. A project that also uses TypeScript gets typescript-patterns on top.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                                                                         | Read                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing JavaScript, or raising the Node version                                                                                                | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing JavaScript code                                                                                                | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing a module, an error, async code, a collection, syntax such as `?.`, `??=`, destructuring, or `Object.hasOwn`, JSDoc, or an install step | [reference/practices.md](reference/practices.md)         |
| Configuring or running ESLint, its plugins, or Prettier                                                                                        | [reference/tooling.md](reference/tooling.md)             |
| Writing or changing `package.json`                                                                                                             | [reference/package-json.md](reference/package-json.md)   |

Files in this skill

  • SKILL.md3.3 KB
  • reference/anti-patterns.md4 KB
  • reference/async.md1.8 KB
  • reference/collections.md1.6 KB
  • reference/equality-and-numbers.md2.4 KB
  • reference/errors.md3.1 KB
  • reference/jsdoc.md1.8 KB
  • reference/modules.md2.2 KB
  • reference/syntax.md5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.