bayuMIR/AGENTS.md

14 lines
696 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Project Rules
## 编码规范(强制执行)
- **服务端文件Mirserver/目录下):必须使用 GB2312/GBK 编码**
- 读取时必须按 GB2312/GBK 解析
- 写入时必须保持 GB2312/GBK 编码,绝不允许转换为 UTF-8
- 包括但不限于:.lua、.txt、.ini 等所有服务端文件
- **客户端文件client/目录下):必须使用 UTF-8 编码**
- 读取和写入都使用 UTF-8 编码
- 修改服务端/客户端逻辑时,严格保持各自的编码,编辑后必须验证中文文本正确显示
## MCP工具调用
- 处理服务端代码前,调用 MCP 工具mcp_996_new_server
- 处理客户端代码前,调用 MCP 工具mcp_996_client