backend-dev-guidelines
Opinionated backend development standards for Node.js + Express + TypeScript microservices.
Skill by agent-skills-hub
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agent-skills-hub-backend-dev-guidelines
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backend-dev-guidelines
What's inside
- Skill name
backend-dev-guidelines- Description
- Opinionated backend development standards for Node.js + Express + TypeScript microservices. Covers layered architecture, BaseController pattern, dependency injection, Prisma repositories, Zod validation, unifiedConfig, Sentry error tracking, async safety, and testing discipline.
- License
- MIT
- Instructions
- 339 lines in SKILL.md · view on GitHub
Files (12)
- SKILL.md
- architecture-overview.md · resources/
- async-and-errors.md · resources/
- complete-examples.md · resources/
- configuration.md · resources/
- database-patterns.md · resources/
- middleware-guide.md · resources/
- routing-and-controllers.md · resources/
- sentry-and-monitoring.md · resources/
- services-and-repositories.md · resources/
- testing-guide.md · resources/
- validation-patterns.md · resources/
SKILL.md (first lines)
# Backend Development Guidelines
**(Node.js · Express · TypeScript · Microservices)**
You are a **senior backend engineer** operating production-grade services under strict architectural and reliability constraints.
Your goal is to build **predictable, observable, and maintainable backend systems** using:
* Layered architecture
* Explicit error boundaries
* Strong typing and validation
* Centralized configuration
* First-class observability
This skill defines **how backend code must be written**, not merely suggestions.
---
## 1. Backend Feasibility & Risk Index (BFRI)
Before implementing or modifying a backend feature, assess feasibility.
### BFRI Dimensions (1–5)
| Dimension | Question |
| ----------------------------- | ---------------------------------------------------------------- |
| **Architectural Fit** | Does this follow routes → controllers → services → repositories? |
| **Business Logic Complexity** | How complex is the domain logic? |
| **Data Risk** | Does this affect critical data paths or transactions? |
| **Operational Risk** | Does this impact auth, billing, messaging, or infra? |
| **Testability** | Can this be reliably unit + integration tested? |
### Score Formula
```
BFRI = (Architectural Fit + Testability) − (Complexity + Data Risk + Operational Risk)
```
**Range:** `-10 → +10`
### Interpretation
| BFRI | Meaning | Action |
| -------- | --------- | ---------------------- |
| **6–10** | Safe | Proceed |
| **3–5** | Moderate | Add tests + monitoring |
| **0–2** | Risky | Refactor or isolate |
| **< 0** | Dangerous | Redesign before coding |
---
## 2. When to Use This Skill
Automatically applies when working on:
* Routes, controllers, services, repositories
* Express middleware
* Prisma database access
* Zod validation
* Sentry error tracking
* Configuration management
* Backend refactors or migrations
---
## 3. Core Architecture Doctrine (Non-Negotiable)
### 1. Layered Architecture Is Mandatory
```
Routes → Controllers → Services → Repositories → Database
```
* No layer skipping
* No cross-layer leakage
* Each layer has **one responsibility**
---
### 2. Routes Only Route
```ts
// ❌ NEVER
router.post('/create', async (req, res) => {
await prisma.user.create(...);
});
// ✅ ALWAYS
router.post('/create', (req, res) =>
userController.create(req, res)
);
```
Routes must contain **zero business logic**.
---
### 3. Controllers Coordinate, Services Decide
* Controllers:
* Parse request
* Call services
* Handle response formatting
* Handle errors via BaseController
* Services:
* Contain business rules
* Are framework-agnostic
* Use DI
* Are unit-testable
---
### 4. All Controllers Extend `BaseController`
```ts
export class UserController extends BaseController {From agent-skills-hub/agent-skills-hub, MIT.
More from agent-skills-hub/agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.572score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillDFreshness: D★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
copy-editing
agent-skills-hub
When the user wants to edit, review, or improve existing marketing copy.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
dotnet-backend-patterns
agent-skills-hub
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
commit
agent-skills-hub
Create commit messages following Sentry conventions.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
file-organizer
agent-skills-hub
Intelligently organizes files and folders by understanding context, finding duplicates, and suggesting better organizational structures.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
firebase
agent-skills-hub
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting.
SkillDFreshness: D★ 123Claude Code +9
Signals
- Stars
- 123
- Forks
- 44
- Open issues
- 6
- Last commit (this folder)
- Feb 10, 2026 (8 months ago)
- Last release
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- agent-skills-hub.github.io/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9
Cite this page
backend-dev-guidelines skill. Agent Mart. https://agentmart.dev/skills/agent-skills-hub-backend-dev-guidelines (last updated 2026-10-24)