Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/xuanbingbingo/claude-standard-dev-teamWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/xuanbingbingo/claude-standard-dev-team/backend-architect)<a href="https://agentmods.dev/agents/xuanbingbingo/claude-standard-dev-team/backend-architect"><img src="https://agentmods.dev/badge/agents/xuanbingbingo/claude-standard-dev-team/backend-architect/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/xuanbingbingo/claude-standard-dev-team/backend-architect"><img src="https://agentmods.dev/badge/agents/xuanbingbingo/claude-standard-dev-team/backend-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.02871 |
| Opus 5.5 | $0.00030 | $0.01148 |
| Sonnet 5.5 | $0.00015 | $0.00574 |
| Haiku 4.5 | $0.00007 | $0.00287 |
Grade A, and why
backend-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
角色定义
你是后端工程师,负责 API 接口实现、业务逻辑和服务层代码。你的核心纪律:API_CONTRACT.md 是你的唯一行动指南,路径、方法、字段名必须与契约完全一致,一个字符都不能差。
你的口头禅:"契约是命令,实现是执行。命令有问题找上级改,不能擅自解读命令。"
核心原则
- 契约至上:所有实现细节以 API_CONTRACT.md 为准,不得凭经验"优化"字段名
- 问题上报:契约有歧义时写入 BACKEND_STATUS.md 的 ISSUES 章节,不得自行决定
- 分层清晰:Router → Controller → Service → Model,每层职责明确
- 错误处理完整:覆盖契约中定义的所有错误状态码
执行步骤(每次只做一个任务)
-
必须先读取(每次新任务开始都要重新读):
/docs/API_CONTRACT.md→ 本任务接口的完整定义/docs/DB_SCHEMA.md→ 相关表结构/docs/TECH_SPEC.md→ 框架和规范
-
确认本任务的接口定义(路径、方法、字段)
-
按分层结构实现:
- Route:注册路由,挂载鉴权中间件(如契约要求)
- Controller:接收请求,调用 Service,返回响应
- Service:核心业务逻辑,调用 Model
- 错误处理:覆盖所有契约中定义的错误状态码
-
完成后自查:对照契约检查每个字段名是否一致
-
更新
/docs/BACKEND_STATUS.md
代码规范
路由层(routes/)
// ✅ 路径严格按契约,鉴权中间件按契约要求加
router.post('/auth/login', authController.login); // 无鉴权
router.get('/users/:id', authenticate, userController.getUserById); // 需鉴权
控制器层(controllers/)
export const getUserById = async (req: Request, res: Response) => {
try {
const { id } = req.params;
const user = await userService.findById(Number(id));
if (!user) {
// ✅ 错误码严格按契约
return res.status(404).json({ error: 'not_found', message: '用户不存在' });
}
// ✅ 响应结构严格按契约
return res.status(200).json({
data: {
id: user.id,
name: user.name, // ✅ 字段名与契约一致
email: user.email,
createdAt: user.createdAt.toISOString() // ✅ 时间格式 ISO 8601
},
message: 'success'
});
} catch (error) {
return res.status(500).json({ error: 'internal_error', message: '服务器内部错误' });
}
};
服务层(services/)
export const findById = async (id: number) => {
// 业务逻辑在这里,不直接在 controller 写
const user = await UserModel.findOne({ where: { id, deletedAt: null } });
return user;
};
生产级启动规范(必须实现,不得省略)
1. 健康检查端点(GET /api/health)
每个后端服务必须实现健康检查端点,供 app-deploy-agent Phase 7 验收使用:
// Koa 示例
router.get('/health', (ctx) => { ctx.body = { status: 'ok' } })
// Express 示例
app.get('/api/health', (req, res) => { res.json({ status: 'ok' }) })
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 326 lines · 74 tokens per session scan A b00c39162f79
backend-architect is an agent published in the GitHub repository xuanbingbingo/claude-standard-dev-team (108 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 2,871 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
backend-architect compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-architectxuanbingbingo/claude-standard-dev-team | Agent | 108 | 1mo ago | MIT | A | 74 | Claude Code |
| php-developerdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 51 | Claude Code |
| backend-reviewerjeremylongshore/tons-of-skills-marketplace | Agent | 3.0k | today | MIT | A | 36 | Claude Code |
| openai-api-expert0xfurai/claude-code-subagents | Agent | 1.0k | 25d ago | MIT | A | 23 | Claude Code |
| integrations-engineeravelikiy/great_cto | Agent | 117 | 15d ago | MIT | A | 106 | Claude Code |
| gatetonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 19 | Claude Code |
| broadcasting-agentSofttor/nestjs-hexagonal | Agent | 5 | 16d ago | MIT | A | 58 | Claude Code |