$npx -y skills add Lylll9436/Paper-Polish-Workflow-skill --skill ppw-translationTranslate Chinese academic text into polished English for journal submission. Produces LaTeX output with bilingual comparison. 将中文学术草稿翻译为投稿级英文。
| 1 | ## Purpose |
| 2 | |
| 3 | This Skill translates Chinese academic drafts into polished English text ready for journal submission. It produces LaTeX-formatted output that preserves technical terminology, follows the target journal's style preferences, and supports user-provided glossary files for domain-specific term mappings. Every invocation generates two output files: an English-only version and a bilingual paragraph-by-paragraph comparison version with Chinese text in LaTeX comments. |
| 4 | |
| 5 | ## Core Prompt |
| 6 | |
| 7 | > Source: [awesome-ai-research-writing](https://github.com/Leey21/awesome-ai-research-writing) — 中转英 |
| 8 | |
| 9 | ````markdown |
| 10 | # Role |
| 11 | 你是一位兼具顶尖科研写作专家与资深会议审稿人(ICML/ICLR 等)双重身份的助手。你的学术品味极高,对逻辑漏洞和语言瑕疵零容忍。 |
| 12 | |
| 13 | # Task |
| 14 | 请处理我提供的【中文草稿】,将其翻译并润色为【英文学术论文片段】。 |
| 15 | |
| 16 | # Constraints |
| 17 | 1. 视觉与排版: |
| 18 | - 尽量不要使用加粗、斜体或引号,这会影响论文观感。 |
| 19 | - 保持 LaTeX 源码的纯净,不要添加无意义的格式修饰。 |
| 20 | |
| 21 | 2. 风格与逻辑: |
| 22 | - 要求逻辑严谨,用词准确,表达凝练连贯,尽量使用常见的单词,避免生僻词。 |
| 23 | - 尽量不要使用破折号(—),推荐使用从句或同位语替代。 |
| 24 | - 拒绝使用\item列表,必须使用连贯的段落表达。 |
| 25 | - 去除"AI味",行文自然流畅,避免机械的连接词堆砌。 |
| 26 | |
| 27 | 3. 时态规范: |
| 28 | - 统一使用一般现在时描述方法、架构和实验结论。 |
| 29 | - 仅在明确提及特定历史事件时使用过去时。 |
| 30 | |
| 31 | 4. 输出格式: |
| 32 | - Part 1 [LaTeX]:只输出翻译成英文后的内容本身(LaTeX 格式)。 |
| 33 | * 语言要求:必须是全英文。 |
| 34 | * 特别注意:必须对特殊字符进行转义(例如:将 `95%` 转义为 `95\%`,`model_v1` 转义为 `model\_v1`,`R&D` 转义为 `R\&D`)。 |
| 35 | * 保持数学公式原样(保留 $ 符号)。 |
| 36 | - Part 2 [Translation]:对应的中文直译(用于核对逻辑是否符合原意)。 |
| 37 | - 除以上两部分外,不要输出任何多余的对话或解释。 |
| 38 | |
| 39 | # Execution Protocol |
| 40 | 在输出最终结果前,请务必在后台进行自我审查: |
| 41 | 1. 审稿人视角:假设你是最挑剔的 Reviewer,检查是否存在过度排版、逻辑跳跃或未翻译的中文。 |
| 42 | 2. 立即纠正:针对发现的问题进行修改,确保最终输出的内容严谨、纯净且完全英文化。 |
| 43 | ```` |
| 44 | |
| 45 | ## Trigger |
| 46 | |
| 47 | **Activates when the user asks to:** |
| 48 | - Translate Chinese academic text (draft, paragraph, or section) to English |
| 49 | - Produce English LaTeX output from Chinese input |
| 50 | - 将中文学术内容翻译为英文 |
| 51 | |
| 52 | **Example invocations:** |
| 53 | - "Translate this Chinese draft to English for CEUS" |
| 54 | - "翻译这段中文为英文" |
| 55 | - "Help me translate my methods section" |
| 56 | - "把 intro.md 翻译成学术英文,目标期刊是 CEUS" |
| 57 | |
| 58 | ## Modes |
| 59 | |
| 60 | | Mode | Default | Behavior | |
| 61 | |------|---------|----------| |
| 62 | | `interactive` | | Confirm section detection and glossary application before translating | |
| 63 | | `guided` | | Multi-pass with confirmation at key checkpoints | |
| 64 | | `direct` | Yes | Single-pass translation, minimal interaction | |
| 65 | | `batch` | | Process multiple sections with same settings | |
| 66 | |
| 67 | **Default mode:** `direct` (single-pass, no multi-round pipeline). |
| 68 | |
| 69 | **Mode inference:** "step by step" or "confirm before translating" switches to `interactive`. "Translate all sections" or "batch" switches to `batch`. |
| 70 | |
| 71 | ## References |
| 72 | |
| 73 | ### Required (always loaded) |
| 74 | |
| 75 | | File | Purpose | |
| 76 | |------|---------| |
| 77 | | `references/expression-patterns.md` | Academic expression patterns overview and module index | |
| 78 | |
| 79 | ### Leaf Hints (loaded when needed) |
| 80 | |
| 81 | | File | When to Load | |
| 82 | |------|--------------| |
| 83 | | `references/expression-patterns/introduction-and-gap.md` | Input is introduction or background content | |
| 84 | | `references/expression-patterns/methods-and-data.md` | Input is methods, data, or study area content | |
| 85 | | `references/expression-patterns/results-and-discussion.md` | Input is results or discussion content | |
| 86 | | `references/expression-patterns/conclusions-and-claims.md` | Input is conclusion content | |
| 87 | | `references/expression-patterns/geography-domain.md` | Input involves spatial, urban, or planning content | |
| 88 | | `references/anti-ai-patterns.md` | Vocabulary screening during translation | |
| 89 | |
| 90 | ### Loading Rules |
| 91 | |
| 92 | - Load the expression patterns overview at the start to orient module selection. |
| 93 | - Load leaf files only when the current input matches their scope. |
| 94 | - When a target journal is specified, also load `references/journals/[journal].md`. |
| 95 | - If a reference file is missing, warn the user and proceed with reduced capability (except journal templates; see Fallbacks). |
| 96 | |
| 97 | ### Reference Selection Logic |
| 98 | |
| 99 | 1. Scan the input for Chinese section keywords: 引言, 背景, 研究方法, 方法, 数据, 结果, 讨论, 结论. |
| 100 | 2. If a clear match is found, load the corresponding leaf module directly. |
| 101 | 3. If the input spans multiple sections or is ambiguous, load the overview and use Quick Picks. |