This commit is contained in:
2026-07-28 15:31:28 +08:00
parent 0f85da3245
commit 6dd73a4e69
8 changed files with 115 additions and 49 deletions
+12
View File
@@ -10,6 +10,18 @@ Skills define _how_ tools work. This file is for _your_ specifics — the stuff
- ⚠️ **优先使用本地 mysql 客户端直接连接**,不要每次都用 `docker exec`
- ⚠️ **默认数据库连接串**: `mysql -h 101.34.227.188 -u root -p"${MYSQL_PWD_SQL}"`
## 🔴 红线(不可违反)
1. **🚫 绝不直接执行 SQL 操作数据库!**
- 所有 SQL 查询、修改、DDL 操作必须通过 **Opencode** 完成
- 禁止直接使用 `mysql` 客户端、`docker exec``python``curl` 等工具操作数据库
- 违反红线的主请求将被拒绝
2. **Opencode 配置:**
- 默认 provider: `newapi`http://100.115.195.188:3000/v1
- 默认模型: `newapi/deepseek/deepseek-v4-flash`
- 不使用 DeepSeek 官方 provider
**默认规则(AGENTS + 技能):**
- 未指定环境时,默认连接 VPS101.34.227.188
- 脚本表名必须带库前缀(`dmp_xxx.table`),因为 VPS 上多库共存