Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ppw:translation

БесплатноБез исполняемых скриптовНе проверен

Translate Chinese academic text into polished English for journal submission. Produces LaTeX output with bilingual comparison. 将中文学术草稿翻译为投稿级英文。

Lylll9436от Lylll9436★ 389 звёзд на GitHub

Об этом скилле

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

  1. Scan the input for Chinese section keywords: 引言, 背景, 研究方法, 方法, 数据, 结果, 讨论, 结论.
  2. If a clear match is found, load the corresponding leaf module directly.
  3. If the input spans multiple sections or is ambiguous, load the overview and use Quick Picks.
  4. Always load geography-domain.md when the input mentions spatial concepts, cities, districts, or planning-related terms.
  5. When a target journal is specified, load its template alongside the expression patterns.

Ask Strategy

Before starting, ask about:

  1. Target journal (if not specified in trigger) -- determines style loading
  2. Custom glossary file path (if the user has domain-specific term mappings)
  3. 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
Полный SKILL.md на GitHub

Установить ppw:translation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Structured Interaction

FAQ

Что делает скилл ppw:translation?

Translate Chinese academic text into polished English for journal submission. Produces LaTeX output with bilingual comparison. 将中文学术草稿翻译为投稿级英文。

Как установить скилл ppw:translation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ppw:translation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ppw:translation с