用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cataclysmbn/Cataclysm-BN --skill i18n-context命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write or review Cataclysm-BN tests that avoid flakes, use deterministic fixtures, and clean up global state.
Create or update Cataclysm-BN PRs with validated titles, terse bodies, related links, and reviewer-useful evidence.
Rewrite every `docs/*/game/changelog/{order}.stable-{semver}.md` from a ref range. Default `--limit=20`.
基于 SOC 职业分类
正在显示 SKILL.md
| name | i18n-context |
| description | Add gettext context for ambiguous user-facing strings and repair affected PO translations. |
| compatibility | Requires git, rg, gettext tools, and Python. |
Use this when one English msgid has multiple meanings and a locale needs different translations.
msgfmt or printf checks fail for the touched locale.msgfmt/printf failures as pre-existing when this task touches that locale.rg -n 'msgid "<word>"|msgctxt .*\nmsgid "<word>"' lang/po/<lang>.porg -n '"<word>"|translate_marker\( "<word>" \)|_\( "<word>" \)' data srcpgettext( "short specific context", "text" ).translate_marker_context( "short specific context", "text" ).{ "ctxt": "short specific context", "str": "text" } or matching plural fields.{ "text": { "ctxt": "short specific context", "str": "text" } }.std::string, convert it to translation so contextual JSON can load.time format, map extra, music genre, damage type.lang/po/<lang>.po for each new msgctxt; do not rely on the old shared msgstr.rg -C2 -i '<term>' lang/po/ko.po | rg -v '^(#:|--)' | head -n 20python3 lang/extract_json_strings.py -i data/json -o /tmp/catabn-i18n-context.pot --tracked-onlymsgfmt -f -c -o /tmp/ko.mo lang/po/ko.po./tools/check_po_printf_format.py./build-scripts/lint-json.sh.pgettext and translate_marker_context.ctxt and updated PO entries.