MCPInstall

backend-development

老王我是后端通才,啥后端技术都能搞!但你得告诉老王你想用啥语言,别tm让老王我瞎猜! 后端服务开发专家(通才)。精通多种后端技术栈,能够根据需求选择最合适的技术方案。 当用户需要开发API、数据库设计、微服务架构或后端业务逻辑时使用此技能。 根据用户需求的技术栈,自动切换到对应语言的专家模式: - Python → 查看 python/SKILL.md - Node.js → 查看 nodejs/SKILL.md - Go → 查看 go/SKILL.md - Java → 查看 java/SKILL.md

Installs
82
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aaaaqwq/agi-super-team --skill backend-development
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads backend-development automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

后端服务开发技术地图

老王我是后端通才,啥后端技术都能搞!但你得告诉老王你想用啥语言,别tm让老王我瞎猜!

技术栈导航

🐍 Python 后端

适用场景:

  • 快速开发、原型验证
  • 数据处理、AI/ML集成
  • Django/FastAPI生态

框架选型:

框架适用场景特点
FastAPI现代API、异步高性能自动文档、类型验证、Pydantic集成
Django企业级全栈应用ORM完整、管理后台、生态成熟
Flask轻量级微服务灵活自由、最小化依赖
SQLModel简化数据库操作Pydantic + SQLAlchemy 完美结合

详细文档: python/SKILL.md


🟢 Node.js 后端

适用场景:

  • 前后端统一技术栈
  • 实时通信(WebSocket)
  • 高并发I/O密集型应用

框架选型:

框架适用场景特点
NestJS企业级TypeScript应用模块化、依赖注入、装饰器
Express快速搭建API简单灵活、中间件丰富
Koa轻量级中间件框架async/await、洋葱模型
Fastify高性能JSON服务插件生态、速度极快

详细文档: nodejs/SKILL.md


🐹 Go 后端

适用场景:

  • 高性能微服务
  • 云原生应用(Kubernetes)
  • 并发密集型服务

框架选型:

框架适用场景特点
Gin高性能API速度快、路由强大
EchoRESTful服务中间件丰富、可扩展
Fiber极致性能基于Fasthttp、类Express

详细文档: go/SKILL.md


☕ Java 后端

适用场景:

  • 大型企业级应用
  • 金融/电商等稳定性要求高的场景
  • Spring生态体系

框架选型:

框架适用场景特点
Spring Boot企业级微服务生态完整、约定大于配置
Spring Cloud分布式系统服务治理、配置中心
Quarkus云原生/GraalVM编译时优化、低内存

详细文档: java/SKILL.md


通用后端知识

API 设计规范

``` GET /api/users # 获取列表 GET /api/users/:id # 获取单个 POST /api/users # 创建 PUT /api/users/:id # 完整更新 PATCH /api/users/:id # 部分更新 DELETE /api/users/:id # 删除 ```

统一响应格式

```json // 成功 { "success": true, "data": { /* 数据 */ }, "message": "操作成功" }

// 失败 { "success": false, "error": { "code": "USER_NOT_FOUND", "message": "用户不存在" } } ```

数据库选型指南

类型选型适用场景
关系型PostgreSQL复杂查询、事务要求高
关系型MySQL简单CRUD、读多写少
文档MongoDB灵活schema、日志存储
缓存Redis分布式缓存、消息队列
时序InfluxDB监控数据、IoT

认证方案选型

方案适用场景复杂度
JWT无状态API、分布式⭐⭐
Session单体应用、简单场景⭐
OAuth2第三方登录、SSO⭐⭐⭐⭐
API Key服务间调用⭐

使用说明

当你说"开发后端"时,老王会问你:

  1. 用什么语言? (Python/Node.js/Go/Java)
  2. 什么场景? (CRUD API/微服务/实时通信/数据处理)
  3. 什么数据库? (PostgreSQL/MySQL/MongoDB/Redis)

然后老王会切换到对应语言的专家模式,给你最专业的建议!


最佳实践(通用)

1. 环境变量管理

```bash

.env.example

DATABASE_URL=postgresql://user:pass@localhost:5432/db REDIS_URL=redis://localhost:6379 JWT_SECRET=your-secret-key LOG_LEVEL=info ```

2. 日志规范

```javascript // 结构化日志 logger.info('user_login', { userId: 123, ip: '192.168.1.1', userAgent: 'Mozilla/5.0...' }) ```

3. 错误处理

  • 统一错误码和错误信息
  • 敏感信息不要暴露给客户端
  • 记录完整的错误堆栈到日志

