diff --git a/.hermes/shared-memory/team-conventions.md b/.hermes/shared-memory/team-conventions.md index 8677fadc..c4e19275 100644 --- a/.hermes/shared-memory/team-conventions.md +++ b/.hermes/shared-memory/team-conventions.md @@ -56,7 +56,7 @@ 3. 新增或沉淀 Markdown 文档时,确认文件名已使用 `【标签名】` 前缀。 4. 若产生长期有效知识,更新 `.hermes/shared-memory/`。 5. 若形成可复用流程,考虑沉淀到 `.hermes/skills/`。 -6. 在提交信息中区分代码变更与文档/记忆变更。 +6. 提交代码时,提交标题使用中文;标题后逐行写明本次提交修改了什么,每条变更单独一行。 ## 文档阅读顺序 diff --git a/AGENTS.md b/AGENTS.md index 01cbf619..49289da2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -43,6 +43,7 @@ Single-context layout: read root `CONTEXT.md` when present. Current architecture - UI面板中不要默认写一些规则描述文案,清爽一些,按照游戏UI设计规范设计即可。 - UI设计需要兼顾网页端、移动端双端的使用体验,确保在不同设备上都能正常显示和操作,移动端优先考虑。 - 不要在gitignore中添加.env.local文件。 +- 提交代码时,提交标题必须使用中文;标题后必须逐行写明本次提交修改了什么,每条变更单独一行。 - 严格遵循简洁的代码风格 - 请默认保持系统的简洁性,能复用、修改、扩展现有系统、页面就不新建新系统新页面。 - 禁止将功能说明描述类的文本默认写入UI界面中。