backend-node
Deliver Node.js and TypeScript backends across NestJS and lighter HTTP frameworks without letting one framework own API, validation, auth, or service design.
by HanTechnology★ 38 GitHub stars
Install backend-node in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Backend Node
Use this pack for Node.js backend work: HTTP APIs, service modules, auth flows, background jobs, event-driven edges, and server-side delivery patterns that live in the JavaScript or TypeScript ecosystem.
Defer first-pass route choice and lane selection to ../../reference/routing-matrix.md.
This is the general Node backend pack for the repo. Use the overlays in reference/ to tune decisions for NestJS or the lighter Express, Fastify, and Hono family while keeping the same quality bar for contracts, validation, documentation, and operational behavior.
Setup posture
- Prefer modernizing, refining, or extending an existing project in place.
- Treat scaffold,
create,init, ornewflows as greenfield-only and explicit-request-only. Defer to.opencode/reference/project-setup-policy.md.
Core focus
- Design API contracts that stay readable across controllers, handlers, queues, and integrations.
- Keep validation, serialization, and error mapping explicit at the request boundary.
- Choose authentication and authorization flows deliberately: sessions, JWTs, service credentials, guards, or policy middleware.
- Treat async work as architecture: request lifecycle, background jobs, webhooks, queues, caching, and real-time edges.
- Keep documentation, observability, and failure behavior close to the service surface.
Shared Node backend standards
- Keep TypeScript strict where the codebase supports it, and do not hide domain rules inside framework magic.
- Separate transport concerns from service logic. Controllers or route handlers should translate requests, not own the business model.
- Use schema or DTO validation on every external boundary. Inputs, auth context, and error shapes should be predictable.
- Document public or shared endpoints with OpenAPI or an equally explicit contract surface.
- Be deliberate about concurrency on the event loop. Offload long-running or retry-heavy work to background processors instead of stretching request timeouts.
- Make refresh, revocation, RBAC or policy checks, and rate limiting visible in the request path rather than implied.
Default workflow
- Inspect the existing service shape, middleware stack, and runtime constraints.
- Choose the closest overlay from
reference/nestjs.mdorreference/express-fastify-hono.md. - Define the contract, validation rules, auth path, and async behavior before spreading logic across handlers.
- Implement the request path, queue or job path, and documentation surface together so the backend stays operable.
- Run
review-workafter substantial backend changes.
Collaboration in this repo
- Use
Explorebefore editing so the new work matches local service and middleware patterns. - Use
LibrarianorContext7when framework, library, or protocol details need a source-of-truth check. - Pair with
architecture-integrationwhen API contracts, integration boundaries, or cross-service ownership dominate the task.
Overlays
reference/nestjs.mdfor decorator-heavy NestJS services, DI modules, guards, pipes, interceptors, and gateway or queue patterns.reference/express-fastify-hono.mdfor lighter Node HTTP services, schema-driven routing, middleware pipelines, and edge-friendly APIs.
Guardrails
- Do not let one framework's conventions define the whole Node backend pack.
- Do not bury validation, auth, or error contracts inside decorators or middleware nobody can trace.
- Do not keep CPU-heavy or retry-heavy work on the hot request path by accident.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- reference/express-fastify-hono.md
- reference/nestjs.md
FAQ
What does the backend-node skill do?
Deliver Node.js and TypeScript backends across NestJS and lighter HTTP frameworks without letting one framework own API, validation, auth, or service design.
How do I install the backend-node skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the backend-node skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…