Agent Skills
› manaflow-ai/cmux
› cmux-localization
cmux-localization
GitHub用于处理 cmux UI 字符串本地化的规则与审计工作流,涵盖 SwiftUI、Web 等多语言适配。要求所有用户可见文本必须使用本地化键值对,并在变更时执行严格的审计清单以验证多语言完整性。
Trigger Scenarios
修改用户界面显示文本
更新帮助文档或提示文案
涉及多语言切换的配置变更
Install
npx skills add manaflow-ai/cmux --skill cmux-localization -g -y
SKILL.md
Frontmatter
{
"name": "cmux-localization",
"description": "Localization rules and audit workflow for cmux UI strings, settings rows, menus, shortcuts, schema\/config text, docs, command\/help text, alerts, tooltips, and web messages. Use whenever changing user-facing text."
}
cmux Localization
Use this skill for any user-facing string change.
Hard rules
- Every user-facing string is localized. Never a bare string literal in SwiftUI
Text(),Button(), alert titles, tooltips, menus, or dialogs. - Swift/AppKit/SwiftUI:
String(localized: "key.name", defaultValue: "English text"), with keys inResources/Localizable.xcstringstranslated for every supported language (currently English and Japanese). defaultValue, English fallback text, schema descriptions, and copied English strings do not count as localization.- Localized web/docs content updates every supported message catalog (currently
web/messages/en.jsonandweb/messages/ja.json) plus any localized data structures carrying inline translations. - A localization audit is required for every user-facing change.
Audit checklist
Before finishing a task that changes UI, Settings rows, menus, shortcut metadata, schema/config text, docs, command/help text, alerts, or tooltips:
- Enumerate the changed user-facing surfaces.
- Verify each surface has entries for every supported locale.
- Parse the touched localization files and compare changed message keys across locales.
- Run
rgover changed Swift/TS/TSX/docs files for newly introduced bare English. - State in the final handoff what audit was performed, or explicitly say what could not be verified.
Detailed reference
- references/audit-workflow.md: what counts as user-facing, search patterns, and handoff wording.
New keyboard shortcuts also need docs and Settings entries; see ../cmux-keyboard-shortcuts/SKILL.md.
Version History
- cef69a7 Current 2026-08-20 08:16


