assets/bundled_skills/i18n/SKILL.md
Internationalization and localization assistance for multi-language applications
npx skillsauth add 2233admin/cicada i18nInstall 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.
Assist with internationalization and localization of applications, including translation management, locale handling, and i18n best practices.
// en.json
{
"common": {
"welcome": "Welcome",
"save": "Save",
"cancel": "Cancel",
"error": "An error occurred"
},
"auth": {
"login": "Log In",
"logout": "Log Out",
"email": "Email Address",
"password": "Password"
}
}
// zh-CN.json
{
"common": {
"welcome": "欢迎",
"save": "保存",
"cancel": "取消",
"error": "发生错误"
},
"auth": {
"login": "登录",
"logout": "退出登录",
"email": "电子邮箱",
"password": "密码"
}
}
Bad:
<button>Save</button>
Good:
<button>{t('common.save')}</button>
locales/
├── en/
│ ├── common.json
│ ├── auth.json
│ └── settings.json
└── zh-CN/
├── common.json
├── auth.json
└── settings.json
{
"items": {
"zero": "No items",
"one": "{{count}} item",
"other": "{{count}} items"
}
}
{
"greeting": "Hello, {{name}}!",
"itemsInCart": "You have {{count}} items"
}
const date = new Date();
date.toLocaleDateString('en-US'); // "3/15/2026"
date.toLocaleDateString('zh-CN'); // "2026/3/15"
const amount = 1234.56;
amount.toLocaleString('en-US', { style: 'currency', currency: 'USD' }); // "$1,234.56"
amount.toLocaleString('zh-CN', { style: 'currency', currency: 'CNY' }); // "¥1,234.56"
Bad:
const msg = t('hello') + ' ' + userName;
Good:
const msg = t('greeting', { name: userName });
Bad:
<p>Welcome to our app</p>
Good:
<p>{t('common.welcome')}</p>
Always provide fallback language for missing translations.
tools
Generate comprehensive test cases following TDD principles
development
Identify code smells and suggest refactoring improvements
tools
Generate clear, conventional commit messages and manage Git workflows
development
Generate comprehensive documentation for code, APIs, and projects