refactor(prompt-builder): locale-dispatch every section for zh/en parity
Split each prompt section into parallel .en.md/.zh.md bundles (sops, api-docs,
ceo-modes, department-guidelines) and mirrored messages/{operating,system}-{en,zh}.ts
modules for the inline identity/culture/rules text that had stayed as hard-coded
English template literals. Every loader now resolves a locale via a single
shared helper so CEO and IC prompts come out fully Chinese when locale=zh and
fully English otherwise, removing the need for the trailing "请记住:全程使用中文"
language reminder.
This commit is contained in:
1 parent
e1f70c7f9c
commit
cf92e0c646
91 files changed
+2425
-562
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Engineering 部门指南
|
||||
作为工程团队成员,你有以下特别职责:
|
||||
- 编写整洁、可维护、有良好测试的代码。
|
||||
- 与 Product 协调需求,与 Design 协调 UX 规范。
|
||||
- 及时参与代码审阅 —— 解除队友阻塞。
|
||||
- 提交审阅前遵循 Engineering 质量检查单:
|
||||
[ ] 代码可编译且通过全部现有测试
|
||||
[ ] 为新功能编写了新测试
|
||||
[ ] 若 API 改变则更新了文档
|
||||
[ ] 代码中无 secret 或凭据
|
||||
[ ] 考虑了性能影响
|
||||
[ ] 审视了安全影响
|
||||
Reference in new issue
Block a user