Skip to content

threerocks/article2media / skills/long-image

long-image

Verified

长图:两种输入,两种长图。改写稿 content.json → 1–4 张总结长图(手机宽度单栏,每节配图表和数据面板,附执行清单;--wide 出 1200 宽双栏杂志版;12 套主推主题);文章 article.md(原文、译文、逐字稿)→ 一字不改的原文长图(逐块读回校验,超长自动分张)。可以单独用(已有 content.json 或文章),也可以接在抓取、改写、翻译后面。Use when the user wants a 长图, 总结图, 杂志长图, infographic pages, or 原文长图 / 全文长图 / 原文排版 / 一字不改 / -f from an article or an existing content.json; also to re-render a content.json in another theme (换主题、换风格).

FileKindSize
SKILL.mdskill md5.6 KB
agents/openai.yamlconfig215 B
references/original-long.mdmarkdown1.5 KB
scripts/doctor.mjsexecutablescript761 B
scripts/long.mjsexecutablescript854 B

scripts/long.mjs

View on GitHub
#!/usr/bin/env node
// long-image · Long images: content.json → magazine pages; article.md → verbatim long image.
// 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('render.mjs', engine))) {
  console.error('✗ 找不到共享引擎 article2media/engine:long-image 要和 article2media 装在同一个 skills 目录里(插件安装会一起装好)');
  process.exit(2);
}
process.env.A2M_CLI = 'long.mjs';
process.argv.splice(2, 0, '--layout', 'long');
await import(new URL('render.mjs', engine));
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: 197kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall