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
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 -yInstalls 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- Product Strategist558
- Seo Fundamentals558
- React Best Practices553
- Create Plan543
- Polars539
- Agent Tool Builder537
- Database Design537
- Software Architecture535
- React Ui Patterns529
- Docx526
- Marketing Demand Acquisition525
- Research Grants523
- Web Performance Optimization521
- Screenshot Feature Extractor516
- React Patterns503
- Rag Implementation500
- Executing Marketing Campaigns499
- Api Documentation Generator494
- Coding Standards494
- Autonomous Agents492
- Backend Dev Guidelines492
- Typescript Expert491
- Api Patterns486
- Supabase Postgres Best Practices482
Similar to Nodejs Best Practices
More Backend & APIsnodejs-backend-patternswshobson/agents51.1K installsProduction-ready Node.js backend patterns for Express or Fastify services, REST, GraphQL, and microservices.
api-security-best-practicesdavila7/claude-code-templates470 installsComprehensive guide for building secure REST, GraphQL, and WebSocket APIs with auth, validation, and rate limiting.
nestjs-best-practiceskadajett/agent-nestjs-skills32.5K installsNestJS guidance of 40 prioritized rules covering architecture, dependency injection, security, and performance for production apps.
python-patternsdavila7/claude-code-templates361 installsDecision-focused Python guidance on framework choice, async versus sync, type hints, and project layout.
api-security-hardeningaj-geddes/useful-ai-prompts872 installsPractical hardening guide for REST APIs covering auth, rate limiting, CORS, input validation, and security headers.