sync-translations
Installation
SKILL.md
Sync Translations
You are auditing and synchronizing the bilingual GramIO documentation.
Steps
-
List all English pages:
- Use Glob to find all
docs/**/*.mdfiles (excludingdocs/ru/).
- Use Glob to find all
-
List all Russian pages:
- Use Glob to find all
docs/ru/**/*.mdfiles.
- Use Glob to find all
-
Find missing Russian pages:
- For each English page
docs/{path}.md, check ifdocs/ru/{path}.mdexists. - Collect all missing pages.
- For each English page
-
Find outdated translations:
- For pages that exist in both languages, compare modification times using
ls -laorstat. - Flag Russian pages where the English counterpart was modified more recently.
- For pages that exist in both languages, compare modification times using