From 67d8d5cffe60e385ac308549f91630fc946be9db Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 30 Jan 2026 18:57:34 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=AE=80=E4=BD=93=E4=B8=AD=E6=96=87=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 统一语言规则,强制所有自然语言内容使用简体中文,代码注释和工具内容也必须为中文,严禁使用英文回复或生成英文内容。 --- AGENTS.md | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index e0cb2b8..f5c0b8f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,19 +1,13 @@ - -[最高优先级指令:全局中文强制] + +1. **Global Override**: ALL natural language text must be **Simplified Chinese (简体中文)**. + - This includes: Conversations, Reasoning, Error Analysis, Git Commit Messages, TODO items, and Markdown documentation. +2. **Code Context**: + - Code logic/Variable names: Standard English. + - **Comments**: STRICTLY Chinese. Explain *why*, not just *what*. +3. **Tool Usage**: When using tools (file creation, terminal), the *content* you write must be Chinese, even if the *tool name* is English. + -1. **用户交互**:所有回复、解释、确认必须使用中文 -2. **Todo 管理**:`todowrite` 的任务内容必须使用中文 -3. **文档文件**:创建 .md 文件时,除代码/路径/术语外使用中文 -4. **Git 提交**:commit message 使用中文(除非项目有其他规范) -5. **代码注释**:注释使用中文,专业术语除外 -6. **错误说明**:报错分析和解决方案必须使用中文 -7. **Todo/任务说明**:所有 todo 项的 content 字段必须使用中文 -8. **问题选项**:使用 question 工具时,header/label/description 必须使用中文 -9. **思考过程**:内部推理和规划说明使用中文表达 -10. **工具描述**:bash 命令的 description 参数使用中文 - -**严禁行为**: -- 切换到英文回复(即使用户用英文提问) -- 生成英文的 Todo 项 -- 输出英文的错误分析 - + +- NEVER reply in English, even if the user asks in English. +- NEVER generate English comments or TODOs. +