davila7 avatar

Nodejs Best Practices

This one actually teaches you to think instead of pattern matching. It's built around decision trees for framework selection (Hono vs Fastify vs Express based on deployment target), architecture principles that scale from scripts to enterprise apps, and a security checklist that doesn't assume you know what to worry about. The best part is the explicit "ask the user for preferences" philosophy instead of defaulting to the same stack every time. Use it when you're tired of Claude suggesting Express for edge functions or when you need to justify why you picked one runtime over another. It's opinionated about 2025 tooling but explains the reasoning behind each choice.

skills.sh installs
558
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Security, Code Review & Quality, Productivity & Planning
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618

Recommended

More Security
1libukai avatarvscode-sftp-configlibukai/awesome-agent-skillsThis skill should be used when setting up SFTP deployment for static websites to production servers, including converting projects from Docker/Express to static557skills.sh installs
2martinholovsky avatartaurimartinholovsky/claude-skills-generatorCross-platform desktop application framework combining Rust backend with web frontend, emphasizing security and performance553skills.sh installs
3pedronauck avatararchitectural-analysispedronauck/skillsArchitectural audit that hunts dead code, duplicated functionality, anti-patterns, type confusion, and code smells across a whole codebase. Use when the user as547skills.sh installs
4patricio0312rev avatarwebsocket-realtime-builderpatricio0312rev/skillsImplements real-time features using WebSockets with Socket.io, rooms, authentication, and reconnection handling. Use when users request "real-time updates", "We544skills.sh installs
5pskoett avatarsimplify-and-hardenpskoett/pskoett-ai-skillsPost-completion self-review for coding agents that runs simplify, harden, and micro-documentation passes on non-trivial code changes. Use when: a coding task is540skills.sh installs
6manutej avatarspring-boot-developmentmanutej/luxor-claude-marketplaceComprehensive Spring Boot development skill covering auto-configuration, dependency injection, REST APIs, Spring Data, security, and enterprise Java application536skills.sh installs