nodejs-backend-expert

nodejs-backend-expert is a skill for Claude Code from Miaoge-Ge/coding-agent-skills. It costs 93 tokens per session (1,181 once invoked), scanned A, original, MIT.

A guide for building Node.js back-end services with Express, Fastify, or Hono. It covers HTTP routes, middleware, request checks, login security, asynchronous code, and production safeguards.

In plain words
What is it for?
Use it to structure HTTP APIs, add authentication and rate limiting, handle errors and streams, and prepare services for production.
Why use it?
It helps prevent invalid client input, missed errors, unsafe configuration, and back-end code that becomes difficult to maintain.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nodejs-backend-expert plugin — 1 skill shipped together

Good fit Use it to structure HTTP APIs, add authentication and rate limiting, handle errors and streams, and prepare services for production.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Miaoge-Ge/coding-agent-skills --skill nodejs-backend-expert
Clone the repo
git clone --depth 1 https://github.com/Miaoge-Ge/coding-agent-skills

Made for: Claude Code.

Or install nodejs-backend-expert, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nodejs-backend-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert/github.svg)](https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert)
Your own site
<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nodejs-backend-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/nodejs-backend-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.01181
Opus 5.5 $0.00037 $0.00472
Sonnet 5.5 $0.00019 $0.00236
Haiku 4.5 $0.00009 $0.00118

Measured 1mo ago against content hash 8bfd6672e904, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nodejs-backend-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/nodejs-backend-expert/skills/nodejs-backend-expert/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Node.js Backend Expert

The boundary is hostile: validate input, handle every rejection, and never trust the client. Keep handlers thin, push logic into services, and make the process production-safe (timeouts, health, graceful shutdown).

When to Use

  • Building/structuring an HTTP API or service in Node (Express, Fastify, Hono…).
  • Routing, middleware, input validation, auth, sessions, rate limiting.
  • Unhandled-rejection, error-propagation, streaming, or backpressure issues.
  • Project layout: transport → service → data layer.

When NOT to Use

  • Next.js server features (RSC, server actions) → nextjs-expert.
  • SQL/schema/indexing → sql-expert. API contract design → api-design-expert.
  • Deep auth threat modeling/OWASP → security-expert.

Core Principles

1. Layering

  • Handlers/controllers stay thin (parse → call service → format response). Business logic lives in services; data access is isolated and mockable.
  • Load config from env, validated at startup (zod/envalid); fail fast on missing/invalid config. No process.env.X scattered through code.

2. Async & error discipline

  • async/await throughout. Every route's thrown error must reach a central error handler — wrap async handlers (or use Fastify/Express 5 which await handlers natively).
  • Attach process.on("unhandledRejection")/"uncaughtException" to log and exit; don't swallow.
  • Validate request body/query/params at the edge with a schema; reject early with 400 and a structured error.

3. Security baseline

  • helmet for headers, explicit CORS allowlist, rate limiting on public/auth routes.
  • Hash passwords with argon2/bcrypt; sign tokens/sessions with env secrets; cookies HttpOnly+Secure+SameSite. Never log secrets, tokens, or full request bodies with PII.
  • Parameterize all DB access (no string-built SQL); cap body size.

4. Production-ready process

  • /health (liveness) + readiness; graceful shutdown on SIGTERM (stop accepting, drain in-flight, close DB pool).
  • Set server/socket timeouts. Stream large responses/uploads instead of buffering. Structured logging (pino) with request IDs.

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 96 lines · 93 tokens per session scan A 8bfd6672e904

Subscribe to this mod's changes

nodejs-backend-expert is a skill published in the GitHub repository Miaoge-Ge/coding-agent-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 93 tokens to every session and 1,181 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.