--- name: javascript-conventions description: >- JavaScript/Node.js tooling conventions. Use when working on JS/TS files, package.json, or Node.js projects. Enforce pnpm for package management. NOT for Python projects, backend-only work, or shell scripts. user-invocable: false disable-model-invocation: false license: MIT metadata: author: wyattowalsh version: "1.0.0" --- # JavaScript/Node.js Conventions Apply these conventions when working on JavaScript or Node.js files or projects. ## Dispatch | $ARGUMENTS | Action | |------------|--------| | Active (auto-invoked when working on JS/TS files) | Apply all conventions below | | Empty | Display convention summary | | `check` | Verify package manager compliance only | ## References | File | Purpose | |------|---------| | `references/edge-cases.md` | Repo-specific exceptions and edge cases | ## Package Management - Use `pnpm` for all Node.js package management - Do not use `npm` or `yarn` unless the project explicitly requires them - Commands: `pnpm install`, `pnpm add `, `pnpm run