nodejs

Implement idiomatic Node.js and Bun backend code following project conventions.

4|3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ulpi-io/skills --skill nodejs-ulpi-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nodejs
Source: https://github.com/ulpi-io/skills/tree/main/nodejs
Command: npx skills add https://github.com/ulpi-io/skills --skill nodejs-ulpi-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents generic or inconsistent backend implementations by guiding Node.js and Bun development according to the project's existing runtime, framework, architecture, and engineering conventions.

Core Features & Use Cases

  • Backend Architecture: Structure HTTP servers, routes, controllers, services, repositories, jobs, and CLI tools according to established project patterns.
  • Production Guardrails: Apply strict TypeScript, Zod boundary validation, typed error handling, pino logging, secure configuration, graceful shutdown, and safe asynchronous programming.
  • Infrastructure Integration: Provide conventions for databases, authentication, caching, BullMQ queues, Docker, WebSockets, testing, and observability.
  • Use Case: Use it when adding an API endpoint, fixing an asynchronous error, implementing authentication, creating a background job, or containerizing a Node.js or Bun service.

Quick Start

Use the nodejs skill to implement the requested backend change after first reading the project's stack reference and then loading only the task-relevant references.

Frequently Asked Questions about nodejs

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

FAQPage Schema
How do I build a production-ready Node.js backend with TypeScript?

Build production-ready Node.js backends by enforcing strict TypeScript, applying Zod boundary validation, implementing typed error handling, and configuring structured pino logging for reliable API development.

How do I handle asynchronous errors and graceful shutdown in a Node.js API?

Handle asynchronous errors in Node.js APIs by implementing typed error handling and safe async programming patterns, while configuring graceful resource shutdown to prevent data loss during deployment.

Does this approach work for Bun backend development and infrastructure integration?

Yes, this approach supports Bun backend development alongside Node.js, guiding infrastructure integration for databases, authentication, BullMQ queues, Docker containerization, WebSockets, and observability tooling.

What's the best way to structure HTTP routes and services in a backend project?

Structure HTTP routes, controllers, services, and repositories according to established project architecture patterns, ensuring clear separation of concerns and boundary validation with Zod for request and response payloads.

Why do I need Zod boundary validation for API development?

You need Zod boundary validation in API development to strictly type incoming and outgoing data at system boundaries, preventing unvalidated data from reaching core business logic and ensuring runtime type safety.

Can I use this for implementing background jobs and CLI tooling in Node.js?

Yes, you can use this to implement background jobs using BullMQ queues and CLI tooling in Node.js, applying secure configuration, structured logging, and graceful shutdown conventions to these asynchronous tasks.