Language policy: Chinese for human-facing files (README, docs/, human-fillable templates), English for AI-facing files (CLAUDE.md, AGENTS.md, AI templates). Commits / PRs / branches / tags stay English. - Translate docs/01-06 to Chinese - Translate README.md, PR / handoff / project README templates to Chinese - Drop README.en.md (redundant once language policy is explicit) - Rewrite CLAUDE.md and CLAUDE.md.template under the new policy - Add AGENTS.md (root) and templates/AGENTS.md.template for Codex - Add docs/07-codex.md covering Codex usage and AGENTS.md / CLAUDE.md sync rules Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Summary(小结)
<一句话说清这个 PR 干了什么。需要的话再加 1–3 条 bullet。>
Why(为什么)
<动机。解决什么问题、落实什么决策、修哪个 bug。如果挂着 issue 或者之前的讨论,链上来。>
What changed(改了什么)
<列出实际改动,跨多个区域时按区域分组。写事实就行——diff 是真相 来源,这只是地图。>
<文件或区域>— <改动><文件或区域>— <改动>
Test plan(测试方案)
<勾选式 checklist。做了的勾 [x],没做的留 [ ] 并在下面解释为什么。
诚实——"没测"可以接受,"声称测了但没测"不行。>
- 单元测试本地通过(
<command>) - Lint / typecheck 通过(
<command>) - <功能特定的检查>
- <功能特定的检查>
Out of scope(范围外)
<你注意到但显式选择不在这个 PR 修的东西。帮 reviewer 不要在这些 点上提出来。>
Notes for reviewer(给 reviewer 的提示)
<让你意外的地方、值得标注的 AI 协作决策、走过的捷径,或者"我考虑 过 X 但选了 Y 因为 Z"。没什么可写就删掉这一节。>
🤖 AI 协助完成(Claude Code / Codex)。