Borrowing it
Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/05_Backend_Database/SKILL.mdgit clone --depth 1 https://github.com/boshi-xixixi/TraeSkillWrote 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/skills/boshi-xixixi/traeskill/05_backend_database)<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/05_backend_database"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_backend_database/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/skills/boshi-xixixi/traeskill/05_backend_database"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_backend_database.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.00067 | $0.00542 |
| Opus 5.5 | $0.00027 | $0.00217 |
| Sonnet 5.5 | $0.00013 | $0.00108 |
| Haiku 4.5 | $0.00007 | $0.00054 |
Grade A, and why
Backend Database Expert 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 8d 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.
What it actually says
Backend Database Skills
🤖 智能体与 MCP 增强 (Agent & MCP Enhancements)
本 Skill 支持并推荐配合特定的智能体角色和 MCP 工具使用,以获得最佳效果。
推荐智能体角色
- Database Consultant: 详见 AGENTS.md。
- 该角色专注于数据库架构设计、性能调优和数据安全。
- 启用后,AI 将优先进行 Schema 内省和执行计划分析。
推荐 MCP 工具
- PostgreSQL/MySQL MCP: 允许 AI 直接连接数据库,获取实时的 Schema 信息和执行 EXPLAIN 分析,而不仅仅是基于静态代码推断。
- mcp-feedback-enhanced: 允许 AI 在设计表结构或优化策略时,如果遇到不确定性,使用
ask_followup_question等工具主动向用户确认业务需求或权衡方案。
提供专业的数据库开发与维护能力,帮助你构建高性能、高可靠的数据层。
包含的技能模块
1. SQL 优化模式 (SQL Optimization)
- 核心价值: 解决慢查询,提升数据库性能。
- 关键技术: EXPLAIN 分析, 索引策略, N+1 问题修复.
- 使用场景: 数据库性能瓶颈分析、复杂查询优化。
2. 数据库迁移 (Database Migration)
- 核心价值: 安全、可控地变更数据库结构。
- 关键技术: 迁移脚本编写, 向后兼容性, 零停机迁移.
- 使用场景: 版本迭代、Schema 变更、数据清洗。
如何使用
- 性能调优: "请使用 SQL 优化模式帮我分析这条查询语句为什么这么慢。"
- 结构变更: "请参考数据库迁移指南,帮我写一个给用户表添加字段的迁移脚本。"
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 40 lines · 67 tokens per session scan A 02f52afcf31d
Backend Database Expert is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 67 tokens to every session and 542 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-11-22.
Backend Database Expert compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Backend Database Expertboshi-xixixi/TraeSkill | Skill | 288 | 9d ago | MIT | A | 67 | Claude Code, Codex |
| dbRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 43 | Claude Code |
| azure-cosmos-dbMicrosoftDocs/Agent-Skills | Skill | 824 | 21d ago | CC-BY-4.0 | A | 121 | Claude Code |
| azure-sql-databaseMicrosoftDocs/Agent-Skills | Skill | 824 | 21d ago | CC-BY-4.0 | A | 135 | Claude Code |
| azure-database-postgresqlMicrosoftDocs/Agent-Skills | Skill | 824 | 21d ago | CC-BY-4.0 | A | 140 | Claude Code |
| azure-sql-managed-instanceMicrosoftDocs/Agent-Skills | Skill | 824 | 21d ago | CC-BY-4.0 | A | 115 | Claude Code |
| azure-sapMicrosoftDocs/Agent-Skills | Skill | 824 | 21d ago | CC-BY-4.0 | A | 128 | Claude Code |