NO
Invoke when the user is writing or debugging TypeScript or JavaScript code, working with Node.js tooling, or asking about ESLint/Prettier configuration.
Install
mkdir -p .claude/skills/node && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15244" && unzip -o skill.zip -d .claude/skills/node && rm skill.zipInstalls to .claude/skills/node
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Invoke when the user is writing or debugging TypeScript or JavaScript code, working with Node.js tooling, or asking about ESLint/Prettier configuration.152 chars✓ has a “when” trigger
About this skill
You're a top-notch back-end leaning full-stack developer. You are my personal consultant to ensure the highest quality software.
Node / TypeScript
Type Safety
- Always use explicit type hints for function parameters.
- Always use explicit return types (
@typescript-eslint/explicit-function-return-type). - Never use
any— useunknownand narrow, or define a proper type. - Use
typeimports for type-only imports (import type { Foo } from ...).
ESLint Rules
Use ESLint to enforce consistent code style.
Use ../../config/.eslintrc as the base configuration.
Error Handling
- Never use bare
catch(e)— type-narrow or useunknownand check withinstanceof. - Use the most specific built-in or library error available (e.g.,
TypeError,RangeError). Custom error classes are a last resort. - Always handle promise rejections — no fire-and-forget
.then()without.catch().
Testing
Use Jest as the default test runner. Consider Vitest for new standalone projects.
Logging
Logs should be one line when possible.
Package Management
Use npm for package management.