nodejs-backend-patterns

使用Express/Fastify构建生产级Node.js后端服务,实现中间件模式、错误处理、身份验证、数据库集成及API设计最佳实践。适用于创建Node.js服务器、REST API、GraphQL后端或微服务架构。

查看详情
name:nodejs-backend-patternsdescription:Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

Node.js Backend Patterns

Comprehensive guidance for building scalable, maintainable, and production-ready Node.js backend applications with modern frameworks, architectural patterns, and best practices.

Use this skill when

  • Building REST APIs or GraphQL servers

  • Creating microservices with Node.js

  • Implementing authentication and authorization

  • Designing scalable backend architectures

  • Setting up middleware and error handling

  • Integrating databases (SQL and NoSQL)

  • Building real-time applications with WebSockets

  • Implementing background job processing
  • Do not use this skill when

  • The task is unrelated to node.js backend patterns

  • You need a different domain or tool outside this scope
  • Instructions

  • Clarify goals, constraints, and required inputs.

  • Apply relevant best practices and validate outcomes.

  • Provide actionable steps and verification.

  • If detailed examples are required, open resources/implementation-playbook.md.
  • Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

    1. nodejs-backend-patterns - Agent Skills