Skip to content
Back to skills

Nodejs

ASecurity

Node.js & TypeScript development intelligence. 12 domains, 12 stacks, 300+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check Node code. Domains: pattern, package, error, perf, test, async, arch, idiom, anti, tooling, module, typescript. Stacks: web-express, web-fastify, web-hono, web-nestjs, web-nextjs, web-remix, orm-prisma, orm-drizzle, auth, database, realtime, graphql. Integrations: arch_system generator.

  • 56 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
developmenttypescriptpythonbashsqlnextjsnodenodejsexpressdockertesting

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add vurakit/agentup --skill nodejs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nodejs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nodejs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vurakit-nodejs/badge)](https://www.skillsdirectory.com/skills/vurakit-nodejs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nodejs-pro-max
description: "Node.js & TypeScript development intelligence. 12 domains, 12 stacks, 300+ entries. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check Node code. Domains: pattern, package, error, perf, test, async, arch, idiom, anti, tooling, module, typescript. Stacks: web-express, web-fastify, web-hono, web-nestjs, web-nextjs, web-remix, orm-prisma, orm-drizzle, auth, database, realtime, graphql. Integrations: arch_system generator."
---

# NodeJS Pro Max - Backend Generator

## When User Requests Node.js / TypeScript Work

Follow this workflow for every Node.js-related task:

### 1. Analyze Requirements
Extract from the user's request:
- **Project type**: REST API, GraphQL, microservice, serverless, full-stack framework
- **Domain**: web, database, realtime, auth
- **Scale**: small project, enterprise, library

### Default Stack (always use unless user specifies otherwise)
| Component | Default | Package |
|-----------|---------|---------|
| **Language** | **TypeScript** | `typescript` (strict mode) |
| **Router** | Hono | `hono` |
| **Database** | PostgreSQL | `pg` |
| **ORM** | Drizzle ORM | `drizzle-orm` |
| **Validation** | Zod | `zod` |
| **Testing** | Vitest | `vitest` |
| **Deploy** | Docker | `Dockerfile` |

**Project structure**: Domain-driven layout:
```
src/index.ts
src/app.ts
src/config/      — env config & setup (zod validation)
src/routes/      — API route definitions
src/controllers/ — Request handlers
src/services/    — business logic
src/models/      — TS interfaces / DB schema
src/middlewares/ — auth, error, logging
src/utils/       — helpers
package.json
tsconfig.json
Dockerfile
```

### 2. Generate Architecture System (REQUIRED for new projects)
```bash
python3 skills/nodejs/scripts/search.py "<project description>" --arch-system -p "ProjectName"
```
This gives you: architecture, packages, error strategy, patterns, structure, testing approach.

### 3. Supplement with Domain Searches
Based on the project needs, search relevant domains:
```bash
# Patterns for the task
python3 skills/nodejs/scripts/search.py "repository pattern" --domain pattern

# Package recommendations
python3 skills/nodejs/scripts/search.py "schema validation" --domain package

# Async / Concurrency patterns
python3 skills/nodejs/scripts/search.py "promise all settled" --domain async

# Performance tips
python3 skills/nodejs/scripts/search.py "event loop blocking" --domain perf

# Typescript best practices
python3 skills/nodejs/scripts/search.py "utility types" --domain typescript
```

### 4. Stack Guidelines
If using a specific framework/stack:
```bash
python3 skills/nodejs/scripts/search.py "global error handler" --stack web-express
python3 skills/nodejs/scripts/search.py "server components" --stack web-nextjs
python3 skills/nodejs/scripts/search.py "relations eager loading" --stack orm-prisma
```

### 5. Implement
Apply all recommendations from the search results:
- Use recommended architecture and project structure
- Apply TS patterns (Discriminated unions, Utility types)
- Follow error handling strategy (Centralized error handler, operational vs programmer errors)
- Implement proper async patterns (avoid `.then()`, use `async/await`)
- Add tests using Vitest or Jest.

### 6. Always Generate Docker Files
Every project MUST include these files:

**Dockerfile** (multi-stage build):
```dockerfile
# Builder stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

# Runtime stage
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY --from=builder /app/dist ./dist
EXPOSE 3000
CMD ["node", "dist/index.js"]
```

## Pre-Delivery Checklist

Before delivering Node.js/TS code, verify:
- [ ] `tsc --noEmit` passes
- [ ] `npm run lint` catches no warnings
- [ ] `npm run test` passes
- [ ] No `any` types used in new code (use `unknown` or specific types)
- [ ] Async functions properly awaited; no floating promises
- [ ] Unhandled promise rejections properly caught
- [ ] Centralized error handler catches routes errors
- [ ] `.env` variables validated on startup (e.g. using Zod)

## Quick Domain Reference

| Domain | When to Search |
|--------|---------------|
| `pattern` | Need a design pattern (repository, dependency injection) |
| `package` | Choosing a library/package for a use case |
| `error` | Error handling strategy, custom error classes |
| `perf` | Performance optimization, memory leaks, event loop |
| `test` | Testing approach, mocking, e2e vs unit |
| `async` | Promises, event emitters, streams, worker threads |
| `typescript` | TS features, generic types, strict mode |
| `arch` | Project structure, clean architecture |
| `idiom` | Node.js conventions, naming |
| `anti` | Avoiding common mistakes |
| `tooling` | ESLint, Prettier, tsconfig options |
| `module` | ES modules vs CommonJS |

## Resources

- **scripts/**: BM25 search engine, architecture system generator
- **data/**: 12 domains and 12 stacks with curated Node.js/TS entries

Files in this skill

  • SKILL.md5 KB
  • data/anti-patterns.csv29.3 KB
  • data/architecture.csv13.5 KB
  • data/async.csv58.6 KB
  • data/error-handling.csv50.3 KB
  • data/idioms.csv28.5 KB
  • data/modules.csv13.8 KB
  • data/packages.csv8.7 KB
  • data/patterns.csv82.2 KB
  • data/performance.csv38.6 KB
  • data/stacks/auth.csv51.8 KB
  • data/stacks/database.csv37.9 KB
  • data/stacks/graphql.csv56.7 KB
  • data/stacks/orm-drizzle.csv37.3 KB
  • data/stacks/orm-prisma.csv38.6 KB
  • data/stacks/realtime.csv62.5 KB
  • data/stacks/web-express.csv37.2 KB
  • data/stacks/web-fastify.csv33.5 KB
  • data/stacks/web-hono.csv40.3 KB
  • data/stacks/web-nestjs.csv36.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.