web-article-translator

Original🇨🇳 Chinese
Translated

Translate online articles into Chinese and save them in Markdown format. Use this skill when users need to translate web articles or blog posts, for example: "Translate this article https://example.com/article", "Translate the article from this URL into Chinese and save it".

10installs
Added on

NPX Install

npx skill4agent add qingchunwuhui/xianfengaiskills web-article-translator

SKILL.md Content (Chinese)

View Translation Comparison →

Web Article Translator

Overview

Translate online articles into Chinese and save the results as Markdown format files, keeping the original image links unchanged.

Workflow

1. Retrieve Web Page Content

Use the webReader tool to retrieve article content:
  • Set
    return_format
    to
    markdown
  • Set
    retain_images
    to
    true
  • Keep all image links unchanged
  • Do NOT translate code blocks or variable names

2. Translate Content

Translate the retrieved Markdown content into Chinese:
  • Translation Principles: Maintain the original style, automatically adjust the translation style based on the original content type (news, technical documents, blogs, etc.)
  • Technical Terms: Retain the original English term in parentheses when it first appears, and use the Chinese term directly in subsequent references
  • Readability: Ensure the translation is reasonable, fluent, and easy to understand
  • Format Retention: Preserve the original Markdown structure (headings, lists, code blocks, etc.)

3. Save File

Save the translated content as a Markdown file:
  • File name format:
    translated-{title}.md
    or
    translated-article-{datetime}.md
  • Save to the current working directory
  • Keep all image links unchanged

4. Output Confirmation

After completing the translation, inform the user of:
  • File save path
  • Word count of the translation
  • Number of images (if any)

Example Usage

User Request:
Translate this article https://example.com/article
Execution Process:
  1. Use the webReader tool to retrieve the URL content
  2. Translate the Markdown content into Chinese
  3. Save to
    translated-article.md
  4. Notify the user of the completion status