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. +