Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zzafergok/nodejs-backend-skill
Build production-ready Node.js backend services with Express/Fastify — middleware patterns, authentication, database integration, caching, and API design.
Passed 19 of 22 test cases with the skill, and 16 of 22 without it.
3 fixed16 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write an Express middleware authenticate that extracts the Bearer token from the Authorization header, verifies it with jwt.verify, attaches the payload to req.user, and forwards any authorization errors to next().
| Checked | Without skill | With skill |
|---|---|---|
| Strips the 'Bearer ' prefix from req.headers.authorization | Passed | Passed |
| Calls next(new UnauthorizedError(...)) when token verification fails or token is missing | Missed | Passed |
The instructions your model reads when the skill loads.
Implement backend behavior that follows the project's framework, module system, architecture, and operational environment.
Read package metadata, runtime configuration, lockfile, framework setup, entry points, validation, error handling, persistence, tests, deployment, and observability. Do not migrate frameworks, module systems, or build tools unless requested.
Node.js and framework behavior changes. Verify current official documentation for version-sensitive APIs and runtime flags.
Use parameterized database access, explicit transactions, and safe connection pooling. Treat caches as derived state unless the design explicitly makes them authoritative. For external services, define timeout, retry eligibility, circuit or containment behavior, and safe logging.
Handle startup validation, readiness, liveness, graceful shutdown, connection draining, background job cancellation, and signal behavior. Emit structured logs and useful metrics with correlation identifiers while redacting secrets and personal data.
Define behavior for uncaught failures and rejected promises according to the deployment model; do not leave the process in an unknown state.
Use least privilege, safe headers, dependency review, secret management, rate limiting, abuse controls, and explicit CORS or origin policy. Never trust proxy headers, uploaded files, deserialized objects, or client-provided identity without the corresponding trusted configuration and validation.
Run the repository's format, lint, type, test, and build checks as relevant. Exercise validation, authorization, duplicate requests, concurrency, timeout, dependency failure, graceful shutdown, and production configuration. Measure performance before claiming optimization.
test cases passed, vs 16 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.