一键导入
sync-translation
Sync a Chinese translation file with its English source by comparing sections and applying missing or outdated differences
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync a Chinese translation file with its English source by comparing sections and applying missing or outdated differences
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Inspect or debug web pages in a headless browser — fill forms, click buttons, take screenshots, test web apps, review frontend UI/UX aesthetics. Use for headless browser automation. This skill should be used when user says "test web app interactively", "use a headless browser", "browser automation", "headless web test", "review frontend layout", "screenshot of this page", "frontend UI polish".
Peer-to-peer messaging between Claude Code sessions sharing a tmux server. Use when coordinating multiple simultaneous Claude sessions — e.g. "dm another claude", "list claude sessions", "peek peer claude", "spawn claude in tmux", "monitor remote claude", "orchestrate claude sessions".
Programmatic/headless Claude Code usage — CLI flags, stream-json protocol, Agent SDKs, session management. Use before spawning Claude as a subprocess, testing skill or agent behavior, running "claude -p", or building with the Agent SDK.
Audit agent-facing documentation (CLAUDE.md, SKILL.md, AGENTS.md, prompt markdown, agent reference doc, memory pages) for over-description and propose trims. Use proactively after writing or editing any agent-facing doc, or when the user says "trim this doc", "audit doc bloat", "this is over-explained".
Use MarkItDown to convert various files to Markdown. Use when converting PDF, Word, PowerPoint, Excel, images, audio, HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs, Jupyter notebooks, RSS feeds, or Wikipedia pages to Markdown format. Also use for document processing pipelines, LLM preprocessing, or text extraction tasks.
Append a single bullet to staging memory. Use when a durable fact, knowledge, lesson, or pitfall (mistake-correction pattern) emerged mid-conversation that's potentially worth persisting into long-term memory. Also use when user corrected your mistake, says "remember X", "remember not to X", or "next time, do Y instead of X", "do not mistake on X again".
| name | sync-translation |
| description | Sync a Chinese translation file with its English source by comparing sections and applying missing or outdated differences |
| disable-model-invocation | true |
| allowed-tools | ["Read","Edit","Glob","Grep"] |
| when_to_use | Use when user asks to "sync translation", "update translation", "sync zh-CN", or "update Chinese translation". Also trigger when user references a translation file and asks to update or sync it with the source. |
Compare an English source file with its Chinese translation and apply missing or changed sections.
Make the translation file content-identical to the English source (in translated form). All sections in the source must be present and translated; no stale content remains.
Auto-detect the source/translation pair by looking for common patterns:
README.md / README.zh-CN.mdCHANGELOG.md / CHANGELOG.zh-CN.md*.md / *.zh-CN.md pair in the project rootIf multiple pairs exist, ask the user which to sync.
Success criteria: Both file paths identified and confirmed.
Read the full content of both the source and translation files.
Success criteria: Both files fully loaded and comparable.
Systematically compare sections between the two files:
Success criteria: Complete list of differences identified.
Edit the translation file to match the source. Translate new content to match the existing style and tone of the translation file. Use the Edit tool for each change.
Rules:
Success criteria: All identified differences resolved in the translation file.
Summarize what was synced in a concise bulleted list.
Success criteria: User has a clear summary of all changes made.