跳到主要内容

宝玉文章翻译与精校

收藏0

把文章翻译成自然中文或其他语言,支持快翻、标准、精校三种流程和术语表;长文可分块处理,保留 Markdown 结构。

让 AI 安装

github最新版本 0.1.0更新于 2026-10-24下载 1 次

references/workflow-mechanics.md

837 B查看源码

Workflow Mechanics#

Details for source materialization, output directory creation, and conflict resolution.

Materialize Source#

Input TypeAction
FileUse as-is (no copy needed)
Inline textSave to translate/{slug}.md
URLFetch content, save to translate/{slug}.md

{slug}: 2-4 word kebab-case slug derived from content topic.

Create Output Directory#

Create a subdirectory next to the source file: {source-dir}/{source-basename}-{target-lang}/

Examples:

  • posts/article.md → posts/article-zh/
  • translate/ai-future.md → translate/ai-future-zh/

Conflict Resolution#

If the output directory already exists, rename the existing one to {name}.backup-YYYYMMDD-HHMMSS/ before creating the new one. Never overwrite existing results.

文件内容是平台检查时读出的文本,只供查看。平台不会运行包里的任何脚本或程序。