Nodejs
blencorp/claude-code-kit
Core Node.js backend patterns for TypeScript applications including async/await error handling, middleware concepts, configuration management, testing strategies, and layered architecture principles.
Agent skill
Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase backend-dev-guidelines --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/backend-dev-guidelines .claude/skills/backend-dev-guidelines && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "backend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelines into .claude/skills/backend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-dev-guidelines", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelinesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase backend-dev-guidelines --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/backend-dev-guidelines .agents/skills/backend-dev-guidelines && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "backend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelines into .agents/skills/backend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-dev-guidelines", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase backend-dev-guidelines --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/backend-dev-guidelines .cursor/skills/backend-dev-guidelines && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "backend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelines into .cursor/skills/backend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-dev-guidelines", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/diet103/claude-code-infrastructure-showcase.git --path .agents/skills/backend-dev-guidelines--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase backend-dev-guidelines --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/backend-dev-guidelines .gemini/skills/backend-dev-guidelines && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "backend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelines into .gemini/skills/backend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-dev-guidelines", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install diet103/claude-code-infrastructure-showcase backend-dev-guidelinesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/backend-dev-guidelines .github/skills/backend-dev-guidelines && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "backend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelines into .github/skills/backend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-dev-guidelines", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase backend-dev-guidelines --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/backend-dev-guidelines .opencode/skills/backend-dev-guidelines && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "backend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/backend-dev-guidelines into .opencode/skills/backend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-dev-guidelines", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
backend-dev-guidelinesSets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.
Backend services follow a layered design in which routes only route, controllers extend a BaseController, services hold business logic with dependency injection, and repositories handle database access when queries are complex. Each layer has one responsibility, and the guide includes a directory structure and naming conventions for controllers, services, routes and repositories.
Checklists cover a new backend feature, meaning route, controller, service, repository, Zod validation, Sentry error tracking, tests and unifiedConfig, and a new microservice, meaning directory layout, a Sentry instrument file, config, BaseController, middleware stack, error boundary and test framework. Seven core principles are listed, with example code contrasting what to avoid.
The stack is Node.js, Express and TypeScript with Prisma and Sentry, and other stacks are told to adapt the principles. Twelve resource notes go deeper on architecture, async and errors, configuration, database patterns, middleware, routing, Sentry monitoring, services and repositories, testing, validation and complete examples.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 07f75ce. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Node Backend Development Guidelines loads about 2k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 425 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from diet103/claude-code-infrastructure-showcase at commit 07f75ce, republished under its MIT licence (© diet103). 425 words, ~2,037 tokens.
.claude/skills/backend-dev-guidelines/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.Establish consistency and best practices across backend services using modern Node.js/Express/TypeScript patterns.
Written for Node.js/Express/TypeScript with Prisma and Sentry. Different stack? Adapt the architectural principles - see CLAUDE_INTEGRATION_GUIDE.md in the repo root.
Automatically activates when working on:
HTTP Request
↓
Routes (routing only)
↓
Controllers (request handling)
↓
Services (business logic)
↓
Repositories (data access)
↓
Database (Prisma)Key Principle: Each layer has ONE responsibility.
See architecture-overview.md for complete details.
service/src/
├── config/ # UnifiedConfig
├── controllers/ # Request handlers
├── services/ # Business logic
├── repositories/ # Data access
├── routes/ # Route definitions
├── middleware/ # Express middleware
├── types/ # TypeScript types
├── validators/ # Zod schemas
├── utils/ # Utilities
├── tests/ # Tests
├── instrument.ts # Sentry (FIRST IMPORT)
├── app.ts # Express setup
└── server.ts # HTTP serverNaming Conventions:
PascalCase - UserController.tscamelCase - userService.tscamelCase + Routes - userRoutes.tsPascalCase + Repository - UserRepository.ts// ❌ NEVER: Business logic in routes
router.post('/submit', async (req, res) => {
// 200 lines of logic
});
// ✅ ALWAYS: Delegate to controller
router.post('/submit', (req, res) => controller.submit(req, res));export class UserController extends BaseController {
async getUser(req: Request, res: Response): Promise<void> {
try {
const user = await this.userService.findById(req.params.id);
this.handleSuccess(res, user);
} catch (error) {
this.handleError(error, res, 'getUser');
}
}
}try {
await operation();
} catch (error) {
Sentry.captureException(error);
throw error;
}// ❌ NEVER
const timeout = process.env.TIMEOUT_MS;
// ✅ ALWAYS
import { config } from './config/unifiedConfig';
const timeout = config.timeouts.default;const schema = z.object({ email: z.string().email() });
const validated = schema.parse(req.body);// Service → Repository → Database
const users = await userRepository.findActive();describe('UserService', () => {
it('should create user', async () => {
expect(user).toBeDefined();
});
});// Express
import express, { Request, Response, NextFunction, Router } from 'express';
// Validation
import { z } from 'zod';
// Database
import { PrismaClient } from '@prisma/client';
import type { Prisma } from '@prisma/client';
// Sentry
import * as Sentry from '@sentry/node';
// Config
import { config } from './config/unifiedConfig';
// Middleware
import { SSOMiddlewareClient } from './middleware/SSOMiddleware';
import { asyncErrorWrapper } from './middleware/errorBoundary';| Code | Use Case |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Server Error |
Blog API (✅ Mature) - Use as template for REST APIs Auth Service (✅ Mature) - Use as template for authentication patterns
❌ Business logic in routes ❌ Direct process.env usage ❌ Missing error handling ❌ No input validation ❌ Direct Prisma everywhere ❌ console.log instead of Sentry
| Need to... | Read this |
|---|---|
| Understand architecture | architecture-overview.md |
| Create routes/controllers | routing-and-controllers.md |
| Organize business logic | services-and-repositories.md |
| Validate input | validation-patterns.md |
| Add error tracking | sentry-and-monitoring.md |
| Create middleware | middleware-guide.md |
| Database access | database-patterns.md |
| Manage config | configuration.md |
| Handle async/errors | async-and-errors.md |
| Write tests | testing-guide.md |
| See examples | complete-examples.md |
Layered architecture, request lifecycle, separation of concerns
Route definitions, BaseController, error handling, examples
Service patterns, DI, repository pattern, caching
Zod schemas, validation, DTO pattern
Sentry init, error capture, performance monitoring
Auth, audit, error boundaries, AsyncLocalStorage
PrismaService, repositories, transactions, optimization
UnifiedConfig, environment configs, secrets
Async patterns, custom errors, asyncErrorWrapper
Unit/integration tests, mocking, coverage
Full examples, refactoring guide
Skill Status: COMPLETE ✅ Line Count: < 500 ✅ Progressive Disclosure: 11 resource files ✅
© diet103, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files in .agents/skills/backend-dev-guidelines of diet103/claude-code-infrastructure-showcase.
Open the folder on GitHubat commit 07f75ce
We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in diet103/claude-code-infrastructure-showcase, which our catalogue first saw on October 7, 2026.
Node Backend Development Guidelines next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Node Backend Development Guidelines this skilldiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2k | Automated safety check: Pass | MIT | |
| Nodejsblencorp/claude-code-kit | 106 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Database Migrationsaffaan-m/ECC | 275k | 4 repos | ~3k | Automated safety check: Pass | MIT | |
| .NET Core ExpertJeffallan/claude-skills | 12k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Sentry Node SDKgetsentry/sentry-for-ai | 268 | — | ~8.4k | Automated safety check: Pass | Apache-2.0 | |
| Senior Backendborghei/Claude-Skills | 881 | — | ~1.6k | Automated safety check: Pass | MIT |
blencorp/claude-code-kit
Core Node.js backend patterns for TypeScript applications including async/await error handling, middleware concepts, configuration management, testing strategies, and layered architecture principles.
affaan-m/ECC
Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…
Jeffallan/claude-skills
Guides building .NET 8 services with minimal APIs, clean architecture, Entity Framework Core, MediatR CQRS and JWT authentication, with build and test checks.
getsentry/sentry-for-ai
Full Sentry SDK setup for Node.js, Bun, and Deno. An agent skill from getsentry/sentry-for-ai.
borghei/Claude-Skills
Backend development with Node.js/Express/Fastify and PostgreSQL.
cohen-liel/hivemind
Prisma ORM patterns for Node.js/TypeScript backends. An agent skill from cohen-liel/hivemind.
diet103/claude-code-infrastructure-showcase
A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.
diet103/claude-code-infrastructure-showcase
Enforces that every error in a service is captured to Sentry v8, with patterns for controllers, routes, cron jobs and database performance spans instead of console logging alone.
diet103/claude-code-infrastructure-showcase
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
diet103/claude-code-infrastructure-showcase
Run the infrastructure health check and fix anything that fails
Works with
Categories
Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod. Backend services follow a layered design in which routes only route, controllers extend a BaseController, services hold business logic with dependency injection, and repositories handle database access when queries are complex. Each layer has one responsibility, and the guide includes a directory structure and naming conventions for controllers, services, routes and repositories.
Node Backend Development Guidelines fits situations like: creating a new route, controller and service in an Express API; adding Zod validation and Sentry error tracking to an endpoint; setting up the structure of a new microservice; refactoring a legacy route that holds business logic.
Run `npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a claude-code`. Or copy the skill folder (.agents/skills/backend-dev-guidelines in diet103/claude-code-infrastructure-showcase) into .claude/skills/backend-dev-guidelines in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a codex`. Or copy the skill folder (.agents/skills/backend-dev-guidelines in diet103/claude-code-infrastructure-showcase) into .agents/skills/backend-dev-guidelines in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/backend-dev-guidelines, .gemini/skills/backend-dev-guidelines, .github/skills/backend-dev-guidelines and .opencode/skills/backend-dev-guidelines in your project.
SKILL.md names no scripts, command-line tools or credentials: Node Backend Development Guidelines is instructions for the agent only. Our summary lists: A Node.js, Express and TypeScript service, ideally with Prisma and Sentry.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Node Backend Development Guidelines is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Node Backend Development Guidelines: Nodejs (blencorp/claude-code-kit, 106 stars), Database Migrations (affaan-m/ECC, 275k stars), .NET Core Expert (Jeffallan/claude-skills, 12k stars) and Sentry Node SDK (getsentry/sentry-for-ai, 268 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diet103 (a GitHub user) maintains it in diet103/claude-code-infrastructure-showcase, which has 10,031 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on July 13, 2026.
Source: diet103/claude-code-infrastructure-showcase on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.