Skip to content

threerocks/article2media / skills/article-rewrite

article-rewrite

Verified

改写(总结):把一篇文章读透、重组成一份和风格无关的结构化改写稿 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.

FileKindSize
SKILL.mdskill md6.8 KB
agents/openai.yamlconfig286 B
examples/29meat-claude-code.jsonconfig31.1 KB
examples/dan-koe.jsonconfig31.6 KB
examples/eian-ai-video.jsonconfig29.1 KB
examples/gallery.jsonconfig8.7 KB
references/content-schema.mdmarkdown9.9 KB
references/figures.mdmarkdown9.1 KB
references/writing-guide.mdmarkdown7.0 KB
scripts/check.mjsexecutablescript858 B
scripts/doctor.mjsexecutablescript794 B
scripts/export.mjsexecutablescript800 B
scripts/illustrate.mjsexecutablescript804 B

scripts/check.mjs

View on GitHub
#!/usr/bin/env node
// article-rewrite · Validate a content.json (改写稿); add --ratio 3:4 etc. to check card limits too.
// 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:article-rewrite 要和 article2media 装在同一个 skills 目录里(插件安装会一起装好)');
  process.exit(2);
}
process.env.A2M_CLI = 'check.mjs';
process.argv.splice(2, 0, '--check');
await import(new URL('render.mjs', engine));
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 469kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 321kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 321kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 321kUpdated Claude CodeCodexVerifiedInstall