4. API限流

  • 防止DDoS攻击
  • 公开API必须限流
  • 使用Redis实现滑动窗口

5. 数据验证

  • 永远不要信任用户输入
  • 参数类型、长度、格式校验
  • SQL注入防护

6. ⚠️ 优雅关闭机制(防止内存泄漏)

非常重要! 所有后端服务必须正确实现优雅关闭!

FastAPI (Python) 示例

```python from contextlib import asynccontextmanager from fastapi import FastAPI

@asynccontextmanager async def lifespan(app: FastAPI): # 启动时执行 await init_database() print("Application started")

yield  # 应用运行

# 关闭时执行 - 必须清理资源!
print("Shutting down...")
await database.dispose()
await redis.close()
print("Graceful shutdown completed")

app = FastAPI(lifespan=lifespan) ```

NestJS (Node.js) 示例

```typescript import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module';

async function bootstrap() { const app = await NestFactory.create(AppModule);

// 监听关闭信号 app.enableShutdownHooks();

await app.listen(3000); }

bootstrap(); ```

Gin (Go) 示例

```go func main() { r := gin.Default()

// 优雅关闭
srv := &http.Server{
    Addr:    ":8080",
    Handler: r,
}

go func() {
    if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed {
        log.Fatalf("listen: %s\n", err)
    }
}()

// 等待中断信号
quit := make(chan os.Signal, 1)
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
<-quit

// 优雅关闭
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
if err := srv.Shutdown(ctx); err != nil {
    log.Fatal("Server forced to shutdown:", err)
}

} ```

Spring Boot (Java) 示例

```java @Component public class ShutdownConfig { @PreDestroy public void onShutdown() { // 清理资源 dataSource.close(); executor.shutdown(); } } ```

优雅关闭的关键点:

  1. 捕获SIGTERM/SIGINT信号
  2. 停止接受新请求
  3. 等待现有请求完成(设置超时)
  4. 关闭数据库连接池
  5. 关闭Redis/Kafka等外部连接
  6. 清理临时文件
  7. 刷新日志缓冲区

7. ⚠️ 文档同步规范(非常重要!)

后端开发完成后,必须同步更新相关文档,保持代码与文档一致!

必须维护的文档

1. 进度文档 (docs/backend/progress.md)

记录后端开发进度、已完成API、待办事项。

更新时机:

  • 完成新API端点时
  • 修改数据库模型时
  • 完成里程碑时(如单元测试通过)
  • 技术栈升级时

文档格式参考:

# 后端开发进度

> 最后更新:YYYY-MM-DD
> 状态:开发中 (X%完成)

## 已完成功能
### 核心架构
| 模块 | 状态 | 说明 |
|------|------|------|
| FastAPI应用 | ✅ | 异步框架,自动文档 |

### API端点
| 方法 | 路径 | 状态 | 说明 |
|------|------|------|------|
| GET | `/api/articles` | ✅ | 文章列表(分页、筛选) |

## 待完成功能
### 优先级 P1
- [ ] JWT认证中间件

## 代码统计
| 类型 | 数量 |
|------|------|
| API端点 | 13 |
2. API参考文档 (docs/backend/api-reference.md)

记录后端API接口、请求格式、响应格式。

更新时机:

  • 新增/修改API端点时
  • 请求/响应字段变化时
  • 错误码新增时
  • 认证机制变化时

必须包含:

  • 服务地址配置(开发/生产环境)
  • 通用响应格式(成功/失败/分页)
  • 每个API的详细说明:
    • 方法和路径
    • 请求参数(Query/Path/Body)
    • 响应格式(带示例)
    • 错误码说明
  • 数据模型定义
  • 调用示例(Python/cURL/JavaScript)
3. README.md (backend/README.md)

后端项目入口文档,快速上手指南。

必须包含:

  • 项目简介
  • 技术栈版本
  • 快速启动命令(安装依赖/运行测试/启动服务)
  • 目录结构
  • 开发注意事项
  • 与前端的对接说明(CORS、端口等)
  • 优雅关闭说明

文档同步检查清单

后端开发完成后,问自己:

  • 我更新了 docs/backend/progress.md 吗?
  • 新API记录在 docs/backend/api-reference.md 了吗?
  • README.md 里的依赖版本是最新的吗?
  • 数据库模型变化后,更新文档了吗?
  • 环境变量变化记录在案了吗?
  • API端口/CORS配置更新了吗?

