mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-12-01 23:27:17 +00:00
Three stdlib scripts with blocking exit codes for shipping a new language: locale_sync.py (keys, placeholders, ICU syntax, CLDR 49 plural categories, gettext), hardcoded_strings.py (UI text that bypasses t() in React/Vue/ Svelte/HTML) and pseudo_localize.py (en-XA / ar-XB pseudo-locales). Agent cs-i18n-engineer, /cs-i18n-check and /cs-pseudo-locale, three references, CI job example. Bundled in engineering-advanced-skills 2.14.15. Eval, 3 runs per arm on 8 planted defects: 24/24 both arms; with the skill 43% cheaper and 26% faster. The value is a repeatable CI gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L8KYFGuNUFriREtj1haTcG
15 lines
1.2 KiB
JSON
15 lines
1.2 KiB
JSON
{
|
|
"name": "i18n-localization",
|
|
"description": "Ship a new language without the usual breakage. Three deterministic stdlib scripts: a translation-file checker for JSON/ARB (i18next, ICU), .properties, .strings, Android strings.xml and gettext .po that blocks on missing keys, renamed placeholders, ICU syntax errors, plural/select without other, zero branches that never match and plural categories the target locale needs, from the embedded Unicode CLDR 49 table (ru few/many, ar six forms); a hardcoded-string scanner for React, Vue, Svelte and HTML that flags text and user-facing attributes outside t(), concatenated translations, locale-less toLocaleString and '$' + amount; and a pseudo-locale generator (en-XA accented and expanded, ar-XB right-to-left) that keeps placeholders and ICU syntax intact. Ships cs-i18n-engineer agent, /cs-i18n-check and /cs-pseudo-locale commands and 3 cited references.",
|
|
"version": "2.14.7",
|
|
"author": {
|
|
"name": "Alireza Rezvani",
|
|
"url": "https://alirezarezvani.com"
|
|
},
|
|
"homepage": "https://github.com/alirezarezvani/claude-skills/tree/main/engineering/i18n-localization",
|
|
"repository": "https://github.com/alirezarezvani/claude-skills",
|
|
"license": "MIT",
|
|
"skills": [
|
|
"./skills/i18n-localization"
|
|
]
|
|
}
|