Agent skill · software engineering · aiskillstore

nodejs-best-practices

Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

Why this skill is useful

Provides decision-making frameworks and architectural patterns specific to Node.js that the AI wouldn't reliably generate on its own.

What it needs

About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Node.js Best Practices Principles and decision-making for Node.js development in 2025. Learn to THINK, not memorize code patterns. When to Use Use this skill when making Node.js architecture decisions, choosing frameworks, designing async patterns, or applying security and deployment best practices. --- ⚠️ How to Use This Skill This skill teaches decision-making principles, not fixed code to copy. ASK user for preferences when unclear Choose framework/pattern based on CONTEXT Don't default to same solution every time --- 1. Framework Selection (2025) Decision Tree Comparison Principles Factor Hono Fastify Express -------- ------ --------- --------- Best for Edge, serverless Performance Legacy, learning Cold start Fastest Fast Moderate Ecosystem Growing Good Largest TypeScript Native Excellent Good Learning curve Low Medium Low Selection Questions to Ask: 1. What's the deployment target? 2. Is cold start time critical? 3. Does team have existing experience? 4. Is there legacy code to maintain? --- 2. Runtime Considerations (2025) Native TypeScript Module System Decision Runtime Selection Runtime Best For --------- ---------- Node.js General purpose, largest ecosystem Bun Performance, built-in bundler Deno Security-first, built-in TypeScript --- 3. Architecture Principles Layered Structure Concept Why This Matters: Testability: Mock layers independently Flexibility: Swap database without touching business logic Clarity: Each layer has single responsibility When to Simplify: Small scripts → Single file OK Prototypes → Less structure acceptable Always ask: "Will this grow?" --- 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/nodejs-best-practices

View the source on GitHub

Browse the @skills marketplace