executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
i18n-helper国际化/本地化助手 — 扫描代码中的硬编码文本、生成 i18n 配置、批量翻译
Independent GitHub snapshot · Automated classification · Original documentation governs
当用户要求以下操作时激活此技能:
.js/.jsx/.ts/.tsx/.vue/.py/.java/.go 等文件中搜索硬编码字符串根据项目框架生成对应格式:
{ "key": "value" }key: valuekey=value// 替换前
alert('保存成功');
// 替换后
alert(t('alert.saveSuccess'));
## 📊 i18n 扫描报告
### 硬编码文本
| 文件 | 行号 | 内容 | 建议 key |
|------|------|------|----------|
| src/App.tsx | 42 | '欢迎使用' | page.welcome |
### 语言文件
已生成 `locales/zh-CN.json` 和 `locales/en-US.json`
### 翻译完整性
- zh-CN: 45/45 (100%) ✅
- en-US: 42/45 (93.3%) ⚠️ 缺少 3 个 key
{name} {{count}} %s 等格式