feat: 中英文双语重构 — 英文为规范主语言 + 中文副本同步维护 - #10
Merged
Merged
Conversation
- Translate all 6 SKILL.md files to idiomatic English as canonical source - Move Chinese originals to locale/SKILL.cn.md (invisible to skill auto-loader) - Translate 6 docs/*.md to EN, keep CN at docs/*.cn.md - Translate CLAUDE.md, CONTRIBUTING.md, README.md to English - Update plugin.json and marketplace.json descriptions to English - Translate _shared/package-context.md to English - Create _shared/i18n-glossary.md with authoritative EN↔CN term mappings - Create _shared/check-i18n-sync.sh structural sync validator - Add locale: zh-CN to all CN frontmatter copies - Update language policy (CLAUDE.md): user-facing content now English Verification: - check-i18n-sync.sh: 0 issues (all 6 skills, 6 docs in sync) - bash -n: all .sh files pass - Glob safety: skills/*/SKILL.md returns exactly 6 files - Tag consistency: all capability tags verified
- Translate 11 references/*.md to EN canonical, preserve CN at *.cn.md - Translate Chinese comments and user-facing strings in 7 scripts/*.sh - Skip mcp-templates.md (JSON templates) and discovery-rules.example.json - All .sh scripts pass bash -n syntax check Co-Authored-By: Claude <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
概述
将全部 6 个技能、6 份文档、12 份参考文档、7 个脚本和所有项目文件从中文重构为英文作为规范语言,同时维护同步的中文副本。
变更内容
技能(6 个)
skills/<name>/SKILL.mdskills/<name>/locale/SKILL.cn.md(Claude Code 技能自动加载器不可见)locale: zh-CN标记参考文档(12 个)
skills/<name>/references/*.mdskills/<name>/references/*.cn.md脚本(7 个)
bash -n语法检查文档(6 个)
docs/<name>.mddocs/<name>.cn.md项目文件
CLAUDE.md→ 英文(语言策略更新)CONTRIBUTING.md→ 英文(能力标签注册表保留双语)README.md→ 英文plugin.json/marketplace.json→ 英文描述skills/_shared/package-context.md→ 英文正本,中文在locale/新增文件
skills/_shared/i18n-glossary.md— 权威中英术语映射表skills/_shared/check-i18n-sync.sh— 结构同步验证脚本验证结果
check-i18n-sync.sh:0 个问题(6 技能 + 6 文档结构同步)bash -n:所有 .sh 文件语法检查通过skills/*/SKILL.md精确返回 6 个文件统计
*不含
mcp-templates.md(纯 JSON 模板)和discovery-rules.example.json翻译规则
description字段🤖 Generated with Claude Code