$npx -y skills add lbb00/ai-rules-sync --skill sync-readmeSynchronize English README.md with Chinese README_ZH.md, maintaining content parity.
| 1 | # Sync README |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | Keep the English (README.md) and Chinese (README_ZH.md) documentation in sync. When one is updated, this skill helps translate and synchronize changes to the other. |
| 6 | |
| 7 | ## Instructions |
| 8 | |
| 9 | 1. **Compare Both Files** |
| 10 | - Read README.md and README_ZH.md |
| 11 | - Identify sections that differ |
| 12 | - Note new sections in either file |
| 13 | |
| 14 | 2. **Determine Sync Direction** |
| 15 | - If English was updated more recently: translate EN → ZH |
| 16 | - If Chinese was updated more recently: translate ZH → EN |
| 17 | - If unclear, ask user which is the source of truth |
| 18 | |
| 19 | 3. **Translate Content** |
| 20 | - Preserve all code blocks unchanged |
| 21 | - Translate prose sections accurately |
| 22 | - Keep technical terms consistent: |
| 23 | - "rules" → "规则" |
| 24 | - "commands" → "命令" |
| 25 | - "skills" → "技能" |
| 26 | - "agents" → "代理" |
| 27 | - "instructions" → "指令" |
| 28 | - "adapter" → "适配器" |
| 29 | - "symbolic link" → "软链接" |
| 30 | |
| 31 | 4. **Preserve Structure** |
| 32 | - Keep same heading hierarchy |
| 33 | - Maintain table formats |
| 34 | - Preserve all links and badges |
| 35 | - Keep code examples identical |
| 36 | |
| 37 | 5. **Update Language Links** |
| 38 | - Ensure language toggle links are present |
| 39 | - English: `[English](./README.md) | [中文](./README_ZH.md)` |
| 40 | - Chinese: `[English](./README.md) | [中文](./README_ZH.md)` |
| 41 | |
| 42 | 6. **Verify Completeness** |
| 43 | - All sections present in both files |
| 44 | - All features documented in both |
| 45 | - Examples work in both versions |
| 46 | |
| 47 | ## Translation Guidelines |
| 48 | |
| 49 | ### Section Headers |
| 50 | | English | Chinese | |
| 51 | |---------|---------| |
| 52 | | Install | 安装 | |
| 53 | | Commands | 命令 | |
| 54 | | Architecture | 架构 | |
| 55 | | Tab Completion | Tab 补全 | |
| 56 | | Legacy compatibility | Legacy 兼容说明 | |
| 57 | | Supported Sync Types | 支持的同步类型 | |
| 58 | |
| 59 | ### Common Phrases |
| 60 | | English | Chinese | |
| 61 | |---------|---------| |
| 62 | | Default mapping | 默认映射 | |
| 63 | | Source directory | 源目录 | |
| 64 | | Target directory | 目标目录 | |
| 65 | | Run this command | 运行此命令 | |
| 66 | | This command will | 该命令会 | |
| 67 | |
| 68 | ## Output |
| 69 | |
| 70 | After running this skill: |
| 71 | - Both README files contain identical information |
| 72 | - All features documented in both languages |
| 73 | - Formatting consistent across both files |