Skip to content
davila7 avatar

Nodejs Best Practices

Decision-driven Node.js guidance covering framework choice, async patterns, validation, security, and testing.

CCM score
58 of 100
skills.sh installs
559
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers framework selection (Hono, Fastify, Express, NestJS, Next.js or tRPC), runtime and module-system tradeoffs, and layered architecture
  • Includes error-handling and status-code guidance, async pattern choices, and event-loop blocking considerations
  • Provides a security checklist covering validation, parameterized queries, password hashing, JWT verification, and rate limiting
  • Designed for developers who want context-based decisions and a pre-implementation checklist rather than copy-paste code

Install

$ npx -y skills add davila7/claude-code-templates --skill nodejs-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Node.js Best Practices

Principles and decision-making for Node.js development in 2025. Learn to THINK, not memorize code patterns.


⚠️ 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

What are you building?
│
├── Edge/Serverless (Cloudflare, Vercel)
│   └── Hono (zero-dependency, ultra-fast cold starts)
│
├── High Performance API
│   └── Fastify (2-3x faster than Express)
│
├── Enterprise/Team familiarity
│   └── NestJS (structured, DI, decorators)
│
├── Legacy/Stable/Maximum ecosystem
│   └── Express (mature, most middleware)
│
└── Full-stack with frontend
    └── Next.js API Routes or tRPC

Comparison Principles

Details

Repository
github.com/davila7/claude-code-templates
Category
Backend & APIs
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Nodejs Best Practices

More Backend & APIs