skills/ljg-card/SKILL.md
Content caster (铸). Transforms content into PNG visuals. Seven molds: -l (default) long reading card, -i infograph, -m multi-card reading cards (1080x1440), -v editorial sketchnote (problem→failure→pivot→insight→naming, magazine + archive layout), -c comic (manga-style B&W), -w whiteboard (marker-style board layout), -b big-fonts attachment card (1080x1440, weathered 碑刻 style for 小红书). Output to ~/Downloads/. Use when user says '铸', 'cast', '做成图', '做成卡片', '做成信息图', '做成海报', '视觉笔记', 'sketchnote', '杂志', 'editorial', '漫画', 'comic', 'manga', '白板', 'whiteboard', '大字', '附件图', 'big fonts', '小红书卡片'. Replaces ljg-cards and ljg-infograph.
npx skillsauth add lijigang/ljg-skills ljg-cardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
将内容铸成可见的形态。内容进去,PNG 出来。模具决定形状。
| 参数 | 模具 | 尺寸 | 说明 |
|------|------|------|------|
| -l(默认) | 长图 | 1080 x auto | 单张阅读卡,内容自动撑高 |
| -i | 信息图 | 1080 x auto | 内容驱动的自适应视觉布局 |
| -m | 多卡 | 1080 x 1440 | 自动切分为多张阅读卡片 |
| -v | 视觉笔记 | 1080 x auto | 编辑式杂志专题:问题→失败→转折→顿悟→命名(6 layout 模具 / 4 字族对比 / 探案档案细节)|
| -c | 漫画 | 1080 x auto | 日式黑白漫画风格,动态选择漫画家视觉语言 |
| -w | 白板 | 1080 x auto | 白板马克笔风格,结构化框图+箭头+彩色标记 |
| -b | 大字 | 1080 x 1440 | 碑刻大字 + 和紙 + 外阴影,小红书附件风格(单句/短段) |
本 skill 输出为视觉文件(PNG),不适用 L0 中的 Org-mode、Denote 和 ASCII-only 规范。
从内容提取标题或核心思想作为 {name}(中文直接用,去标点,≤ 20 字符)。
node assets/capture.js <html> <png> <width> <height> [fullpage]
从 skill 根目录运行。依赖 skill 根目录下的 node_modules/ 中的 playwright。如报错:
npm install playwright && npx playwright install chromium
{{SOURCE_LINE}} 变量:有来源时填 <span class="info-source">来源文字</span>,否则空字符串。适用于 -l、-i、-v、-c、-w 模具(-m 多卡无 footer,不适用)。所有模具共享。执行任何模具前,先 Read references/taste.md,作为视觉质量底线贯穿全流程。
核心:反 AI 生成痕迹——禁 Inter 字体、禁纯黑、禁三等分卡片、禁居中 Hero、禁 AI 文案腔、禁假数据。
根据参数选择模具,Read references/taste.md + 对应的 mode 文件,按步骤执行:
Read references/mode-long.md,按其步骤执行。
模板:assets/long_template.html
Read references/mode-infograph.md,按其步骤执行。
模板:assets/infograph_template.html
Read references/mode-poster.md,按其步骤执行。
模板:assets/poster_template.html
Read references/mode-sketchnote.md,按其步骤执行。
模板:assets/sketchnote_template.html
Read references/mode-comic.md,按其步骤执行。
模板:assets/comic_template.html
Read references/mode-whiteboard.md,按其步骤执行。
模板:assets/whiteboard_template.html
Read references/mode-big.md,按其步骤执行。
模板:assets/big_template.html
research
拆一本书。冷静简洁犀利直白,五件事说清:作者在答什么问题,立在什么不证之物上,用什么框架看,得出什么结论,最后萃出一个 takeaway(取景框/模型/洞见/概念/金句五选一)作为这本书的精神内核。最后把作者的取景框(这本书的参考系)画成一张地图——提炼参考系、把观点钉到位置上、走两步做预测,让你不光看懂,还能自己拿它预测书外的新事。Use when user says '拆书', '拆这本', '分析这本书', '这本书在讲什么', '上帝之眼看这本书', '压缩一本书', 'book', or shares a book name wanting structural analysis. NOT FOR 章节摘要(用 Fabric extract_wisdom)、论文(用 ljg-paper)、单一观点深钻(用 ljg-think)、一个领域降秩(用 ljg-rank).
testing
给一个领域,找出背后真正撑着它的几根独立的力。十几个现象砍到不可再少的生成器——砍完能把现象一个个生回来,才算数。Use when user says '降秩', '找秩', '秩是什么', '这个领域靠什么撑着', '背后是什么', or wants to decompose any domain to its irreducible generators.
content-media
Paper reader for non-academics. Reads a paper and tells it back as one continuous story to someone who doesn't know the field — built on a seven-beat spine (主角 / 困境 / 旧路 / 转折 / 解法 / 结局 / 内核). The job is storytelling that makes the paper land, not academic critique. Use when user shares an arxiv link, paper URL, PDF, or asks to analyze a research paper. Trigger words: '读论文', '讲论文', '把这篇讲给我听', '分析论文', 'paper', or when user shares an academic paper.
tools
把 ~/.claude/skills/ljg-* 里所有更新过的 skills 同步到 github repo (ljg-skills),先推 master 分支(org-mode 输出风格),再切 md 分支(markdown 输出风格)做基础 markdown 化后推。Use when user says '/ljg-push', 'push skills', '推送 skills', '同步 skills', 'sync ljg', or whenever ljg-* skills get updated and need shipping. NOT FOR pushing non-ljg skills or arbitrary git repos.