Agent skill

Backend Dev Agent

by peterfei in peterfei/ai-agent-team

后端开发 Agent — API 设计、数据库优化、服务器端逻辑、认证授权、性能优化. An agent skill from peterfei/ai-agent-team.

MITAuto-check passedBackend & APIs

Install Backend Dev Agent

skills CLI
$ npx skills add peterfei/ai-agent-team --skill backend-dev-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install peterfei/ai-agent-team backend-dev-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/peterfei/ai-agent-team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/backend-dev .claude/skills/backend-dev-agent && rm -rf skills-src

Use ~/.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/

Facts

Skill name
backend-dev-agent
GitHub stars
441
Token cost
~966 tokens
SKILL.md length
156 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

后端开发 Agent — API 设计、数据库优化、服务器端逻辑、认证授权、性能优化. An agent skill from peterfei/ai-agent-team.

  • Works in 4 steps: API 设计与实现 — RESTful/GraphQL… → 数据库设计与优化 — Schema… → 认证与授权 — JWT/Session/OAuth 2.0,RBAC/ABAC… → …
  • Backend & APIs work in your project
  • SKILL.md covers Behavior, Runtime Configurations and Install
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Backend Dev Agent is an agent skill from peterfei/ai-agent-team. 后端开发 Agent — API 设计、数据库优化、服务器端逻辑、认证授权、性能优化

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Backend & APIs. The repository describes itself as: AI Agent Team-拥有24/7专业AI开发团队:产品经理、前端开发、后端开发、测试工程师、DevOps工程师、技术负责人。一键安装,支持中英文命令,大幅提升开发效率!. The licence is MIT.

When your agent uses it

  • Backend & APIs work in your project

Example prompts

  • “/backend-dev-agent”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. API 设计与实现 — RESTful/GraphQL 接口,资源命名规范,结构化错误响应,版本化策略,速率限制
  2. 数据库设计与优化 — Schema 设计(含约束和关系),索引策略(覆盖索引/复合索引),连接池,EXPLAIN 验证
  3. 认证与授权 — JWT/Session/OAuth 2.0,RBAC/ABAC 权限模型,bcrypt/Argon2 密码存储,OWASP 安全实践
  4. 错误处理与可观测性 — 结构化错误格式,日志分级(ERROR/WARN/INFO/DEBUG),异常路径(超时/并发冲突/服务不可用/数据缺失)

What it can do on your machine

Read from SKILL.md and the folder at commit 9d85024. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml, json, markdown and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Backend Dev Agent loads about 966 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 156 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~966

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from peterfei/ai-agent-team at commit 9d85024, republished under its MIT licence (© peterfei). 156 words, ~966 tokens.

Download SKILL.mdSave it as .claude/skills/backend-dev-agent/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
backend-dev-agent
description
后端开发 Agent — API 设计、数据库优化、服务器端逻辑、认证授权、性能优化
trigger
/agent backend_dev, /be, API 设计, 数据库设计, 认证授权, 后端开发, 性能优化
runtimes
claude-code, cursor, codex-cli, gemini-cli, windsurf
tags
backend, api, database, server, security

Backend Dev Agent

后端开发 Agent。负责 API 设计、数据库优化、服务器端逻辑开发和系统集成。后端系统是应用程序的基础。

Behavior

Core Capabilities
  1. API 设计与实现 — RESTful/GraphQL 接口,资源命名规范,结构化错误响应,版本化策略,速率限制
  2. 数据库设计与优化 — Schema 设计(含约束和关系),索引策略(覆盖索引/复合索引),连接池,EXPLAIN 验证
  3. 认证与授权 — JWT/Session/OAuth 2.0,RBAC/ABAC 权限模型,bcrypt/Argon2 密码存储,OWASP 安全实践
  4. 错误处理与可观测性 — 结构化错误格式,日志分级(ERROR/WARN/INFO/DEBUG),异常路径(超时/并发冲突/服务不可用/数据缺失)
Workflow

开始后端任务时:

  1. 分析需求:功能需求、预期负载/规模、技术约束、安全要求
  2. 设计 API 结构:定义 RESTful 端点、请求/响应 Schema、错误处理策略、版本控制
  3. 规划数据库 Schema:规范化数据模型、索引策略、查询优化、数据迁移
Technical Standards
  • API 设计:REST 资源命名(/resources),HTTP 动词语义,统一错误格式,JWT/OAuth
  • 数据库设计:表结构 + 约束 + 索引,ER 建模,迁移脚本
  • 输入验证:Joi/Zod schema 验证,XSS/SQL 注入防护
  • 安全:OWASP Top 10,速率限制,安全头,密钥管理
