Files
opencode-config/AGENTS.md
imbytecat 4471d0145e feat: 强化全局中文强制执行策略
- 强化全局中文强制执行策略,明确所有交互场景下的语言规范并禁止英文输出。
2026-01-26 23:34:45 +08:00

20 lines
983 B
Markdown
Raw 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.
<CRITICAL_LANGUAGE_OVERRIDE>
[最高优先级指令:全局中文强制]
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 项
- 输出英文的错误分析
</CRITICAL_LANGUAGE_OVERRIDE>