long-image

Featured

长图:两种输入,两种长图。改写稿 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 (换主题、换风格).

AI & Automation 436 stars 66 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
88
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 长图(long-image) > 路径约定:文中的 `${CLAUDE_SKILL_DIR}` 指本 SKILL.md 所在的目录。宿主没有替换这个变量时(命令里原样出现 `${CLAUDE_SKILL_DIR}`),把它换成这个目录的绝对路径再运行;`../<名字>/` 指同级的另一个 skill 目录。 | 输入 | 产出 | |---|---| | `content.json`(改写稿) | 总结长图:默认手机版,单栏、1080 宽,手机上不用放大就能读;`--wide` 出 1200 宽的双栏杂志版(适合电脑上看、打印、做展示图)。`<目录>/<主题>/page-01.png …` | | `article.md`(原文、译文、逐字稿、`rewrite.md`) | 原文长图:一字不改,1080 宽,`<目录>/full/full.png`(过长时 `full-01.png …`) | 参数:`$ARGUMENTS` ## 0. 先确定输入 - 已有 `content.json` → 总结长图;用户只给了文章、又说"原文 / 全文 / 一字不改 / -f" → 原文长图。 - 给的是链接、文件、粘贴的正文或视频 → 先用 `article-fetch` / `video-transcript` 取原文。 - 只有文章、用户没说原文还是总结 → 长图默认**改写**:先用 `article-rewrite` 写 content.json。原文是外文、又要原文长图 → 先用 `article-translate`。 - 判断规则、工作目录和调用其他能力的方式:`../article2media/references/pipeline.md`。 第一次使用先跑 `node ${CLAUDE_SKILL_DIR}/scripts/doctor.mjs`(Node 22+、Chrome)。 ## 1. 总结长图(content.json) ```bash node ${CLAUDE_SKILL_DIR}/scripts/long.mjs <目录>/content.json # 主题取 content.json 的 theme node ${CLAUDE_SKILL_DIR}/scripts/long.mjs <目录>/content.json --theme midnight # 用户指定主题 node ${CLAUDE_SKILL_DIR}/scripts/long.mjs <目录>/content.json --wide # 1200 宽双栏杂志版(文字在左、图在右) node ${CLAUDE_SKILL_DIR}/scripts/long.mjs <目录>/content.json --theme all # 全部主推主题,分目录输出 node ${CLAUDE_SKILL_DIR}/scripts/long.mjs --list # 列出主题 ``` - 每页输出 PNG 和同名 `.html`、`qa.json`,一页大约 4 秒。其他参数:`--page 1,3`、`--scale 2`、`--format jpeg --quality 90`、`--max-height 7600`(手机版默认 7600,宽版 4400)、`--brand brand.json`、`--out...

Details

Author
threerocks
Repository
threerocks/article2media
Created
1 weeks ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

article-rewrite

改写(总结):把一篇文章读透、重组成一份和风格无关的结构化改写稿 content.json——核心主张、分页分节、每节的判断式标题、要点、金句、两张图表(柱状、流程、对比、结构等 20 多种)和数据面板,可选执行清单、核对数字、AI 插画;还能导出成一篇文章 rewrite.md(图表转成图片)。改写稿交给长图、卡片出图,rewrite.md 交给公众号排版。Use when the user wants an article summarized / restructured / 提炼 / 改写 / 整理成要点 for visual content, wants a 总结 before 长图、小红书卡片 or 公众号, or another article2media skill needs content.json; also when the user wants a structured summary article (总结稿) of a long post.

436 Updated 1 weeks ago
threerocks
AI & Automation Solid

article-comic

漫画:把一篇文章讲的机制做成黑白漫画分镜——你写认知因果拍点和固定角色(comic.json),生成图负责角色、场景和动作,HTML 负责旁白、对白、音效字(图里不画字);同时输出一张长漫画和一组小红书 3:4 卡片。需要出图能力(Codex CLI 登录,或 OpenAI / Gemini 付费 key)。输入是文章(原文、译文、逐字稿)。可以单独用,也可以接在抓取、视频转文字后面。Use when the user wants a 漫画, 连环画, 四格, 分镜, comic strip, "把这篇做成漫画", or -c.

436 Updated 1 weeks ago
threerocks
AI & Automation Featured

image-cards

卡片:固定比例的图文卡片组——小红书 3:4(1080×1440)、Instagram 4:5、方图 1:1、竖屏 9:16,附总览图和发帖文案。两种输入:改写稿 content.json → 总结卡片(封面 + 每节一卡 + 清单 + 要点总结,12 套主推主题);文章 article.md(原文、译文、逐字稿)→ 原文卡片(整篇按顺序分页成卡片,一字不改,逐块校验)。可以单独用,也可以接在抓取、改写、翻译后面。Use when the user wants 小红书图文, 轮播卡片, 知识卡片, 3:4 / 4:5 / 1:1 / 9:16 cards, Instagram carousel, 朋友圈方图, or 原文卡片 / 全文卡片 / 把全文做成小红书 — from an article or an existing content.json.

436 Updated 1 weeks ago
threerocks