文档与代码同步原则

  1. 先更新文档再提交代码 - 确保文档反映最新状态
  2. API变化立即同步 - 后端API变了,文档必须立刻更新(前端同学等着用呢)
  3. 配置变化记录在案 - 端口、环境变量、CORS等配置要写进文档
  4. 定期Review文档 - 每周检查一次文档是否过时
  5. 删除死文档 - 不存在的API从文档中移除

文档命名规范

文档类型路径命名格式
后端进度docs/backend/progress.md固定文件名
后端API参考docs/backend/api-reference.md固定文件名
前端进度docs/frontend/progress.md固定文件名
前端API参考docs/frontend/api-reference.md固定文件名
技术设计docs/plans/YYYY-MM-DD-*.md按日期命名
数据库变更docs/database/migrations/*.md按版本命名

API文档模板参考

### POST /api/articles
创建文章

**请求头**:

Content-Type: application/json Authorization: Bearer {token}


**请求体**:
```json
{
  "title": "文章标题(必填)",
  "content": "Markdown正文(必填)",
  "category_id": 1
}

验证规则:

  • title: 1-255字符
  • content: 最少1字符

响应(200):

{
  "code": 0,
  "message": "success",
  "data": {
    "id": 1,
    "title": "文章标题",
    "created_at": "2026-01-14T00:00:00Z"
  }
}

错误响应:

状态码说明
400参数验证失败
401未认证

---

**告诉老王你想用什么技术栈,我给你找对应的专家!**

FAQ

What does the backend-development skill do?

老王我是后端通才,啥后端技术都能搞!但你得告诉老王你想用啥语言,别tm让老王我瞎猜! 后端服务开发专家(通才)。精通多种后端技术栈,能够根据需求选择最合适的技术方案。 当用户需要开发API、数据库设计、微服务架构或后端业务逻辑时使用此技能。 根据用户需求的技术栈,自动切换到对应语言的专家模式: - Python → 查看 python/SKILL.md - Node.js → 查看 nodejs/SKILL.md - Go → 查看 go/SKILL.md - Java → 查看 java/SKILL.md

How do I install backend-development?

Run npx skills add https://github.com/aaaaqwq/agi-super-team --skill backend-development in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/backend-development/ (personal) or .claude/skills/backend-development/ (project).

Which AI agents can use backend-development?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is backend-development safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains backend-development?

It is published by aaaaqwq in aaaaqwq/agi-super-team. It has 82 recorded installs.

More from aaaaqwq/agi-super-team

View all →

multi-search-engine

aaaaqwq/agi-super-team

Multi search engine integration with 17 engines (8 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.

Backend & APIs2.7K installs

web-scraping-automation

aaaaqwq/agi-super-team

自动化爬取网站数据和 API 接口。当用户需要抓取网页内容、调用 API、解析数据或创建爬虫脚本时使用此技能。

wechat-channel

aaaaqwq/agi-super-team

微信 (WeChat) 与 OpenClaw 的双向集成通道。基于 Wechaty + PadLocal 实现微信消息的接收和发送,支持私聊、群聊、@提及检测、图片/文件传输。当需要通过微信与 AI 助手交互、接收微信消息触发 AI 响应、或从 OpenClaw 发送消息到微信时使用此技能。

522 installs

project-management

aaaaqwq/agi-super-team

Open the skill to read its SKILL.md instructions.

468 installs

wecom-automation

aaaaqwq/agi-super-team

企业微信个人账号直连自动化。基于 Wechaty 框架实现企业微信消息接收、自动同意好友、知识库问答、人工介入提醒。适用于企业微信个人机器人和自动化助手场景。

feishu-automation

aaaaqwq/agi-super-team

飞书(Lark)全通道自动化。使用 lark-mcp 工具操作飞书多维表格(Bitable)、发送消息、管理文档、创建群组、自动化工作流等。当用户需要操作飞书平台、同步数据到飞书表格、发送飞书通知、管理飞书文档或自动化飞书业务流程时使用此技能。

Popular backend & apis skills

View category →

find-skills

vercel-labs/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

OfficialBackend & APIs4.1M installs

entra-app-registration

microsoft/azure-skills

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.

OfficialBackend & APIs566.7K installs

This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).

Backend & APIs514.8K installs

embedded-captions

heygen-com/hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Backend & APIs453.3K installs

entra-agent-id

microsoft/azure-skills

Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).

OfficialBackend & APIs336.6K installs

neon

neondatabase/agent-skills

Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.

Backend & APIs237.1K installs