nodejs-best-practices
Installation
Summary
Node.js architecture and framework selection guidance based on deployment context and project requirements.
- Framework decision tree covers Hono (edge/serverless), Fastify (performance), NestJS (enterprise), and Express (legacy), with selection criteria tied to cold start time, ecosystem size, and team experience
- Covers layered architecture principles (controller, service, repository), async patterns (async/await vs Promise.all/allSettled), and centralized error handling with appropriate HTTP status codes
- Includes validation strategies, security checklist (input validation, parameterized queries, rate limiting, CORS), and testing priorities for critical paths and edge cases
- Teaches decision-making principles rather than fixed patterns; emphasizes asking users about preferences, considering deployment targets, and avoiding common anti-patterns like sync methods and hardcoded secrets
SKILL.md
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
Installs
11.8K
Repository
sickn33/antigra…e-skillsGitHub Stars
39.9K
First Seen
Jan 20, 2026
Security Audits