nodejs-best-practices
Skill by sickn33
Teaches Node.js development principles and decision-making, covering framework selection, async patterns, security, and architecture. It is for developers who want guidance on choosing and structuring Node.js projects rather than copyable code.
Install nodejs-best-practices
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/nodejs-best-practices ~/.claude/skills/nodejs-best-practicesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/nodejs-best-practices ~/.gemini/antigravity-cli/skills/nodejs-best-practicesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install nodejs-best-practices in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant principles for Node.js development. It focuses on decision-making rather than fixed code to copy. The assistant is told to ask the user for preferences when unclear, choose a framework based on context, and avoid defaulting to the same solution every time.
The skill covers framework selection with a decision tree and comparison table for Hono, Fastify, Express, NestJS, Next.js API Routes and tRPC. It also covers runtime and module system choices, layered architecture, centralized error handling, async patterns, validation library selection, a security checklist, and testing priorities. It is aimed at developers and teams making Node.js architecture decisions.
Written from the project's SKILL.md and checked against it.
What it can do
- Framework selectionSuggests a framework such as Hono, Fastify, Express, NestJS or Next.js based on deployment target and context.
- Runtime considerationsExplains choices between ESM and CommonJS and between Node.js, Bun and Deno.
- Architecture principlesDescribes a layered structure with controller, service and repository layers and when to simplify it.
- Error handling principlesCovers centralized error handling, what clients and logs should receive, and HTTP status code selection.
- Async patternsExplains when to use async/await, Promise.all, Promise.allSettled and Promise.race, and event loop awareness.
- Validation guidanceLists where to validate inputs and compares libraries such as Zod, Valibot, ArkType and Yup.
- Security checklistProvides a checklist covering input validation, parameterized queries, password hashing, JWT checks and secrets handling.
- Testing strategyDescribes unit, integration and end-to-end test types, test priorities, and the built-in Node.js test runner.
- Decision checklistGives questions to answer before implementing, such as stack preference, deployment target and validation points.
What you need
- Node.js (the built-in test runner requires Node.js 22 or later)
Try asking
- Which Node.js framework should I use for a serverless edge API?
- Review my Express service layout and suggest a layered architecture.
- Give me a security checklist before I launch my Node.js API.
Good to know
- Framework comparisons are qualitative and depend on version and workload.
- Native TypeScript support depends on the exact runtime version.
- Not a substitute for environment-specific validation, testing or expert review.
- Should be used only when the task matches the scope described.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/nodejs-best-practices/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to nodejs-best-practices
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
nodejs-best-practices: common questions
What does the nodejs-best-practices skill cover?
It covers Node.js framework selection, runtime choices, architecture layers, error handling, async patterns, validation, security, and testing. The source frames these as principles and decision-making rather than fixed code.
Does this skill give ready-made code to copy?
No. The source says it teaches thinking, not copying, and tells the assistant to choose solutions based on context and to ask the user for preferences when unclear.
Which frameworks does the skill compare?
It compares Hono, Fastify and Express in a table and also mentions NestJS, Next.js API Routes and tRPC in its decision tree.
How do I install nodejs-best-practices?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nodejs-best-practices free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is nodejs-best-practices safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to nodejs-best-practices?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
