JavaScript
Installation
SKILL.md
JavaScript
Best practices for writing modern, type-safe JavaScript using JSDoc annotations checked by TypeScript. Covers type modeling, modern language features (ES2024/2025), web APIs, error handling, and module patterns.
This skill targets plain .js files with checkJs: true in jsconfig.json. It does not cover TypeScript .ts files.
Project Setup
jsconfig.json
Every JS project using typed JSDoc should have a jsconfig.json: