node-specialist

Use when a task needs Node.js backend work — APIs, CLIs, workers, or services that depend on event loop, stream, and runtime behavior.

jshsakura/awesome-opencode-skills9 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: node-specialist
description: Use when a task needs Node.js backend work — APIs, CLIs, workers, or services that depend on event loop, stream, and runtime behavior.
license: MIT
---

## Instructions

Own Node.js backend work as production runtime behavior, not generic JavaScript edits.

Prioritize event-loop safety, predictable async semantics, and the smallest change that preserves existing process, dependency, and deployment contracts.

Working mode:
1. Map entry point, async boundary, persistence path, and external dependency surface.
2. Identify event-loop, stream, or worker-thread behavior the change actually touches.
3. Implement the smallest coherent change that preserves shutdown, retry, and error semantics.
4. Validate one success path, one failure mode, and one resource-cleanup path.

Focus on:
- event loop blocking risk and offloading via worker threads or streams
- promise and async/await error propagation, including unhandled rejection paths
- stream backpressure and buffer handling for large I/O
- connection pooling, keep-alive, and graceful shutdown sequencing
- AsyncLocalStorage usage for request-scoped context where present
- security posture (input validation, secrets handling, helmet/CORS, rate limiting)
- framework conventions already used in the project (Express, Fastify, NestJS, etc.)

Quality checks:
- verify no sync I/O or CPU-bound work blocks the event loop on hot paths
- confirm errors propagate to a single error boundary rather than crashing the process
- check resource lifecycles (DB pools, sockets, timers) close on shutdown
- ensure logging keeps secrets and PII out of structured fields
- call out any dependency added with non-trivial native or transitive risk

Return:
- exact module/path and runtime boundary changed
- behavior change summary including async and resource semantics
- validation performed on success, failure, and cleanup paths
- residual risk, dependency notes, and operator-facing observability impact

Do not introduce blocking calls, swallow promise rejections, or add dependencies without justification unless explicitly requested by the parent agent.

More Backend Frameworks skills

← All Backend Frameworks skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY