Loading...
Loading...
Node.js/Bun backend reference skill: TypeScript-first, structured error handling, pino logging, Zod validation, async patterns, HTTP server conventions, database access, auth, queues, caching, testing, security, CLI tooling, and observability. Covers both Node.js and Bun runtimes. Use when the task touches server-side TypeScript/JavaScript code and should follow the project's backend conventions.
npx skill4agent add ulpi-io/skills nodejsreferences/stack.mdany.catch()req.bodyconsole.log$requestreferences/stack.mdbun.lockbbunfig.tomlreferences/bun-runtime.md| Task | Read |
|---|---|
| Runtime, TypeScript, package manager, locked deps | |
| Folder conventions, entry points, monorepo layout | |
| Express/Fastify/Hono patterns, middleware, routing | |
| REST conventions, versioning, pagination, error responses | |
| Zod/AJV input validation, DTO patterns | |
| Prisma/Drizzle/Knex, migrations, connection pooling | |
| JWT, sessions, OAuth2, RBAC, middleware guards | |
| Error classes, async error boundaries, HTTP error responses | |
| pino structured logging, request correlation, log levels | |
| vitest/jest/bun test, supertest, test factories, coverage | |
| Promises, streams, worker threads, AbortController, shutdown | |
| helmet, CORS, rate limiting, input sanitization, dep audit | |
| Redis, in-memory caching, cache invalidation patterns | |
| BullMQ, job patterns, retry strategies, dead-letter queues | |
| Env validation, dotenv, config modules, secrets management | |
| OpenTelemetry, health checks, metrics, distributed tracing | |
| Multi-stage Dockerfile, .dockerignore, prod vs dev images | |
| ws/Socket.io, connection lifecycle, scaling, rooms | |
| commander/yargs, argument parsing, exit codes, stdin/stdout | |
| Bun-native APIs, bun test, bun build, Bun.serve, Bun.$ | |
noUncheckedIndexedAccessanyasBun.serve()Bun.file()bun testvitest runjestbun testtsc --noEmiteslint .SKILL.mdreferences/stack.mdconsole.logdisable-model-invocationreferences/stack.mdreferences/bun-runtime.mdbun.lockbbunfig.tomlreferences/