Skip to content
Development
Skill

/sync-readme

Synchronize English README.md with Chinese README_ZH.md, maintaining content parity.

From plugin
ai-rules-sync
375 skills
Install
$ npx -y skills add lbb00/ai-rules-sync --skill sync-readme --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/sync-readme

Context preview

The summary Claude sees to decide when to auto-load this skill.

Synchronize English README.md with Chinese README_ZH.md, maintaining content parity.

SKILL.md

sync-readme.SKILL.md
name: sync-readme
description: Synchronize English README.md with Chinese README_ZH.md, maintaining content parity.

Sync README

Purpose

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.

Instructions

1. **Compare Both Files**

  • Read README.md and README_ZH.md
  • Identify sections that differ
  • Note new sections in either file

2. **Determine Sync Direction**

  • If English was updated more recently: translate EN → ZH
  • If Chinese was updated more recently: translate ZH → EN
  • If unclear, ask user which is the source of truth

3. **Translate Content**

  • Preserve all code blocks unchanged
  • Translate prose sections accurately
  • Keep technical terms consistent:
  • "rules" → "规则"
  • "commands" → "命令"
  • "skills" → "技能"
  • "agents" → "代理"
  • "instructions" → "指令"
  • "adapter" → "适配器"
  • "symbolic link" → "软链接"

4. **Preserve Structure**

  • Keep same heading hierarchy
  • Maintain table formats
  • Preserve all links and badges
  • Keep code examples identical

5. **Update Language Links**

  • Ensure language toggle links are present
  • English: `[English](./README.md) | [中文](./README_ZH.md)`
  • Chinese: `[English](./README.md) | [中文](./README_ZH.md)`

6. **Verify Completeness**

  • All sections present in both files
  • All features documented in both
  • Examples work in both versions

Translation Guidelines

Section Headers

| English | Chinese | |---------|---------| | Install | 安装 | | Commands | 命令 | | Architecture | 架构 | | Tab Completion | Tab 补全 | | Legacy compatibility | Legacy 兼容说明 | | Supported Sync Types | 支持的同步类型 |

Common Phrases

| English | Chinese | |---------|---------| | Default mapping | 默认映射 | | Source directory | 源目录 | | Target directory | 目标目录 | | Run this command | 运行此命令 | | This command will | 该命令会 |

Output

After running this skill:

  • Both README files contain identical information
  • All features documented in both languages
  • Formatting consistent across both files
Read more
Ships withai-rules-sync

English · 中文 · Documentation AI Rules Sync (AIS) — Install, compose, update, and publish native agent assets from multiple Git repositories across all your projects. AIS is an asset federation toolkit, not a format converter.

Get the whole plugin
Stats
37
Stars
1
Forks
Active
Maintenance
TypeScript
Language
Unlicense
License
27d ago
Last commit
8mo ago
Created

Repo: lbb00/ai-rules-sync

Other skills on ai-rules-sync.