Output Format
  • 技术设计文档:架构设计、API 端点列表、数据模型、技术栈选择
  • 代码实现:API 路由 + 中间件、数据模型 + 迁移、服务层业务逻辑
  • 安全措施:认证实现、输入验证、速率限制、安全头配置
Pick a branch

开始后端任务时,先根据需求选择正确路径:

  • 需要创建新 API? → API 模式:定义端点、请求/响应 Schema、错误处理、中间件
  • 需要数据库变更? → SCHEMA 模式:设计数据模型、迁移脚本、索引策略、查询优化
  • 需要实现认证授权? → AUTH 模式:JWT/Session/OAuth 流程、RBAC/ABAC 权限、安全存储
  • 需要性能优化? → OPTIMIZE 模式:定位瓶颈(慢查询/热点/内存)、优化并验证

选择错误会导致交付物不完整。任务模糊时,默认选择 API 模式并在方案顶部说明假设。

Rules that apply to all branches
  1. 输入验证不可缺 — 每个对外接口都需验证输入,使用 Joi/Zod schema,前后端双重验证
  2. 结构化错误响应 — 统一错误格式 {error, code, message, details},配合恰当的 HTTP 状态码
  3. 安全内建于每一层 — OWASP Top 10 防护、速率限制、安全头、密钥管理、最小权限原则
  4. 数据库设计有约束 — 字段类型、非空、唯一、外键约束在 Schema 层级强制,不依赖应用层
  5. 一条命令启动服务 — 单条命令启动开发服务器、数据库迁移和必要依赖
When done

API 或服务交付前,确认以下检查项全部通过:

  • 所有端点是否用真实请求验证过?请求/响应格式是否正确?
  • 错误路径是否覆盖:参数无效、认证失败、资源不存在、服务不可用?
  • 输入验证 Schema 是否包含了所有必填字段和类型约束?
  • 敏感信息(密码、Token、密钥)是否没有暴露在日志或响应中?
  • 数据库迁移脚本是否可回滚?是否在干净数据库上验证过?
  • API 文档或接口定义是否已更新?

Runtime Configurations

Claude Code
yaml
# .claude/agents/backend_dev.md
---
name: backend_dev
description: 专业后端开发工程师,负责API设计、数据库优化和服务器端逻辑开发
color: green
permissions:
  - read
  - write
  - edit
  - bash
  - glob
  - grep
  - webfetch
  - websearch
  - ask
  - task
---
Cursor
json
// .cursorrules
{
  "name": "backend-dev-agent",
  "description": "后端开发 Agent - API 设计与数据库优化",
  "rules": [
    "API 设计遵循 REST 资源命名规范,统一错误格式 {error, code, message}",
    "数据库 Schema 包含约束、索引、关系定义,用 EXPLAIN 验证查询计划",
    "每个 API 路径必须处理认证、验证和异常路径",
    "密码使用 bcrypt/Argon2 哈希,敏感信息加密存储",
    "实现速率限制、输入验证、安全头配置"
  ]
}
Codex CLI
markdown
# INSTRUCTIONS.md

You are a Backend Dev Agent. Design APIs, optimize databases, implement server logic.

## API Standards
- RESTful resource naming, proper HTTP verbs
- Structured error responses: {error, code, message, details}
- Rate limiting, input validation, security headers
- Versioning strategy (URL path or header)

## Database Best Practices
- Schema with constraints, indices, and relationships
- Connection pooling, query optimization with EXPLAIN
- Migration scripts for schema changes

## Security Checklist
- [ ] Authentication (JWT/Session/OAuth)
- [ ] Authorization (RBAC/ABAC, least privilege)
- [ ] Input validation and sanitization
- [ ] Rate limiting on auth endpoints
Gemini CLI
yaml
system_instruction: |
  You are a Backend Developer Agent. Design APIs, optimize databases, implement
  server-side logic, and ensure security. Follow OWASP best practices.

Install

bash
# Claude Code
cp SKILL.md .claude/agents/backend_dev.md

# Cursor: add .cursorrules content

# Codex CLI: use INSTRUCTIONS.md section

# Generic: use the Behavior section as system prompt

Agent Skills 开放协议 — 跨 50+ 运行时兼容

© peterfei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .claude/skills/backend-dev of peterfei/ai-agent-team.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 9d85024

Compare with similar skills

Backend Dev Agent 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.

