mcpField
J
javascript

javascript

github.com/bseneDevelopment744 installsUpdated 1w ago
Repository

About javascript

A skill for coding agents that defines idiomatic JavaScript conventions and on-demand ECMAScript history guidance. For TypeScript work, it is intended to be used alongside the `typescript` skill.

Key features

  1. 01Naming and variable conventions
  2. 02Prefer explicit parameters over `this`
  3. 03Avoid barrel files
  4. 04Reduce intermediate arrays on hot paths
  5. 05Distinguish `undefined` from `null`

Use cases

  1. 01Standardize JavaScript code style
  2. 02Review array chains in hot paths
  3. 03Check an ECMAScript feature's edition
  4. 04Apply JavaScript rules alongside TypeScript rules

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bsene/skills --skill javascript

After installing, type/javascriptin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
ecmascript-history.md
rules/
avoid-intermediate-arrays.md
js-general-conventions.md
no-barrel-files.md
null-undefined.md
prefer-explicit-context-over-this.md

Details

From the project README

JavaScript

Conventions and rules for idiomatic JavaScript. TypeScript builds on these — when working in TS, apply both this skill and typescript.

Rules (always apply)

RuleFile
Use JavaScript general conventions (naming, const/let, destructuring, template literals)rules/js-general-conventions.md
Prefer explicit context (params) over implicit thisrules/prefer-explicit-context-over-this.md
Do not use barrel files (index.js/index.ts re-exports)rules/no-barrel-files.md
Avoid intermediate arrays on hot paths (filter().map() chains)rules/avoid-intermediate-arrays.md
undefined for absence, null for API/external contractsrules/null-undefined.md

Read On Demand

  • ECMAScript edition history (ES1 1997 → ES2025): see references/ecmascript-history.md. Use when judging which edition first shipped a feature, what needs a polyfill on older runtimes, or which syntax is safe for a target environment.

Specialist Skills

SituationSkillWhy
TypeScript-specific features (types, generics, as const, readonly)typescriptType-system rules on top of JS conventions
Function composition, pipe, currying, FP patternscomposing-softwareFP-flavored design beyond raw JS idioms
OOP / SOLID / design patternsobject-oriented-programmingClass-based architecture

Comments

Markdown supported