nodejs-best-practices
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
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
More from sickn33/antigravity-awesome-skills
docker-expert
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
15.0Ktypescript-expert
TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling.
8.3Kapi-security-best-practices
Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities
7.0Kclean-code
This skill embodies the principles of \"Clean Code\" by Robert C. Martin (Uncle Bob). Use it to transform \"code that works\" into \"code that is clean.\"
6.5Knextjs-best-practices
Next.js App Router principles. Server Components, data fetching, routing patterns.
5.1Knextjs-supabase-auth
Expert integration of Supabase Auth with Next.js App Router
4.8K