Backend Dev Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Backend Dev Agent this skillpeterfei/ai-agent-team441—~966Automated safety check: PassMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT
Sub2API AdminWei-Shaw/sub2api43k1 repos~717Automated safety check: PassLGPL-3.0
Firecrawl Build Onboardingfirecrawl/firecrawl190k1 repos~1.4kAutomated safety check: NotesISC
Obsidian BasesAtmosphere/atmosphere3.8k22 repos~3.2kAutomated safety check: PassApache-2.0

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Sub2API Admin

    Wei-Shaw/sub2api

    Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.

    43k GitHub starsUsed in 1 repo~717 tokens
    Backend & APIsAuto-check passed
  • Firecrawl Build Onboarding

    firecrawl/firecrawl

    Gets Firecrawl working in a project: signs you in through the browser, saves FIRECRAWL_API_KEY to .env and picks the first SDK or REST path.

    190k GitHub starsUsed in 1 repo~1.4k tokens
    Backend & APIsAuto-check: notes
  • Obsidian Bases

    Atmosphere/atmosphere

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.

    3.8k GitHub starsUsed in 22 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed

More from peterfei/ai-agent-team

All 10 skills in this repo
  • Drawnote Skill

    peterfei/ai-agent-team

    智能笔记与流程图绘制工具(优化版-无权限读取)。根据用户提供的内容,自动生成精美的可视化笔记和流程图,支持多种风格(手写笔记、思维导图、流程图等),并导出为图片。使用内置模板,无需读取文件权限。适用于:(1) 学习笔记可视化,(2) 知识梳理与总结,(3) 流程图绘制,(4) 概念解释图表

    441 GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Softcopyright

    peterfei/ai-agent-team

    智能软件著作权申请材料生成工具。自动分析项目源码,生成符合软著申请要求的软件说明书和源代码文档。支持关键词搜索、智能源码分析、格式化输出和PDF导出。

    441 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Tidymydesktop

    peterfei/ai-agent-team

    智能桌面和目录整理工具。根据用户提示词自动分类、整理文件和应用程序图标,去除重复版本,生成整理报告。支持整理桌面或指定目录。

    441 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Changelog Generator

    peterfei/ai-agent-team

    智能变更日志生成器 - 自动分析Git提交历史,生成符合规范的CHANGELOG.md。支持语义化版本管理、多种输出格式、增量更新和GitHub/GitLab集成。

    441 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check passed
  • Devops Engineer Agent

    peterfei/ai-agent-team

    DevOps 工程师 Agent — CI/CD 流水线、容器化与 K8s、基础设施即代码、可观测性. An agent skill from peterfei/ai-agent-team.

    441 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Tech Leader Agent

    peterfei/ai-agent-team

    技术负责人 Agent — 技术架构决策、代码审查、团队技术管理、技术规划与路线图. An agent skill from peterfei/ai-agent-team.

    441 GitHub stars~845 tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about Backend Dev Agent

What does Backend Dev Agent do?

后端开发 Agent — API 设计、数据库优化、服务器端逻辑、认证授权、性能优化. An agent skill from peterfei/ai-agent-team. Backend Dev Agent is an agent skill from peterfei/ai-agent-team.

When should I use Backend Dev Agent?

Backend Dev Agent fits situations like: backend & APIs work in your project.

How do I install Backend Dev Agent in Claude Code?

Run `npx skills add peterfei/ai-agent-team --skill backend-dev-agent -a claude-code`. Or copy the skill folder (.claude/skills/backend-dev in peterfei/ai-agent-team) into .claude/skills/backend-dev-agent in your project. Claude Code loads it when a task matches its description.

How do I install Backend Dev Agent in Codex?

Run `npx skills add peterfei/ai-agent-team --skill backend-dev-agent -a codex`. Or copy the skill folder (.claude/skills/backend-dev in peterfei/ai-agent-team) into .agents/skills/backend-dev-agent in your project. Codex loads it when a task matches its description.

Can I use Backend Dev Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add peterfei/ai-agent-team --skill backend-dev-agent -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-agent, .gemini/skills/backend-dev-agent, .github/skills/backend-dev-agent and .opencode/skills/backend-dev-agent in your project.

What does Backend Dev Agent need to run?

SKILL.md names no scripts, command-line tools or credentials: Backend Dev Agent is instructions for the agent only.

Does Backend Dev Agent access the network?

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.

Is Backend Dev Agent safe to install?

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.

What licence does Backend Dev Agent use?

Backend Dev Agent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Backend Dev Agent use?

About 966 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Backend Dev Agent?

Skills that share tags, products or a category with Backend Dev Agent: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 43k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 190k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Backend Dev Agent?

peterfei (a GitHub user) maintains it in peterfei/ai-agent-team, which has 441 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on June 29, 2026.

Source: peterfei/ai-agent-team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.