What problem does it solve?
This Skill provides comprehensive guidance on Node.js development principles, helping developers make informed decisions on architecture, frameworks, and best practices.
Core Features & Use Cases
- Framework Selection: Offers a decision tree for choosing the right Node.js framework based on project requirements.
- Runtime Considerations: Discusses native TypeScript, module systems, and runtime selection.
- Architecture Principles: Introduces layered architecture and best practices for scalability and maintainability.
- Error Handling: Provides a centralized error handling pattern and best practices for user-friendly error responses.
- Async Patterns: Explains when and how to use various async patterns for efficient I/O-bound operations.
- Validation Principles: Offers guidance on input validation, library selection, and validation philosophy.
- Security Principles: Lists a security checklist and emphasizes a security-first mindset.
- Testing Principles: Discusses test strategy selection, what to test, and built-in test runners.
- Anti-Patterns to Avoid: Highlights common mistakes and provides alternatives.
- Decision Checklist: Offers a checklist for making informed decisions before implementation.
Quick Start
Run the skill to learn about Node.js best practices and apply them to your next project.