/node-backend
Node.js backend development patterns for Express, NestJS, Fastify, and Hono. Use when implementing APIs, authentication, middleware, services, and server-side logic with Node.js and TypeScript. Provides project structure, code patterns, and best practices.
$ npx -y skills add shahtuyakov/claude-setup --skill node-backend --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/node-backend
Context preview
The summary Claude sees to decide when to auto-load this skill.
Node.js backend development patterns for Express, NestJS, Fastify, and Hono. Use when implementing APIs, authentication, middleware, services, and server-side logic with Node.js and TypeScript. Provides project structure, code patterns, and best practices.
SKILL.md
node-backend.SKILL.mdname: node-backend
description: Node.js backend development patterns for Express, NestJS, Fastify, and Hono. Use when implementing APIs, authentication, middleware, services, and server-side logic with Node.js and TypeScript. Provides project structure, code patterns, and best practices.
Node.js Backend
Patterns and best practices for Node.js backend development with TypeScript.
Framework Selection
| Framework | Best For | Use When | |-----------|----------|----------| | Express | Simple APIs, flexibility | Quick setup, full control needed | | NestJS | Enterprise, structured | Large teams, Angular-like structure | | Fastify | Performance critical | High throughput, schema validation | | Hono | Edge, lightweight | Cloudflare Workers, minimal overhead |
Reference Files
| Topic | Load | Use When | |-------|------|----------| | Project structure | `references/project-structure.md` | Setting up new project or organizing code | | Express patterns | `references/express-patterns.md` | Building with Express | | NestJS patterns | `references/nestjs-patterns.md` | Building with NestJS | | Auth implementation | `references/auth-patterns.md` | Implementing authentication | | Error handling | `references/error-handling.md` | Setting up error handling | | Validation | `references/validation.md` | Input validation patterns |
Quick Start Patterns
Express Basic Setup
import express from 'express';
import cors from 'cors';
import helmet from 'helmet';
import { errorHandler } from './middleware/errorHandler';
import { routes } from './routes';
const app = express();
app.use(helmet());
app.use(cors());
app.use(express.json());
app.use('/api', routes);
app.use(errorHandler);
export { app };NestJS Module Pattern
@Module({
imports: [TypeOrmModule.forFeature([User])],
controllers: [UsersController],
providers: [UsersService],
exports: [UsersService],
})
export class UsersModule {}TypeScript Configuration
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "./dist",
"rootDir": "./src",
"declaration": true
}
}Essential Packages
| Package | Purpose | |---------|---------| | `typescript` | Type safety | | `zod` | Runtime validation | | `bcrypt` | Password hashing | | `jsonwebtoken` | JWT handling | | `helmet` | Security headers | | `cors` | CORS handling | | `winston` / `pino` | Logging | | `prisma` / `drizzle` | Database ORM |
Code Quality Rules
1. **Always use TypeScript** - strict mode enabled 2. **Validate all inputs** - use Zod or class-validator 3. **Handle all errors** - never swallow exceptions 4. **Use async/await** - no callback hell 5. **Environment variables** - use dotenv, never hardcode secrets 6. **Logging** - structured logs with correlation IDs
Read more
name: node-backend description: Node.js backend development patterns for Express, NestJS, Fastify, and Hono. Use when implementing APIs, authentication, middleware, services, and server-side logic with Node.js and TypeScript. Provides project structure, code patterns, and best practices.
Node.js Backend
Patterns and best practices for Node.js backend development with TypeScript.
Framework Selection
| Framework | Best For | Use When | |-----------|----------|----------| | Express | Simple APIs, flexibility | Quick setup, full control needed | | NestJS | Enterprise, structured | Large teams, Angular-like structure | | Fastify | Performance critical | High throughput, schema validation | | Hono | Edge, lightweight | Cloudflare Workers, minimal overhead |
Reference Files
| Topic | Load | Use When | |-------|------|----------| | Project structure | `references/project-structure.md` | Setting up new project or organizing code | | Express patterns | `references/express-patterns.md` | Building with Express | | NestJS patterns | `references/nestjs-patterns.md` | Building with NestJS | | Auth implementation | `references/auth-patterns.md` | Implementing authentication | | Error handling | `references/error-handling.md` | Setting up error handling | | Validation | `references/validation.md` | Input validation patterns |
Quick Start Patterns
Express Basic Setup
import express from 'express';
import cors from 'cors';
import helmet from 'helmet';
import { errorHandler } from './middleware/errorHandler';
import { routes } from './routes';
const app = express();
app.use(helmet());
app.use(cors());
app.use(express.json());
app.use('/api', routes);
app.use(errorHandler);
export { app };NestJS Module Pattern
@Module({
imports: [TypeOrmModule.forFeature([User])],
controllers: [UsersController],
providers: [UsersService],
exports: [UsersService],
})
export class UsersModule {}TypeScript Configuration
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "./dist",
"rootDir": "./src",
"declaration": true
}
}Essential Packages
| Package | Purpose | |---------|---------| | `typescript` | Type safety | | `zod` | Runtime validation | | `bcrypt` | Password hashing | | `jsonwebtoken` | JWT handling | | `helmet` | Security headers | | `cors` | CORS handling | | `winston` / `pino` | Logging | | `prisma` / `drizzle` | Database ORM |
Code Quality Rules
1. **Always use TypeScript** - strict mode enabled 2. **Validate all inputs** - use Zod or class-validator 3. **Handle all errors** - never swallow exceptions 4. **Use async/await** - no callback hell 5. **Environment variables** - use dotenv, never hardcode secrets 6. **Logging** - structured logs with correlation IDs
A multi-agent orchestration framework for Claude Code. Build production software with 7 specialized AI agents that coordinate automatically through a Hub Architecture.
Repo: shahtuyakov/claude-setup
Other skills on claude-setup.
- /agent-orchestration
Hub orchestration patterns for multi-agent workflows. Use when processing delegation requests from agents, coordinating sequential/parallel agent execution, and aggregating results. Provides the protocol for agent-to-agent communication through the hub.
Open skill - /api-design-reviewer
Expert API design reviewer for REST, GraphQL, and gRPC APIs. Analyzes API designs for security, performance, consistency, scalability, and maintainability. Use when designing new APIs, reviewing API proposals, auditing existing endpoints, or before major API releases. Covers
Open skill - /brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Open skill - /canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright
Open skill - /database-patterns
Database design and implementation patterns for modern applications. Use when designing schemas, writing migrations, optimizing queries, and configuring ORMs. Covers PostgreSQL, MongoDB, Prisma, Drizzle, indexing strategies, and security best practices.
Open skill - /design-patterns
Modern design system patterns for 2025. Covers design tokens, OKLCH color systems, fluid typography, animations, dark mode, shadcn/ui components, and Figma handoff. Use when implementing UI styles, theming, accessibility, and visual polish.
Open skill

