Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

docs: require English messages for all Git commits

wulien-center68d5249ec4ba
diff --git a/AGENTS.md b/AGENTS.md
index 3ca8f8c6..433fc317 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -1,5 +1,13 @@
# OpenCreator 项目级 Agent 规则
+## Git 提交说明语言门禁
+
+- 铁律:本项目所有 Git 提交说明必须使用英文,包括提交标题、正文,以及 merge、squash、revert 等操作产生的说明。
+- 此规则优先于“回答和文档必须使用中文”的全局规则,仅 Git 提交说明使用英文;回答和项目文档仍使用中文。
+- 提交前必须检查即将使用的完整说明;发现中文描述时,先准确翻译为英文,再执行提交。不得只翻译标题而保留中文正文。
+- 合并、变基、挑选提交或回滚时,必须检查自动生成的提交说明,避免重新引入中文说明。
+- 提交完成后必须通过 `git log -1 --format=%B` 核对完整说明;推送前必须检查本次待推送提交的标题和正文,存在中文说明时不得推送。
+
## 执行效率与最小充分验证铁律
### 总原则