framework_eng/skills/framework-meta/skills-i18n-sync/SKILL.md
Use for managing synchronization of framework/ (RU source) → framework_eng/ (EN mirror). Helps check status, run manual translation, or diagnose commit blocking.
npx skillsauth add steelmorgan/1c-agent-based-dev-framework skills-i18n-syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
framework/ (RU, source of truth) → framework_eng/ (EN, automatic mirror). IDE symlinks point to framework_eng/. Never edit framework_eng/ directly.
| Trigger | Action |
|---------|--------|
| You changed any file in framework/ (except README.md) | Immediately synchronize the changed file via /sync-skills <path> |
| You see a dirty or pending status in the registry | Run /sync-skills before using the skill |
| A commit is blocked by a translation error in the hook | Run python3 tools/sync-skill.py --all, then retry the commit |
| A new file was added to framework/ | Run /sync-skills <path> to create the EN version |
| You need to check the state of all skills | Run /sync-skills check |
/sync-skills checkShows a table of statuses for all files:
✓ synced — RU and EN are synchronized○ pending — the EN version has not been created yet✗ dirty — RU was changed, EN is outdated! error — the last translation failed with an errorpython3 tools/sync-skill.py --check
/sync-skillsSynchronize all pending and dirty files:
python3 tools/sync-skill.py --all
/sync-skills <path>Synchronize a specific file:
python3 tools/sync-skill.py framework/skills/bsl-practices/coding-standards/SKILL.md
/sync-skills init-allInitial synchronization — translate everything that still lacks an EN mirror. Run once during setup or after adding a large batch of files:
python3 tools/sync-skill.py --init-all
After any change to a file in framework/ — run synchronization immediately. Do not wait until commit: the hook will block it if the EN version is missing.
Exception: README.md files are not translated or synchronized.
Before using the skill — make sure its status is synced. If it is dirty, the data in .claude/skills/ is outdated.
framework_eng/ is read-only; never write there directly.
If RU and EN content conflict — RU always wins (source of truth).
git commit
↓
.git/hooks/pre-commit runs
↓
Finds staged files in framework/ (except README.md)
↓
Invokes: python3 tools/sync-skill.py <list of files>
↓
sync-skill.py calls the Codex CLI (gpt-5.1-codex-mini) to translate each file
↓
Writes the result to framework_eng/ (mirror path)
Updates .skills-sync-state.json
↓
Hook adds framework_eng/ files and state to the commit (git add)
↓
Commit continues (RU + EN always in the same commit)
↓
On error: BLOCKS the commit with instructions on how to fix
The .skills-sync-state.json file at the repo root stores the statuses and hashes of each file.
testing
MUST use BEFORE making a judgment about the cause of a conflict, a test failure, or an artifact dispute. Defines the end-to-end verification method L1→L6 and the classification of the first broken link.
development
MUST use AFTER a work cycle with ≥2 iterations (wrote → error → fixed → success). Provides the retrospective procedure and the format for recording practice/anti-patterns in references/learned-patterns.md or {project}/.context/learned-patterns.md.
tools
MUST use WHEN you are writing reusable knowledge into RLM (pattern / architectural decision / stable domain fact) OR reading it before a non-trivial task/solution in the domain. Provides the breakdown of native-push vs RLM-pull, tools for writing and reading RLM, H-MEM levels, and hygiene.
testing
MUST use WHEN the task is classified as simple (< 20 lines, 1 file, no new metadata objects, no architectural decisions). Provides a short cycle of 3 steps with a guard on the self path and mandatory verify.