Individual skill

backend-patterns

后端架构模式、API 设计、数据库优化以及针对 Node.js、Express 和 Next.js API 路由的服务端最佳实践。

skills/backend-patterns/SKILL.md

Read pinned source

Source commit dfbf9467b90dfd29bffa842c4e0a6977112900e2

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 9, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
2,024
Repository last updated
Mar 5, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# 后端开发模式 (Backend Development Patterns)

用于构建可扩展服务端应用的后端架构模式与最佳实践。

## 何时激活 (When to Activate)

- 设计 REST 或 GraphQL API 端点时
- 实现仓储层(Repository)、服务层(Service)或控制层(Controller)时
- 优化数据库查询(N+1 问题、索引、连接池)时
- 添加缓存(Redis、内存缓存、HTTP 缓存头)时
- 设置后台作业(Background jobs)或异步处理时
- 为 API 构建错误处理与数据校验机制时
- 编写中间件(身份验证、日志记录、限流)时
Back to top