Sync Exercises Skill
Use this skill to check for missing files or synchronization issues between languages.
1. Audit Process
- •List Files: Get a list of all exercise files in each language directory:
- •
en/exercises/ - •
de/exercises/ - •
fr/exercises/
- •
- •Compare: Create a matrix of existences.
- •Does
exercise-Aexist in EN? DE? FR?
- •Does
2. Identify Issues
- •Missing Stub: File exists in 1 language, missing in 2.
- •Partial Translation: File exists in 2 languages, missing in 1.
- •Content Drift: Files exist in all 3, but timestamps/versions differ significantly (optional advanced check).
- •Internal Link Structure: Ensure cross-links between exercises point to the correct translated versions (e.g., in
fr/links should point to.qmdfiles infr/).
3. Sync Actions
For each missing file:
- •
If it's a new exercise (1 language only):
- •Create Stubs in the missing languages (see
New Exerciseskill). - •OR use
Translationskill to generate full content immediately.
- •Create Stubs in the missing languages (see
- •
If it's a missing translation:
- •Use
Translationskill to generate the file from the existing source.
- •Use
4. Reporting
- •Provide a summary of missing files to the user.
- •Ask for confirmation before creating/translating multiple files.