smithery.ai

i18n-key-manager

管理翻译键定义与翻译值(校验变量、导?

First seen Apr 2, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,493 B
  • docs SUMMARY.md 179 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

多语言键管理器(i18n Key Manager)

适用场景

  • 新增/修改 TranslationSchema(分组、字段类型、变量约束)
  • 批量导入导出翻译(按 locale)
  • 变更后需要判断发布范围(增量 or 全站)

输入

  • site_id
  • storage_mode:flat-key / tree-json
  • schema_changes:新增/修改的 key 定义(含 variables)
  • translations_patch:按 locale 的增量变更
  • import_export:csv/json(如果需要)

输出

  • 校验结果:变量是否缺失、plural 结构是否合法
  • 更新清单:新增 key、修改 key、删除 key
  • 发布建议:受影响页面集合(通常 i18n 变更影响全站文案)

操作步骤(建议)

  1. 校验变更(变量、plural、富文本策略),拒绝不安全输入。
  2. 写入 translations 与 schema,生成变更版本号。
  3. 触发依赖发布(常见为全站,或按依赖集合增量)。

风险与限制

  • 不允许把 secrets 写入翻译配置
  • 富文本/HTML 类型需要白名单清洗策略,避免 XSS

相关文档

  • [i18n-management-spec.md](../../documents/02TechnicalArchitecture/i18n-management-spec.md)
  • [10SLA与发布体系(99.910000页).md](../../documents/02TechnicalArchitecture/10SLA与发布体系(99.910000页).md)