javascript
Node.js and JavaScript development patterns, gotchas, and library compatibility notes. Use when working with Node.js projects, TypeScript, React, antd…
by lanej★ 41 GitHub stars
Install javascript in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
JavaScript / Node.js Skill
Before selecting application tools or an API protocol, read the project tool-choice policy. Apply the declared authority and adoption at every lifecycle stage, including research; preserve external providers’ protocols and established stacks according to that policy.
Use the installed testing for proportionate evidence. Language detection installs this guidance; it does not add or replace compiler, test, or CI configuration. Preserve existing repository gates.
Project Setup Basics
- Always check
package.jsonfirst to understand available scripts before running anything - Before running or briefing any install/test/lint/build command, check which package manager the repo actually uses — a tracked
pnpm-lock.yaml/yarn.lock/package-lock.json, or apackageManagerfield inpackage.json— and use that tool by name. Don't default tonpmas a generic placeholder; running the wrong manager's install command can generate a stray lockfile and produce a false "this repo is missing X" claim. (detail: memory "feedback_subagent_briefed_wrong_package_manager") - Run
npm install(or the repo's actual package manager's install) before attempting to execute Node.js scripts in a new project - If a user specifies a script to run, use exactly what they specify
Load task-specific guidance
Read the matching reference before working on these capabilities:
| Task | Read |
|---|---|
| Optional peers, React/antd/Zustand compatibility, browser layout, stale diagnostics, Vitest/Bun | Runtime and testing |
| Streaming completion, input recovery, interleaved text and tools | SSE state |
| MCP transport lifetime, respawn, child-process environment | MCP stdio |
| Content collections, MDX, public assets, standalone HTML, dev routing | Astro |
| Fresh or relocated checkout verification | Worktree runtime lessons |
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/astro.md
- references/mcp-stdio.md
- references/runtime-and-testing.md
- references/sse-streaming.md
- references/worktree-lessons.md
FAQ
What does the javascript skill do?
Node.js and JavaScript development patterns, gotchas, and library compatibility notes. Use when working with Node.js projects, TypeScript, React, antd, Zustand, Playwright, Bun, or Vitest.
How do I install the javascript skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the javascript skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…