A comprehensive methodology for building resilient, type-safe, and high-performance Node.js backends using TypeScript and modern engineering standards.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install afrexai-nodejs-production
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install afrexai-nodejs-production using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a complete production engineering framework for developers using Openclaw Skills to build scalable Node.js applications. It moves beyond simple tutorials to address real-world concerns like structured error handling, environment validation, and graceful shutdowns. By adhering to a strict architectural hierarchy and leveraging the best of the 2025+ tech stack, it ensures that your backend is not just functional, but enterprise-ready.
The methodology focuses on deep type safety—eliminating any types in favor of branded types and Zod-derived schemas—and a layered architecture that separates business logic from data access. Whether you are building on Hono, Fastify, or NestJS, this guide provides the blueprints for observability, security, and automated testing that define modern high-performance engineering.
To initialize a project following this Openclaw Skills methodology, set up your environment with the core dependencies:
# Initialize project and install core production dependencies
npm init -y
npm install hono zod drizzle-orm pino @hono/node-server
# Install development tools
npm install -D typescript vitest drizzle-kit ts-node @types/node
# Initialize TypeScript configuration
npx tsc --init
Ensure your tsconfig.json is set to "strict": true and "moduleResolution": "NodeNext" as specified in the Phase 2 configuration.
The skill organizes data and metadata through a strictly typed taxonomy and a standardized project structure:
| Component | Location | Description |
|---|---|---|
| Environment Variables | src/config/env.ts |
Validated Zod schema for all process.env values. |
| Database Schema | drizzle/schema.ts |
Source of truth for SQL tables and TypeScript interfaces. |
| Custom Errors | src/errors/index.ts |
Hierarchy of classes (e.g., AppError, NotFoundError) with machine-readable codes. |
| API Context | requestId |
Correlation IDs propagated through all logs and response headers. |
| Models | z.infer<T> |
Types derived directly from Zod validation schemas to ensure a single source of truth. |
OFFSET.SIGTERM signals.tini and dumb-init for proper signal forwarding.Loading
A comprehensive production engineering methodology for building resilient, secure, and high-performance Spring Boot applications.

A powerful utility to automatically synchronize and verify high-performance models from the OpenRouter leaderboard into your local Openclaw configuration.

An advanced prompt engineering skill for Seedance 2.0, enabling precise control over multimodal AI video generation through structured syntax.

A comprehensive framework for designing, auditing, and automating B2B customer onboarding flows to maximize user activation and retention.

A comprehensive 14-phase methodology for designing, deploying, and managing production-grade infrastructure using Terraform and IaC best practices.

A powerful WhatsApp Business API gateway featuring managed OAuth authentication for seamless message and template management.








































