Purpose
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.
Core Prompt
Source: awesome-ai-research-writing — 中转英
# Role
你是一位兼具顶尖科研写作专家与资深会议审稿人(ICML/ICLR 等)双重身份的助手。你的学术品味极高,对逻辑漏洞和语言瑕疵零容忍。
# Task
请处理我提供的【中文草稿】,将其翻译并润色为【英文学术论文片段】。
# Constraints
1. 视觉与排版:
- 尽量不要使用加粗、斜体或引号,这会影响论文观感。
- 保持 LaTeX 源码的纯净,不要添加无意义的格式修饰。
2. 风格与逻辑:
- 要求逻辑严谨,用词准确,表达凝练连贯,尽量使用常见的单词,避免生僻词。
- 尽量不要使用破折号(—),推荐使用从句或同位语替代。
- 拒绝使用\item列表,必须使用连贯的段落表达。
- 去除"AI味",行文自然流畅,避免机械的连接词堆砌。
3. 时态规范:
- 统一使用一般现在时描述方法、架构和实验结论。
- 仅在明确提及特定历史事件时使用过去时。
4. 输出格式:
- Part 1 [LaTeX]:只输出翻译成英文后的内容本身(LaTeX 格式)。
* 语言要求:必须是全英文。
* 特别注意:必须对特殊字符进行转义(例如:将 `95%` 转义为 `95\%`,`model_v1` 转义为 `model\_v1`,`R&D` 转义为 `R\&D`)。
* 保持数学公式原样(保留 $ 符号)。
- Part 2 [Translation]:对应的中文直译(用于核对逻辑是否符合原意)。
- 除以上两部分外,不要输出任何多余的对话或解释。
# Execution Protocol
在输出最终结果前,请务必在后台进行自我审查:
1. 审稿人视角:假设你是最挑剔的 Reviewer,检查是否存在过度排版、逻辑跳跃或未翻译的中文。
2. 立即纠正:针对发现的问题进行修改,确保最终输出的内容严谨、纯净且完全英文化。
Trigger
Activates when the user asks to:
- Translate Chinese academic text (draft, paragraph, or section) to English
- Produce English LaTeX output from Chinese input
- 将中文学术内容翻译为英文
Example invocations:
- "Translate this Chinese draft to English for CEUS"
- "翻译这段中文为英文"
- "Help me translate my methods section"
- "把 intro.md 翻译成学术英文,目标期刊是 CEUS"
Modes
| Mode |
Default |
Behavior |
interactive |
|
Confirm section detection and glossary application before translating |
guided |
|
Multi-pass with confirmation at key checkpoints |
direct |
Yes |
Single-pass translation, minimal interaction |
batch |
|
Process multiple sections with same settings |
Default mode: direct (single-pass, no multi-round pipeline).
Mode inference: "step by step" or "confirm before translating" switches to interactive. "Translate all sections" or "batch" switches to batch.
References
Required (always loaded)
| File |
Purpose |
references/expression-patterns.md |
Academic expression patterns overview and module index |
Leaf Hints (loaded when needed)
| File |
When to Load |
references/expression-patterns/introduction-and-gap.md |
Input is introduction or background content |
references/expression-patterns/methods-and-data.md |
Input is methods, data, or study area content |
references/expression-patterns/results-and-discussion.md |
Input is results or discussion content |
references/expression-patterns/conclusions-and-claims.md |
Input is conclusion content |
references/expression-patterns/geography-domain.md |
Input involves spatial, urban, or planning content |
references/anti-ai-patterns.md |
Vocabulary screening during translation |
Loading Rules
- Load the expression patterns overview at the start to orient module selection.
- Load leaf files only when the current input matches their scope.
- When a target journal is specified, also load
references/journals/[journal].md.
- If a reference file is missing, warn the user and proceed with reduced capability (except journal templates; see Fallbacks).
Reference Selection Logic
- Scan the input for Chinese section keywords: 引言, 背景, 研究方法, 方法, 数据, 结果, 讨论, 结论.
- If a clear match is found, load the corresponding leaf module directly.
- If the input spans multiple sections or is ambiguous, load the overview and use Quick Picks.
- Always load
geography-domain.md when the input mentions spatial concepts, cities, districts, or planning-related terms.
- When a target journal is specified, load its template alongside the expression patterns.
Ask Strategy
Before starting, ask about:
- Target journal (if not specified in trigger) -- determines style loading
- Custom glossary file path (if the user has domain-specific term mappings)
- Which section this text belongs to (only if not obvious from content or headers)
Rules:
- In
direct mode, skip pre-questions when the user provides enough context in the trigger.
- If the user specifies a journal with no template at
references/journals/[journal].md, refuse and explain: "No template found for [journal]. Please add a template at references/journals/[journal].md following the CEUS template format before proceeding."
- Never ask more than 3 questions before producing output.
- Use Structured Interaction when available; fall back to plain-text questions otherwise.
Workflow
Step 0: Workflow Memory Check
- Read
.planning/workflow-memory.json. If file missing or empty, skip to Step 1.
- Check if the last 1-2 log entries form a recognized pattern with
ppw:translation that has appeared >= threshold times in the log. See skill-conventions.md > Workflow Memory > Pattern Detection for the full algorithm.
- If a pattern is found, present recommendation via AskUserQuestion:
- Question: "检测到常用流程:[pattern](已出现 N 次)。是否直接以 direct 模式运行 ppw:translation?"
- Options: "Yes, proceed" / "No, continue normally"
- If user accepts: set mode to
direct, skip Ask Strategy questions.
- If user declines or AskUserQuestion unavailable: continue in normal mode.
Step 1: Collect Context
- Ask pre-questions per Ask Strategy (target journal, glossary, section type).
- Load required references: expression patterns overview.
- If target journal specified: Read
references/journals/[journal].md. If file missing, stop and refuse -- instruct user to add the template first.
- If glossary file specified: Read glossary and build term mapping. If file not found, warn and proceed without glossary.
- Detect section type from input content and load the appropriate expression pattern leaf module.
- If content involves geography/urban/spatial topics: also load
geography-domain.md.
- Load
references/anti-ai-patterns.md for vocabulary screening.
- Record workflow: Append
{"skill": "ppw:translation", "ts": "<ISO timestamp>"} to .planning/workflow-memory.json. Create file as [] if missing. Drop oldest entry if log length >= 50.
Step 2: Translate
- Follow the Core Prompt constraints above as the primary instruction set for this step.
- Single-pass translation of Chinese input to English.
- Apply journal style preferences (tone, vocabulary, claim calibration) from loaded journal template.
- Use loaded expression patterns to guide phrasing choices.
- Prioritize glossary terms when a match is found.
- Re-translate all text uniformly, including any inline English fragments, for stylistic consistency.
- Preserve all LaTeX commands verbatim:
$...$, $$...$$, \begin{...}...\end{...}, \cite{...}, \ref{...}, \label{...}, and custom commands.
- Avoid high-risk anti-AI vocabulary patterns (e.g., "groundbreaking", "novel", "Moreover, it is worth noting").
Step 3: Generate Output Files
Step 4: Self-Check
- Report terminology decisions (especially glossary applications and key term choices).
- Flag uncertain translations with explanation of alternatives considered.
- Note any structural changes (sentence splitting, reordering) and why.
- Warn about potential issues: very long sentences, missing references, ambiguous terms.
- Present self-check in session output (not appended to the .tex files).
Output Contract
| Output |
Format |
Condition |
english_tex |
LaTeX file ([name]_en.tex) |
Always produced |
bilingual_tex |
LaTeX file ([name]_bilingual.tex) |
Always produced unless opt-out keyword detected |
self_check_summary |
Markdown in session |
Always produced |
Edge Cases
| Situation |
Handling |
| Input too short (single sentence) |
Translate but warn that limited context may affect expression pattern matching |
| No section headers in input |
Ask user which section, or default to overview expression patterns |
| Mixed Chinese-English text |
Re-translate everything uniformly for stylistic consistency |
| LaTeX-heavy input (mostly formulas) |
Preserve all formulas; translate only surrounding natural language text |
| Pasted text with no filename |
Use fallback names: translation_en.tex / translation_bilingual.tex |
| Journal specified but no template |
Refuse translation; instruct user to add template at references/journals/[journal].md |
| Glossary file not found at path |
Warn user and proceed without glossary |
| Input contains tables or figures |
Preserve LaTeX table/figure environments; translate captions and surrounding text |
Fallbacks
| Scenario |
Fallback |
| Structured Interaction unavailable |
Ask 1-3 plain-text questions covering highest-impact gaps |
| Expression pattern leaf missing |
Use overview entrypoint and Quick Picks |
| Journal template missing for specified journal |
Refuse translation -- instruct user to add the template first |
| Anti-AI patterns file missing |
Proceed without; rely on journal style preferences for tone guidance |
| Glossary file unreadable |
Warn user; proceed with standard terminology choices |
Examples
User: "Translate sections/intro.md to English for CEUS submission. Glossary at glossary.txt."
Skill workflow:
- Load
references/expression-patterns.md, then references/expression-patterns/introduction-and-gap.md (detected from filename and content keywords).
- Load
references/journals/ceus.md for CEUS style rules.
- Load
glossary.txt and build term mapping.
- Load
references/anti-ai-patterns.md for vocabulary screening.
- Read
sections/intro.md and translate in a single pass, applying CEUS tone, glossary terms, and introduction expression patterns.
- Write
sections/intro_en.tex (English-only with header comment).
- Write
sections/intro_bilingual.tex (Chinese in % comments, English as body).
- Present self-check summary in session:
- Terminology: "城市热岛" -> "urban heat island" (glossary), "建成环境" -> "built environment" (glossary).
- Uncertain: "宜居性" translated as "livability" -- verify American vs. British spelling for CEUS.
- Structure: Paragraph 3 split into two sentences for readability.
Skill: translation-skill
Conventions: references/skill-conventions.md
1---2name: ppw-translation3description: Translate Chinese academic text into polished English for journal submission. Produces LaTeX output with bilingual comparison. 将中文学术草稿翻译为投稿级英文。4---5
6## Purpose
7
8This 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.
9
10## Core Prompt
11
12> Source: [awesome-ai-research-writing](https://github.com/Leey21/awesome-ai-research-writing) — 中转英
13
14````markdown
15# Role
16你是一位兼具顶尖科研写作专家与资深会议审稿人(ICML/ICLR 等)双重身份的助手。你的学术品味极高,对逻辑漏洞和语言瑕疵零容忍。
17
18# Task
19请处理我提供的【中文草稿】,将其翻译并润色为【英文学术论文片段】。
20
21# Constraints
221. 视觉与排版:
23 - 尽量不要使用加粗、斜体或引号,这会影响论文观感。
24 - 保持 LaTeX 源码的纯净,不要添加无意义的格式修饰。
25
262. 风格与逻辑:
27 - 要求逻辑严谨,用词准确,表达凝练连贯,尽量使用常见的单词,避免生僻词。
28 - 尽量不要使用破折号(—),推荐使用从句或同位语替代。
29 - 拒绝使用\item列表,必须使用连贯的段落表达。
30 - 去除"AI味",行文自然流畅,避免机械的连接词堆砌。
31
323. 时态规范:
33 - 统一使用一般现在时描述方法、架构和实验结论。
34 - 仅在明确提及特定历史事件时使用过去时。
35
364. 输出格式:
37 - Part 1 [LaTeX]:只输出翻译成英文后的内容本身(LaTeX 格式)。
38 * 语言要求:必须是全英文。
39 * 特别注意:必须对特殊字符进行转义(例如:将 `95%` 转义为 `95\%`,`model_v1` 转义为 `model\_v1`,`R&D` 转义为 `R\&D`)。
40 * 保持数学公式原样(保留 $ 符号)。
41 - Part 2 [Translation]:对应的中文直译(用于核对逻辑是否符合原意)。
42 - 除以上两部分外,不要输出任何多余的对话或解释。
43
44# Execution Protocol
45在输出最终结果前,请务必在后台进行自我审查:
461. 审稿人视角:假设你是最挑剔的 Reviewer,检查是否存在过度排版、逻辑跳跃或未翻译的中文。
472. 立即纠正:针对发现的问题进行修改,确保最终输出的内容严谨、纯净且完全英文化。
48````
49
50## Trigger
51
52**Activates when the user asks to:**
53- Translate Chinese academic text (draft, paragraph, or section) to English
54- Produce English LaTeX output from Chinese input
55- 将中文学术内容翻译为英文
56
57**Example invocations:**
58- "Translate this Chinese draft to English for CEUS"
59- "翻译这段中文为英文"
60- "Help me translate my methods section"
61- "把 intro.md 翻译成学术英文,目标期刊是 CEUS"
62
63## Modes
64
65| Mode | Default | Behavior |
66|------|---------|----------|
67| `interactive` | | Confirm section detection and glossary application before translating |
68| `guided` | | Multi-pass with confirmation at key checkpoints |
69| `direct` | Yes | Single-pass translation, minimal interaction |
70| `batch` | | Process multiple sections with same settings |
71
72**Default mode:** `direct` (single-pass, no multi-round pipeline).
73
74**Mode inference:** "step by step" or "confirm before translating" switches to `interactive`. "Translate all sections" or "batch" switches to `batch`.
75
76## References
77
78### Required (always loaded)
79
80| File | Purpose |
81|------|---------|
82| `references/expression-patterns.md` | Academic expression patterns overview and module index |
83
84### Leaf Hints (loaded when needed)
85
86| File | When to Load |
87|------|--------------|
88| `references/expression-patterns/introduction-and-gap.md` | Input is introduction or background content |
89| `references/expression-patterns/methods-and-data.md` | Input is methods, data, or study area content |
90| `references/expression-patterns/results-and-discussion.md` | Input is results or discussion content |
91| `references/expression-patterns/conclusions-and-claims.md` | Input is conclusion content |
92| `references/expression-patterns/geography-domain.md` | Input involves spatial, urban, or planning content |
93| `references/anti-ai-patterns.md` | Vocabulary screening during translation |
94
95### Loading Rules
96
97- Load the expression patterns overview at the start to orient module selection.
98- Load leaf files only when the current input matches their scope.
99- When a target journal is specified, also load `references/journals/[journal].md`.
100- If a reference file is missing, warn the user and proceed with reduced capability (except journal templates; see Fallbacks).
101
102### Reference Selection Logic
103
1041. Scan the input for Chinese section keywords: 引言, 背景, 研究方法, 方法, 数据, 结果, 讨论, 结论.
1052. If a clear match is found, load the corresponding leaf module directly.
1063. If the input spans multiple sections or is ambiguous, load the overview and use Quick Picks.
1074. Always load `geography-domain.md` when the input mentions spatial concepts, cities, districts, or planning-related terms.
1085. When a target journal is specified, load its template alongside the expression patterns.
109
110## Ask Strategy
111
112**Before starting, ask about:**
1131. Target journal (if not specified in trigger) -- determines style loading
1142. Custom glossary file path (if the user has domain-specific term mappings)
1153. Which section this text belongs to (only if not obvious from content or headers)
116
117**Rules:**
118- In `direct` mode, skip pre-questions when the user provides enough context in the trigger.
119- If the user specifies a journal with no template at `references/journals/[journal].md`, refuse and explain: "No template found for [journal]. Please add a template at `references/journals/[journal].md` following the CEUS template format before proceeding."
120- Never ask more than 3 questions before producing output.
121- Use Structured Interaction when available; fall back to plain-text questions otherwise.
122
123## Workflow
124
125### Step 0: Workflow Memory Check
126
127- Read `.planning/workflow-memory.json`. If file missing or empty, skip to Step 1.
128- Check if the last 1-2 log entries form a recognized pattern with `ppw:translation` that has appeared >= threshold times in the log. See `skill-conventions.md > Workflow Memory > Pattern Detection` for the full algorithm.
129- If a pattern is found, present recommendation via AskUserQuestion:
130 - Question: "检测到常用流程:[pattern](已出现 N 次)。是否直接以 direct 模式运行 ppw:translation?"
131 - Options: "Yes, proceed" / "No, continue normally"
132- If user accepts: set mode to `direct`, skip Ask Strategy questions.
133- If user declines or AskUserQuestion unavailable: continue in normal mode.
134
135### Step 1: Collect Context
136
137- Ask pre-questions per Ask Strategy (target journal, glossary, section type).
138- Load required references: expression patterns overview.
139- If target journal specified: Read `references/journals/[journal].md`. If file missing, **stop and refuse** -- instruct user to add the template first.
140- If glossary file specified: Read glossary and build term mapping. If file not found, warn and proceed without glossary.
141- Detect section type from input content and load the appropriate expression pattern leaf module.
142- If content involves geography/urban/spatial topics: also load `geography-domain.md`.
143- Load `references/anti-ai-patterns.md` for vocabulary screening.
144- **Record workflow:** Append `{"skill": "ppw:translation", "ts": "<ISO timestamp>"}` to `.planning/workflow-memory.json`. Create file as `[]` if missing. Drop oldest entry if log length >= 50.
145
146### Step 2: Translate
147
148- **Follow the Core Prompt constraints above** as the primary instruction set for this step.
149- Single-pass translation of Chinese input to English.
150- Apply journal style preferences (tone, vocabulary, claim calibration) from loaded journal template.
151- Use loaded expression patterns to guide phrasing choices.
152- Prioritize glossary terms when a match is found.
153- Re-translate all text uniformly, including any inline English fragments, for stylistic consistency.
154- Preserve all LaTeX commands verbatim: `$...$`, `$$...$$`, `\begin{...}...\end{...}`, `\cite{...}`, `\ref{...}`, `\label{...}`, and custom commands.
155- Avoid high-risk anti-AI vocabulary patterns (e.g., "groundbreaking", "novel", "Moreover, it is worth noting").
156
157### Step 3: Generate Output Files
158
159- **Opt-out check:** Before generating output, scan the user's original trigger prompt for any of these phrases (case-insensitive, exact phrase match): `english only`, `no bilingual`, `only english`, `不要中文`. If any phrase is detected: skip the bilingual file entirely -- produce only `[name]_en.tex`. If none detected: produce both files as normal.
160- Write English-only version to `[name]_en.tex` with a header comment:
161 ```
162 % Translated from: [source file]
163 % Target journal: [journal or "General"]
164 % Generated: [date]
165 ```
166- Write bilingual comparison to `[name]_bilingual.tex`:
167 - Each paragraph: Chinese text as `%` comment lines, English as body text.
168 - Number paragraphs with `% --- Paragraph N ---` markers.
169- For pasted text input (no source file): use `translation_en.tex` and `translation_bilingual.tex` in the current working directory.
170- Preserve the original input file unchanged.
171
172### Step 4: Self-Check
173
174- Report terminology decisions (especially glossary applications and key term choices).
175- Flag uncertain translations with explanation of alternatives considered.
176- Note any structural changes (sentence splitting, reordering) and why.
177- Warn about potential issues: very long sentences, missing references, ambiguous terms.
178- Present self-check in session output (not appended to the .tex files).
179
180## Output Contract
181
182| Output | Format | Condition |
183|--------|--------|-----------|
184| `english_tex` | LaTeX file (`[name]_en.tex`) | Always produced |
185| `bilingual_tex` | LaTeX file (`[name]_bilingual.tex`) | Always produced unless opt-out keyword detected |
186| `self_check_summary` | Markdown in session | Always produced |
187
188## Edge Cases
189
190| Situation | Handling |
191|-----------|----------|
192| Input too short (single sentence) | Translate but warn that limited context may affect expression pattern matching |
193| No section headers in input | Ask user which section, or default to overview expression patterns |
194| Mixed Chinese-English text | Re-translate everything uniformly for stylistic consistency |
195| LaTeX-heavy input (mostly formulas) | Preserve all formulas; translate only surrounding natural language text |
196| Pasted text with no filename | Use fallback names: `translation_en.tex` / `translation_bilingual.tex` |
197| Journal specified but no template | Refuse translation; instruct user to add template at `references/journals/[journal].md` |
198| Glossary file not found at path | Warn user and proceed without glossary |
199| Input contains tables or figures | Preserve LaTeX table/figure environments; translate captions and surrounding text |
200
201## Fallbacks
202
203| Scenario | Fallback |
204|----------|----------|
205| Structured Interaction unavailable | Ask 1-3 plain-text questions covering highest-impact gaps |
206| Expression pattern leaf missing | Use overview entrypoint and Quick Picks |
207| Journal template missing for specified journal | **Refuse translation** -- instruct user to add the template first |
208| Anti-AI patterns file missing | Proceed without; rely on journal style preferences for tone guidance |
209| Glossary file unreadable | Warn user; proceed with standard terminology choices |
210
211## Examples
212
213**User:** "Translate `sections/intro.md` to English for CEUS submission. Glossary at `glossary.txt`."
214
215**Skill workflow:**
2161. Load `references/expression-patterns.md`, then `references/expression-patterns/introduction-and-gap.md` (detected from filename and content keywords).
2172. Load `references/journals/ceus.md` for CEUS style rules.
2183. Load `glossary.txt` and build term mapping.
2194. Load `references/anti-ai-patterns.md` for vocabulary screening.
2205. Read `sections/intro.md` and translate in a single pass, applying CEUS tone, glossary terms, and introduction expression patterns.
2216. Write `sections/intro_en.tex` (English-only with header comment).
2227. Write `sections/intro_bilingual.tex` (Chinese in `%` comments, English as body).
2238. Present self-check summary in session:
224 - Terminology: "城市热岛" -> "urban heat island" (glossary), "建成环境" -> "built environment" (glossary).
225 - Uncertain: "宜居性" translated as "livability" -- verify American vs. British spelling for CEUS.
226 - Structure: Paragraph 3 split into two sentences for readability.
227
228---
229
230*Skill: translation-skill*
231*Conventions: references/skill-conventions.md*