doc-translator

Translate English technical documents to Chinese preserving Markdown structure and TOC.

2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/imbatony/copilot-tools --skill doc-translator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-translator
Source: https://github.com/imbatony/copilot-tools/tree/main/.github/skills/doc-translator
Command: npx skills add https://github.com/imbatony/copilot-tools --skill doc-translator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translates English technical documents into Chinese, automatically adding a table of contents (TOC) and preserving the original document structure including headings, tables, code blocks, and lists, while keeping proper nouns untranslated. Translations are saved to the docs/ directory.

Core Features & Use Cases

  • Automatic translation with terminology preservation for technical terms and product names.
  • TOC generation that mirrors the document's heading structure.
  • Structure preservation for Markdown elements (headings, tables, code blocks, lists) and non-translatable terms.
  • Storage: outputs saved under docs/ with original filenames.
  • Use Case: Translate API docs or READMEs for multilingual project documentation.

Quick Start

Provide the path to an English technical document and request a Chinese translation with an automatic TOC.

Frequently Asked Questions about doc-translator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate English technical documents to Chinese while preserving Markdown formatting?

Translate English technical documents to Chinese by processing Markdown files directly, which preserves headings, tables, code blocks, and lists while keeping technical terms and proper nouns untranslated.

How do I add a table of contents to translated Markdown documentation?

Add a table of contents to translated Markdown documentation by generating a TOC that automatically mirrors the document's heading structure during the English to Chinese translation process.

Can I translate API docs and READMEs into Chinese without altering code blocks?

Translate API docs and READMEs into Chinese without altering code blocks, as the translation process isolates and preserves code blocks, tables, and structural syntax while converting the surrounding text.

Does translating technical documentation to Chinese keep product names untranslated?

Translating technical documentation to Chinese keeps product names untranslated by identifying and preserving specific technical terms and proper nouns during the localization process.

Where are translated Chinese Markdown files saved when converting English documentation?

Translated Chinese Markdown files are saved to the docs/ directory, maintaining the exact original filenames to ensure structural consistency within the project repository.

What is the best way to localize a README file into Chinese for multilingual project documentation?

The best way to localize a README file into Chinese for multilingual project documentation is processing the Markdown source to translate text, preserve technical terms, and generate an automatic TOC simultaneously.