From 7781ac475566c44ff675d3292ce02d70a62cb6cd Mon Sep 17 00:00:00 2001 From: Joywayer Date: Tue, 9 Jun 2026 11:00:42 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20CLAUDE.md=20=E8=A1=A5=E5=85=85=E7=A6=81?= =?UTF-8?q?=E6=AD=A2=E5=BC=95=E7=94=A8=E5=85=B6=E4=BB=96=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E4=B8=8E=E5=8F=8A=E6=97=B6=20git=20=E6=8F=90=E4=BA=A4=E8=A7=84?= =?UTF-8?q?=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 29e9bf0..30cf1a4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -177,3 +177,11 @@ Overall average: **60-90% token reduction** on common development operations. - ❌ 禁止:`// 对齐空洞骑士手感`、`[Tooltip("HK ~0.12s")]`、`ApplyHKComposerDefaults(...)` - ✅ 替换为只描述功能特点:`// 下落比上升更快,手感紧实`、`[Tooltip("推荐 0.12s")]`、`ApplyComposerDefaults(...)` - 允许保留的通用业界术语:`Pogo`、`Charm`、`platformer`/横版平台游戏、`Metroidvania`、`手感`/`风格`。 + +## 5. 及时 Git 提交 + +完成一个可独立工作的改动后(功能、修复、重构、文档等),应**及时 git 提交**,不要积压大量未提交改动: + +- 每完成一个逻辑单元就提交一次,保持提交粒度小、可回溯。 +- 提交信息遵循现有风格(中文 + 类型前缀,如 `feat(ui):` / `refactor:` / `docs:` / `fix:`)。 +- 使用 RTK:`rtk git add ... && rtk git commit -m "..."`。