Triggers: translate README, sync readme, multilingual, automatically triggered when README changes
Tools:read_file、replace_string_in_file、get_changed_files
File
README.md(English Primary) ↔ README.zh-TW.md(Traditional Chinese)
Sync direction
| Case | Action |
|---|---|
| User provides Chinese | Sync to English version |
| User provides English / README.md changes | Sync to Chinese version |
Terminology mapping
| EN | Chinese |
|---|---|
| Constitution | Constitution |
| Bylaws | Sub-law |
| Skills | Skill |
| Memory Bank | Memory bank |
| Domain-Driven Design | Domain-driven design |
| Data Access Layer | Data access layer |
Translation principles
- Consistent technical terminology (check the mapping table)
- Do not translate code (only translate comments)
- Markdown structure fully corresponds
- Emoji consistent in both versions
Workflow
- Read both versions → compare section differences (number of ## headings, number of code blocks)
- Translate added/changed paragraphs → update the corresponding version
- Check: consistent number of sections, consistent code blocks, valid links, consistent terminology