跳到正文
cccskills
免费在 GitHub 公开

backend-patterns

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

中文简介正在准备中。当前显示原文说明。

集成工具Redis
查看安装方法

包含的文件(4)

  • SKILL.md1.7 KB
  • references/api-patterns.md2.1 KB
  • references/database-caching.md1.8 KB
  • references/error-auth-infra.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Backend Development Patterns

Backend architecture patterns and best practices for scalable server-side applications.

Pattern Categories

API Design

RESTful structure, Repository pattern, Service layer, Middleware pattern. See references/api-patterns.md for implementations.

Database & Caching

Query optimization, N+1 prevention, transactions, Redis cache-aside pattern. See references/database-caching.md for implementations.

Error Handling, Auth & Infrastructure

Centralized error handler, retry with backoff, JWT/RBAC, rate limiting, job queues, structured logging. See references/error-auth-infra.md for implementations.

Quick Decision Guide

NeedPattern
Data access abstractionRepository pattern
Business logic isolationService layer
Auth/logging/validationMiddleware pattern
Expensive DB queriesCache-aside (Redis)
N+1 query problemBatch fetch with Map
Atomic multi-table writesDatabase transactions
Unreliable external APIsRetry with exponential backoff
Abuse preventionRate limiter (in-memory or Redis)
Non-blocking operationsJob queue

Remember: Choose patterns that fit your complexity level. Not every project needs every pattern.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

中文简介正在准备中。当前显示原文说明。

cloudnative-co/claude-code-starter-kit1542026年10月12日 更新

日本語の業務文書を作成・修正するときに使用する共通品質基準。事実性、確度、論理、簡潔さ、自然な日本語を守る。提案書、報告、技術説明、議事録、メール、Slack、要約、レビューに適用する。創作、広告コピー、コードや構造化データだけの生成には使用しない。

中文简介正在准备中。当前显示原文说明。

cloudnative-co/claude-code-starter-kit1542026年10月12日 更新

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

中文简介正在准备中。当前显示原文说明。

cloudnative-co/claude-code-starter-kit1542026年10月12日 更新

Formal evaluation framework for Claude Code sessions implementing eval-driven development (EDD) principles.

中文简介正在准备中。当前显示原文说明。

cloudnative-co/claude-code-starter-kit1542026年10月12日 更新

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

中文简介正在准备中。当前显示原文说明。

cloudnative-co/claude-code-starter-kit1542026年10月12日 更新

Example project-specific skill template. Use as a starting point when creating guidelines for your own projects.

中文简介正在准备中。当前显示原文说明。

cloudnative-co/claude-code-starter-kit1542026年10月12日 更新

查看 cloudnative-co 的全部技能

报告此技能的问题