AGENT SKILL

zh-hant-converter

Use when Simplified Chinese text needs a Traditional Chinese version — internal team docs converted with opencc s2hk, or a product's Simplified Chinese UI copy mirrored into its Traditional Chinese locale — or when the user says 转繁, 同步繁体, or "convert to zh-Hant".

License 许可
MIT
最近更新
2026-11-14
Stars
★ 76
Forks
17

01 前言 Front Matter

name
zh-hant-converter
description
Use when Simplified Chinese text needs a Traditional Chinese version — internal team docs converted with opencc s2hk, or a product's Simplified Chinese UI copy mirrored into its Traditional Chinese locale — or when the user says 转繁, 同步繁体, or "convert to zh-Hant".

03 SKILL.md 正文

zh-Hans → zh-Hant

Traditional Chinese is never written from scratch here; it is converted from the Simplified source. Decide the mode first.

Mode For How
Internal team docs, text agents read while working write Simplified first, then opencc -c s2hk; technical terms convert character by character from the Simplified term (软件 → 軟件, 数据 → 數據)
External a product's Traditional Chinese pages or locale files glyphs, then vocabulary: mainland terms → the terms a Taiwan or Hong Kong product UI uses

Internal mode keeps the Simplified terms because Simplified Chinese has far more technical text and its terms are nationally standardized, so agents work faster with them.

Steps

  1. Scope: convert only what this change touched: git diff -- {{ZH_HANS_PATHS}}.
  2. Change values and body text only. Keys, structure and order stay.
  3. Convert.
    • Internal: opencc -c s2hk -i <in> -o <out>, then check the whitelist below.
    • External: glyphs with opencc -c s2hk (Hong Kong) or opencc -c s2twp (Taiwan, which already swaps some vocabulary), then vocabulary. Common pairs (Taiwan): 信息→資訊, 视频→影片, 软件→軟體, 网络→網路, 界面→介面, 数据→資料, 登录→登入, 注销→登出, 设置→設定, 添加→加入, 访问→造訪, 恢复→復原, 通过→透過, 支持→支援, 默认→預設, 消息→訊息, 屏幕→螢幕, 点击→點按, 菜单→選單, 加载→載入. The list is not exhaustive; the test is the term a product UI in that market uses.
  4. Never converted, kept verbatim: {token} and other placeholders, link references, brand words ({{BRAND_TERMS}}), proper nouns, URLs, email addresses, code.
  5. Punctuation stays full-width; 「——」 stays.
  6. Verify:
    • {{ZH_HANT_CHECK_CMD}}
    • git diff -- {{ZH_HANT_PATHS}} shows only the target content changed.

Red lines

  • Never edit the Simplified source. Never touch other locales.
  • No polishing on the way. A tone problem is fixed in the Simplified source, then converted again.

04 同仓库更多 Skills

etherfunlab
etherfunlab/workflow

doc-review

Use when reviewing docs in this repo (team version).

★ 76
etherfunlab
etherfunlab/workflow

cleaning-dev-caches

Use when this Mac's disk is nearly full, or the user asks to clear re-downloadable caches (「清缓存」「硬盘满了」, "clear caches") — Homebrew, npm / pnpm / yarn / bun / uv / pip, Gradle, Playwright browsers, Edge and VS Code updater caches, simulator dyld caches, unused Rust toolchains. Not for build output (cleaning-dev-build-artifacts) or personal files.

★ 76
etherfunlab
etherfunlab/workflow

cleaning-dev-build-artifacts

Use when this Mac's disk is nearly full, or the user asks to clean build output — Rust target/ dirs or Claude Code worktrees (.claude/worktrees) under {{DEV_ROOT}} (「清编译产物」「清 target」「清 worktree」「硬盘满了」, "clean build artifacts"). Not for package-manager or app caches (cleaning-dev-caches) or personal files.

★ 76
etherfunlab
etherfunlab/workflow

ios-keyboard-page-shift

Use when, on iPhone Safari or an iOS WebView, a page or a full-screen app shell (top bar, scrolling list, bottom input) moves up when a text field is focused and stays up after the keyboard closes, leaving the top bar off-screen, the input mid-screen and an empty band below it, or when an earlier fix for that symptom did not hold.

★ 76
etherfunlab
etherfunlab/workflow

codex-review

Use when the user asks to review a branch, PR or diff with codex ("review this with codex", 用 codex 审一下, "codex review PR N"). Runs `codex exec` from the shell with a hand-written, repo-aware prompt; falls back to one OpenRouter GPT call only when codex is out of quota. Covers the invocation contract and the failure modes that make codex look dead or silently produce no report.

★ 76
etherfunlab
etherfunlab/workflow

doc-review

Use when a document for people to read has been fact-checked and polished and is one step from being pushed or published — the last gate before `git push` — or when the user asks for a final review (终审).

★ 76