nodejs-best-practices
Installation
SKILL.md
Node.js Best Practices Skill
Overview
This skill ensures clean, maintainable, production-ready Node.js code. It covers Express application structure, PostgreSQL database patterns, error handling, testing, and security.
Project Structure
Organize code into distinct layers:
server/
├── index.js # App setup, middleware mounting
├── routes/ # HTTP handling only, no business logic
├── services/ # Business logic, database operations
├── data/ # Static data, definitions, constants
├── db/ # Database connection, migrations
└── auth/ # Authentication middleware