Skip to content

Commit 3d7f5c5

Browse files
committed
feat(Coding Standards): enforce English-only codebase for user-facing text and documentation
1 parent 6b5bdcf commit 3d7f5c5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/copilot-instructions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ interface UIComponent {
6969
}
7070

7171
5. Coding Standards (The 7 Commandments)
72+
73+
🌐 Rule #-1: English-Only Codebase
74+
* Context: This is an international open-source project.
75+
* Instruction: ALL user-facing text in components, documentation, comments, and UI labels MUST be written in English.
76+
* Constraint: Do NOT use Chinese or any other non-English language in:
77+
- Component text/labels (buttons, titles, descriptions, error messages)
78+
- Code comments
79+
- Documentation files (README.md, docs/*.md)
80+
- Console/log messages
81+
* Reasoning: English ensures global accessibility and consistency across the codebase.
82+
7283
📜 Rule #0: Strict Adherence to @objectstack/spec
7384
* Context: We are the implementation of a standard protocol.
7485
* Instruction: All component schemas, JSON structures, and data types MUST strictly follow definitions in `@objectstack/spec`.

0 commit comments

Comments
 (0)