What problem does it solve? Node.js services fail in production through predictable mistakes: leaked stack traces in 5xx bodies, truncated responses on deploy, cross-request state leaks on singletons, unbounded memory from buffered payloads, and processes that never exit. This Skill encodes the invariants that prevent those failures and the framework-specific mechanics for Fastify, NestJS, Hono, and Express migrations. ## Core Features & Use Cases - Framework-aware guidance: Detects the framework from package.json and branches into dedicated references for Fastify (plugins, hooks, decorators, schemas), NestJS (modules, provider scopes, filters, lifecycle), Hono (middleware, validators, streaming), or Express-to-modern-framework migration. - 22 core invariants: Covers graceful shutdown ordering, error codes with cause chains, AsyncLocalStorage request context, schema-validated configuration, secret handling, stream backpressure, and event-loop blocking. - Five gated workflows: implement-endpoint, review-service, harden-for-deploy, diagnose-runtime, and migrate-from-express, each ending in a verifiable gate such as a proved drain test or a before/after metric. - Use Case: Before a Fastify service takes real traffic, run the harden-for-deploy workflow to trace the SIGTERM path end to end, verify readiness fails first, and confirm in-flight requests complete within the drain timeout. ## Quick Start Ask the assistant to review your Node.js service's package.json and server entry file for production-readiness issues before deploying it.