一键导入
add-language
Add or update localization strings. Use when adding new user-facing text, translations, or a new language to the app.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add or update localization strings. Use when adding new user-facing text, translations, or a new language to the app.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a new Clean Architecture feature with all layers (domain, data, presentation), DI registration, routing, and translations. Use when creating a new feature module.
Add a new API endpoint integration end-to-end — from endpoint definition through data source, model, repository, use case, and BLoC wiring. Use when connecting a new backend endpoint.
| name | add-language |
| description | Add or update localization strings. Use when adding new user-facing text, translations, or a new language to the app. |
Manage ARB-based internationalization for the Emosense app.
Edit lib/l10n/arb/app_en.arb:
"featureTitle": "Feature Title",
"featureDescription": "Description text here"
Edit lib/l10n/arb/app_ar.arb:
"featureTitle": "عنوان الميزة",
"featureDescription": "نص الوصف هنا"
Run: flutter gen-l10n
Access via the context.l10n extension:
Text(context.l10n.featureTitle)
Reference tech_readme_files/05_how_to_add_new_language.md.
lib/l10n/arb/app_<locale>.arbapp_en.arb and translate valuesl10n.yaml if neededflutter gen-l10napp.dart to include new locale in supportedLocalesapp_en.arb and app_ar.arb)camelCase, descriptive, prefixed by feature when ambiguousflutter gen-l10n after every ARB change