MagicBox Node.js Development Standard for Openclaw

A comprehensive development standard and best practices guide for building scalable Node.js and TypeScript applications.

jinchuncheng123
v1.0.0
Feb 26, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install magicbox-node-dev

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install magicbox-node-dev using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is MagicBox Node.js Development Standard?

This skill provides a structured framework for developing MagicBox Node services using TypeScript. It ensures consistency across projects by defining strict directory layouts, coding conventions, and deployment workflows. By using this Openclaw Skills resource, developers can maintain high-quality codebases with integrated linting, formatting, and database migration strategies.

The standard emphasizes strong typing, modular architecture, and robust containerization. It serves as a single source of truth for managing everything from environment variables to API response formats, ensuring that any AI agent or developer following these Openclaw Skills can produce production-ready code efficiently.

MagicBox Node.js Development Standard Use Cases

  • Standardizing new Node.js projects with a pre-defined TypeScript architecture.
  • Implementing consistent API response formats and error handling across microservices.
  • Automating database migrations and entity management using TypeORM.
  • Streamlining containerized deployments via Docker and Kubernetes.

How MagicBox Node.js Development Standard Works

  1. Initialize the project directory following the predefined src/ structure for controllers, services, and models.
  2. Configure environment variables using the prioritized hierarchy for development and production.
  3. Develop business logic in the services layer while maintaining strong TypeScript typing and avoiding the any type.
  4. Apply code quality rules using the integrated ESLint and Prettier configurations.
  5. Generate and run database migrations to keep the schema in sync with TypeORM entities.
  6. Build the application using the base Docker image and deploy to the target cluster using provided scripts.

MagicBox Node.js Development Standard Setup

To set up a project using these Openclaw Skills, ensure you have Node.js and npm installed, then follow these steps:

# Install project dependencies
npm install

# Run linting to ensure code style compliance
npm run lint

# Compile TypeScript to JavaScript
npm run build

# Execute a manual deployment version update
bash scripts/deploy-manual.sh

MagicBox Node.js Development Standard Data Schema & Taxonomy

The skill organizes data and metadata according to the following taxonomy:

Component Path / Pattern Description
Models src/models/*.ts TypeORM Entities using PascalCase
Migrations src/migrations/*.ts Timestamped (YYYYMMDDHHmmss) migration files
Config .env.develop Environment-specific variables for local development
Versioning version.json Tracking version in major.minor.patch format
Docker Dockerfile.base The foundation for containerized builds

MagicBox Node.js Development Standard Advanced Features

  • Multi-environment configuration management with high-priority system overrides.
  • Automated manual deployment scripts for version control and staging logic.
  • Standardized health check endpoints (/health) for Kubernetes liveness and readiness probes.
  • Centralized logging utility with environment-aware verbosity (debug to error).
  • Uniform error handling middleware to prevent sensitive data leakage in production.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*