skills/clawhub.ai/javascript

javascript

Installation
SKILL.md

User preferences and memory live in ~/Clawic/data/javascript/ (see setup.md on first use, memory-template.md for the file format). If you have data at an old location (~/javascript/ or ~/clawic/javascript/), move it to ~/Clawic/data/javascript/.

Configuration

User-dependent variables. Defaults apply until the user states a preference; store them in ~/Clawic/data/javascript/config.yaml.

Variable Type Default Effect
runtime_target node | browser | both node Selects which platform file applies by default (node.md vs browser.md) and which floor gates advice
node_floor number (Node major) from package.json engines, else 22 Gates every recommendation against the feature-floor table in modern.md; flags any API above the floor
module_system esm | cjs | dual esm Switches module guidance and import/export examples in modern.md; dual activates the dual-package hazard checks
browser_floor text (e.g. "Safari 16+", "last 2 years") none When set, gates syntax and API advice for browser-targeted code the way node_floor gates Node

Preference areas to record as the user reveals them:

  • tooling — package manager, bundler, test runner, lint/format stack — affects which commands and config examples are offered
  • conventions — style (semicolons, functional vs imperative iteration), error-handling shape (exceptions vs result values) — affects generated code and review verdicts
  • platform — Deno/Bun/edge runtimes, TypeScript presence, monorepo layout — affects which floors and module advice apply
  • safety posture — how proactively to flag legacy patterns (var, ==, callback APIs) in review vs only on request
Installs
1
First Seen
Aug 18, 2026
javascript from clawhub.ai