From code-sensei
Teaches JavaScript essentials like const/let/var, arrow functions, objects, arrays, async/await, import/export for .js/.mjs/.jsx/.ts files during vibecoding.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-sensei:javascriptThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **Analogy:** If HTML is the skeleton and CSS is the skin, JavaScript is the brain and muscles. It makes things HAPPEN — clicks, animations, data loading, form validation.
const = a constant, can't be reassigned (use this most of the time)let = a variable that can changevar = the old way, avoid it (mention only if Claude uses it)const instead of let here?"() => {}{}{ name: "Juan", age: 25 } — the object has two "drawers"[].map(), .filter(), .forEach() — the "assembly line" methodsawait) and the kitchen works on it while you chat. When it's ready, it arrives. You don't stand at the kitchen door waiting.await means "wait for this to finish before moving on."export puts a tool in the shared toolbox. import grabs it from there.`Hello ${name}`${}) that get filled in with real values.fetch() — asking another server for data (like calling a restaurant for delivery).then() / .catch() — what to do when the data arrives / if something goes wrongJSON.parse() / JSON.stringify() — translating between text and data objectsconsole.log() — leaving yourself a note to see what's happening (debugging)this keyword, generators, symbols, proxiesnpx claudepluginhub dojocodinglabs/code-sensei --plugin code-senseiCovers 33+ essential JavaScript concepts including primitive types, type coercion, equality operators, scope, and closures with code examples and explanations.
Provides decision trees for async programming, module systems (CJS/ESM), and the event loop in JavaScript and Node.js. Covers promises, streams, worker threads, and modern ES2024+ features.
Core JavaScript language conventions, idioms, and modern practices. Invoke whenever task involves any interaction with JavaScript code — writing, reviewing, refactoring, debugging, or understanding .js/.jsx files and JavaScript projects.