nodejs-coding-standards

Enforce Node.js and TypeScript backend coding standards for Express, Fastify, NestJS, and Hono.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/zenbuapps/zenbu-powers --skill nodejs-coding-standards
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nodejs-coding-standards
Source: https://github.com/zenbuapps/zenbu-powers/tree/main/skills/nodejs-master
Command: npx skills add https://github.com/zenbuapps/zenbu-powers --skill nodejs-coding-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Node.js 後端開發在多技術棧與團隊規範下往往缺乏統一標準,本 Skill 提供完整的 Node.js / TypeScript 後端編碼標準以保持一致性與高品質。

Core Features & Use Cases

  • 核心規則包含嚴格模式、Zod 驗證、Repository Pattern、DI、日誌和測試指引等,適用於 Express、Fastify、NestJS 等後端專案。
  • 以分層架構範例與命名規範對照,提供實作範例、Prisma/ORM 配置、以及全域型別與錯誤處理模式。
  • 可用於團隊制定開發規範、審查代碼、設計測試與除錯流程,提升開發效率與穩定性。

Quick Start

將此編碼標準整合至專案並在 CI/CD 流程中執行規範檢查以自動化落地。

Frequently Asked Questions about nodejs-coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Node.js TypeScript backend coding standards across different frameworks?▼

You can enforce Node.js TypeScript backend coding standards by applying strict TypeScript configurations, Zod validation, Repository Pattern, DI, and structured logging across Express, Fastify, NestJS, and Hono projects to ensure architectural consistency.

What is the best way to standardize error handling and validation in a NestJS backend?▼

The best way to standardize error handling and validation in a NestJS backend is to implement Zod validation alongside global error handling patterns, ensuring consistent data integrity and structured error responses across your architecture.

Can I use this coding standard with Express and Fastify for setting up a Repository Pattern?▼

Yes, you can use this coding standard with Express and Fastify to implement the Repository Pattern. It provides architectural examples and ORM configuration guidance for maintaining consistent data access layers across your backend.

How do I integrate structured logging and JSDoc-driven documentation into a Node.js backend project?▼

You integrate structured logging and JSDoc-driven documentation into a Node.js backend by applying the specified coding standards to your development workflow, ensuring code is self-documenting and observability is maintained during runtime.

How to apply Node.js backend coding standards in a CI/CD pipeline for automated code review?▼

To apply Node.js backend coding standards in a CI/CD pipeline, integrate the standard rules into your automated workflow checks. This ensures code review processes automatically validate architecture, testing, and strict TypeScript compliance before deployment.

Do I need strict TypeScript configuration and Zod validation for Hono backend projects?▼

Yes, strict TypeScript configuration and Zod validation are required for Hono backend projects. These standards ensure type safety and runtime validation consistency, which are critical for robust backend architecture.