i18n — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited i18n (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
使用并行子代理从代码中提取硬编码字符串并替换为 i18n 翻译调用。
询问或推断:
react-i18next,调用为 t('namespace:key'))locales/ 或 i18n/ 目录)find . -path "*/locales/*.json" -o -path "*/i18n/*.json" | head -20确定:
将目标文件按目录分组(每组 3-5 个文件),为每组启动一个子代理:
子代理指令模板:
扫描以下文件中的硬编码用户可见字符串:
<file-list>
对每个字符串:
1. 生成 key(格式:namespace:kebab-case-key)
2. 记录原始字符串(中文 → zh-CN,英文 → en)
3. 替换为 t('key') 或 <Trans i18nKey="key">
输出 JSON 格式:
{
"keys": [{"key": "ns:name", "en": "...", "zh": "..."}],
"files": [{"path": "...", "changes": [...]}]
}收集所有子代理结果后:
pnpm typecheck如果有类型错误,修复后再次验证。
✅ i18n 提取完成:
- 新增 key:N 个
- 修改文件:M 个
- Namespace:[list]
- 类型检查:通过 ✓~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.