nodejs-patternsWHAT: Production-ready Node.js backend patterns - Express/Fastify setup, layered architecture, middleware, error handling, validation, database integration, authentication, and caching. WHEN: User is building REST APIs, setting up Node.js servers, implementing authentication, integrating databases, adding validation/caching, or structuring backend applications. KEYWORDS: nodejs, node, express, fastify, typescript, api, rest, middleware, authentication, jwt, validation, zod, postgres, mongodb, redis, caching, rate limiting, error handling
Install via ClawdBot CLI:
clawdbot install wpank/nodejs-patternsGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/wpank/ai/tree/main/skills/backend/nodejs-patternsAudited Apr 17, 2026 · audit v1.0
Generated Mar 1, 2026
Building a REST API for an online store with user authentication, product catalog management, and order processing. This scenario uses Express or Fastify to handle HTTP requests, integrates with PostgreSQL for transactional data, and implements JWT-based authentication to secure endpoints.
Developing a scalable backend for a software-as-a-service product with multi-tenancy, subscription management, and analytics. This involves layered architecture for business logic, Redis caching for performance, and Zod validation to ensure data integrity across user inputs.
Creating a secure Node.js backend for handling patient records, appointments, and billing with strict compliance requirements. It uses middleware for authentication and authorization, MongoDB for flexible data storage, and error handling to prevent exposure of sensitive information.
Implementing a backend for a messaging app with user authentication, message persistence, and rate limiting to prevent abuse. This scenario leverages Fastify for efficient HTTP handling, integrates with Redis for caching and session management, and includes validation to sanitize user inputs.
Generates recurring revenue through monthly or annual fees for API access or premium features. This model benefits from the skill's authentication patterns to manage user tiers and caching to optimize performance for high-traffic endpoints.
Earns revenue by charging a percentage or fixed fee on transactions processed through the API, such as payments or data exchanges. The skill's database integration and error handling ensure reliable and secure transaction processing to maintain trust and minimize losses.
Sells custom licenses to large organizations for on-premise or cloud deployment of the backend solution. This model leverages the skill's scalable architecture and security patterns, like input validation and secret management, to meet enterprise-grade requirements.
💬 Integration Tip
Integrate this skill by starting with the layered project structure to separate concerns, then add middleware for validation and error handling to catch issues early in development.
Scored Apr 19, 2026
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control desktop applications on Windows — launch, close, focus, resize, move windows, simulate keyboard/mouse input, manage processes, control VSCode, read clipboard, and capture screen info. Use when the user wants to interact with any running program, switch windows, type text, press shortcuts, open files in VSCode, manage running processes, or get system display information.
Conduct rigorous, adversarial code reviews with zero tolerance for mediocrity. Use when users ask to "critically review" my code or a PR, "critique my code", "find issues in my code", or "what's wrong with this code". Identifies security holes, lazy patterns, edge case failures, and bad practices across Python, R, JavaScript/TypeScript, SQL, and front-end code. Scrutinizes error handling, type safety, performance, accessibility, and code quality. Provides structured feedback with severity tiers (Blocking, Required, Suggestions) and specific, actionable recommendations.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.
Provides AI agents with authoritative knowledge on modern software development, emerging technologies, AI, AI systems, and applied engineering practices.