-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: 添加中文文档并在 main-zh 分支中将所有 MD 文件替换为中文版本 #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,18 @@ | ||
| <!-- OPENSPEC:START --> | ||
| # OpenSpec Instructions | ||
| # OpenSpec 指令 | ||
|
|
||
| These instructions are for AI assistants working in this project. | ||
| 这些指令适用于在此项目中工作的 AI 助手。 | ||
|
|
||
| Always open `@/openspec/AGENTS.md` when the request: | ||
| - Mentions planning or proposals (words like proposal, spec, change, plan) | ||
| - Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work | ||
| - Sounds ambiguous and you need the authoritative spec before coding | ||
| 当请求满足以下条件时,始终打开 `@/openspec/AGENTS.md`: | ||
| - 提到规划或提案(如 proposal、spec、change、plan 等词) | ||
| - 引入新功能、破坏性变更、架构转变或重大性能/安全工作 | ||
| - 听起来模糊,您需要在编码前查看权威规范 | ||
|
|
||
| Use `@/openspec/AGENTS.md` to learn: | ||
| - How to create and apply change proposals | ||
| - Spec format and conventions | ||
| - Project structure and guidelines | ||
| 使用 `@/openspec/AGENTS.md` 学习: | ||
| - 如何创建和应用变更提案 | ||
| - 规范格式和约定 | ||
| - 项目结构和指南 | ||
|
|
||
| Keep this managed block so 'openspec update' can refresh the instructions. | ||
| 保留此托管块,以便 'openspec update' 可以刷新指令。 | ||
|
|
||
| <!-- OPENSPEC:END --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <!-- OPENSPEC:START --> | ||
| # OpenSpec 指令 | ||
|
|
||
| 这些指令适用于在此项目中工作的 AI 助手。 | ||
|
|
||
| 当请求满足以下条件时,始终打开 `@/openspec/AGENTS.md`: | ||
| - 提到规划或提案(如 proposal、spec、change、plan 等词) | ||
| - 引入新功能、破坏性变更、架构转变或重大性能/安全工作 | ||
| - 听起来模糊,您需要在编码前查看权威规范 | ||
|
|
||
| 使用 `@/openspec/AGENTS.md` 学习: | ||
| - 如何创建和应用变更提案 | ||
| - 规范格式和约定 | ||
| - 项目结构和指南 | ||
|
|
||
| 保留此托管块,以便 'openspec update' 可以刷新指令。 | ||
|
|
||
| <!-- OPENSPEC:END --> | ||
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 1468
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 757
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 168
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 532
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 132
🏁 Script executed:
# Check the add-chinese-documentation directory structure ls -la openspec/changes/add-chinese-documentation/Repository: Fission-AI/OpenSpec
Length of output: 347
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 1867
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 1342
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 765
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 757
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 113
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 45
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 732
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 312
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 863
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 128
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 552
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 321
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 312
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 1062
🏁 Script executed:
Repository: Fission-AI/OpenSpec
Length of output: 723
Restore AGENTS.md to English version—it was incorrectly replaced with Chinese content.
AGENTS.md should contain the English instructions:
Currently, AGENTS.md contains Chinese text identical to AGENTS.zh-CN.md. Commit e849d95 ("feat: 添加中文文档并在 main-zh 分支中将所有 MD 文件替换为中文版本") was intended for a
main-zhbranch but was applied to main. AGENTS.md must remain English as the root-level agent instructions; AGENTS.zh-CN.md should be a separate Chinese translation, not a duplicate.🤖 Prompt for AI Agents