with one click
javascript
JavaScript best-practices and rule enforcement — naming conventions, modern syntax idioms, `this`-handling, module structure, array/iteration performance, and nullability. Applies to plain JavaScript and is the foundation TypeScript builds on. TRIGGER when: language (JavaScript, JS, .js, .mjs, .cjs, Node.js, browser JS, ES modules, ESM, CommonJS), syntax (const/let, destructuring, template literals, optional chaining, nullish coalescing, arrow functions), patterns (this binding, callback, detached method, pure function vs method, module imports, barrel file, index.js), performance (array chains, filter().map(), intermediate arrays, hot path, GC pressure), nullability (null vs undefined, absence, sentinel value, == null check), naming (camelCase, PascalCase, kebab-case, boolean prefix), ask (idiomatic JavaScript, JS conventions, JS best practices, JS code review). ALSO APPLIES to TypeScript — it is the foundation TS builds on; load it alongside `typescript` on `.ts`/`.tsx`. For type-specific rules (type assert
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.