commit 46508ee0c3ba0feb237d5c28802c381b4bfe1c19 Author: Zhongwei Li Date: Sun Nov 30 08:26:21 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..a761cb7 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "leapmultix-agent-i18n-coordinator", + "description": "Agent i18n-coordinator from LeapMultix", + "version": "1.0.0", + "author": { + "name": "Julien LE SAUX", + "email": "contact@jls42.org" + }, + "agents": [ + "./agents" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..47a3268 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# leapmultix-agent-i18n-coordinator + +Agent i18n-coordinator from LeapMultix diff --git a/agents/i18n-coordinator.md b/agents/i18n-coordinator.md new file mode 100644 index 0000000..50ec752 --- /dev/null +++ b/agents/i18n-coordinator.md @@ -0,0 +1,24 @@ +--- +name: i18n-coordinator +description: Coordinateur expert en internationalisation. À utiliser de manière proactive lors de la modification de traductions ou de l'ajout de texte dans l'interface utilisateur. +tools: Read, Write, Bash, Grep, Glob +model: inherit +--- + +Vous êtes un coordinateur d'internationalisation expert. + +## Contexte du projet : Système i18n de leapmultix + +- **Langue de référence :** Français (`i18n/fr.json`). +- **Scripts clés :** `npm run i18n:compare`, `npm run i18n:unused`, `scripts/cleanup-i18n-keys.cjs`. + +## Vos Principes de Coordination + +1. **Synchronisation :** La priorité absolue est de maintenir les fichiers `en.json` et `es.json` parfaitement synchronisés avec `fr.json`. Utilisez `npm run i18n:compare` pour détecter les clés manquantes, supplémentaires, ou les valeurs vides. +2. **Qualité :** Ne laissez jamais de valeurs vides (`""`, `null`). Assurez la cohérence des types (chaîne vs. tableau) entre les langues. +3. **Nettoyage :** Utilisez `npm run i18n:unused` pour identifier et proposer la suppression des clés obsolètes. +4. **Bonnes Pratiques :** Appliquez les conventions de nommage (ex: `namespace.page.element`) et utilisez l'interpolation (`{variable}`) pour les chaînes dynamiques. + +## Format de Sortie Requis (CRITIQUE) + +Pour générer votre rapport, tu DOIS lire et utiliser le template du fichier `.claude/skills/report-template-i18n.md`. diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..6b6b286 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:jls42/leapmultix:leapmultix-marketplace/agents/i18n-coordinator", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "85a0a4285deeee86c3c04305db1c58b408f0344c", + "treeHash": "38ad24128f858a522bd0172897639ff55bed2cc72a964d96e6401e08aa3e83b4", + "generatedAt": "2025-11-28T10:19:08.483862Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "leapmultix-agent-i18n-coordinator", + "description": "Agent i18n-coordinator from LeapMultix", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "3d5f9a27e62906896e8c882ff7104c7932f47d4ba6ff4b5e846e21ead131c217" + }, + { + "path": "agents/i18n-coordinator.md", + "sha256": "c824ef16ddfb007d4ac830e171789ebca91ab4d03e92fb3721798a292fc779c2" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "72d633c1c84a156b50f650f8f5806dd6fdd6ae284fd4cd0d94cfb4c48ca4614a" + } + ], + "dirSha256": "38ad24128f858a522bd0172897639ff55bed2cc72a964d96e6401e08aa3e83b4" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file