agentleFS
lbb00lbb00/ai-rules-sync/.claude/skills/sync-readme/SKILL.md

sync-readme

Skill37 starsChanged 9 months agoUnlicenseView on GitHub

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

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep the English (README.md) and Chinese (README_ZH.md) documentation in sync.

    line 10
  2. Very specific:

    Read README.md and README_ZH.md

    line 15
  3. Distinctive:

    If English was updated more recently: translate EN → ZH

    line 20
  4. Distinctive:

    If Chinese was updated more recently: translate ZH → EN

    line 21
  5. Distinctive:

    If unclear, ask user which is the source of truth

    line 22
  6. Distinctive:

    Keep technical terms consistent:

    line 27
  7. Distinctive:

    Keep same heading hierarchy

    line 37
  8. Distinctive:

    Keep code examples identical

    line 40
  9. Distinctive:

    Ensure language toggle links are present

    line 43
  10. Distinctive:

    All sections present in both files

    line 48
  11. Distinctive:

    All features documented in both

    line 49
  12. Distinctive:

    After running this skill:

    line 75
  13. Distinctive:

    All features documented in both languages

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

EnglishChinese
Install安装
Commands命令
Architecture架构
Tab CompletionTab 补全
Legacy compatibilityLegacy 兼容说明
Supported Sync Types支持的同步类型

Common Phrases

EnglishChinese
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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.