threerocks/article2media / skills/article-translate
article-translate
Verified全文翻译:把一篇外文文章(多为英文 X 长文、网页、逐字稿)完整译成中文 article.zh.md——不删减、不总结、不改写结构,标题、段落、列表、引用、表格、图片与原文逐块对应,代码和链接原样保留;脚本检查块数和结构是否一致、有没有漏译、没翻译或丢了数字。译文可以直接交付,也可以接原文长图、原文卡片、公众号排版(外文搬运)。Use when the user wants an article translated in full (翻译这篇、全文翻译、译成中文、搬运外文文章、英文转中文发公众号/小红书), or when an article2media original-text layout gets a source in another language than the reader's.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.5 KB |
| agents/openai.yaml | config | 227 B |
| references/translate-guide.md | markdown | 2.4 KB |
| scripts/translate.mjsexecutable | script | 827 B |
scripts/translate.mjs
View on GitHub#!/usr/bin/env node
// article-translate · Translation checks: stats <article.md> / check <article.md> <article.zh.md>.
// Runs the shared engine (skills/article2media/engine), installed together with the article2media skill.
import fs from 'node:fs';
import { pathToFileURL } from 'node:url';
const engine = process.env.ARTICLE2MEDIA_ENGINE ? pathToFileURL(process.env.ARTICLE2MEDIA_ENGINE.replace(/\/?$/, '/scripts/')) : new URL('../../article2media/engine/scripts/', import.meta.url);
if (!fs.existsSync(new URL('translate.mjs', engine))) {
console.error('✗ 找不到共享引擎 article2media/engine:article-translate 要和 article2media 装在同一个 skills 目录里(插件安装会一起装好)');
process.exit(2);
}
process.env.A2M_CLI = 'translate.mjs';
await import(new URL('translate.mjs', engine));
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |