ljg-card logo

ljg-card

ljg card

lijigang/ljg-skills3.6Kinstalls5.4Kstars

SKILL.md

Full skill instructions

ljg-card: 铸

内容进去,PNG 出来。模具决定形状。

参数

参数模具尺寸说明
-l(默认)长图1080 x auto单张阅读卡,内容自动撑高
-i信息图1080 x auto布局跟着内容长,没有固定版式
-m多卡1080 x 1440自动切成多张阅读卡片
-v视觉笔记1080 x auto像杂志专题讲一个概念:问题→失败→转折→顿悟→命名
-c漫画1080 x auto日式黑白漫画,按内容气质选漫画家
-w白板1080 x auto和紙底手写推理链,箭头串概念
-b大字1080 x 1440碑刻大字 + 和紙 + 外阴影,小红书附件用(单句/短段)

约束

输出是视觉文件(PNG),L0 里的 Org-mode、Denote、ASCII-only 规范不适用。

通用规矩

获取内容

  • URL:WebFetch 抓
  • 粘贴文本:直接用
  • 文件路径:Read 读

文件命名

从内容提取标题或核心思想作 {name}(中文直接用,去标点,≤ 20 字符)。

截图工具

node assets/capture.js <html> <png> <width> <height> [fullpage]

从 skill 根目录运行,依赖根目录 node_modules/ 里的 playwright。报错时:

npm install playwright && npx playwright install chromium

Footer

  • 左侧:logo + 李继刚(模板已硬编码)
  • 右侧:内容来源,可选。有明确来源(作者名、arxiv ID、网站名)就填 {{SOURCE_LINE}}<span class="info-source">来源文字</span>;没有就留空字符串。适用于 -l-i-v-c-w-m 多卡无 footer)。

交付

报告文件路径。

品味准则

不管走哪个模具,先 Read references/taste.md,全部模具共用的视觉底线:禁 Inter 字体、禁纯黑、禁三等分卡片、禁 AI 文案腔、禁假数据。

执行

按参数选模具,Read references/taste.md + 对应 mode 文件,照步骤走:

参数mode 文件模板
-lreferences/mode-long.mdassets/long_template.html
-ireferences/mode-infograph.mdassets/infograph_template.html
-mreferences/mode-poster.mdassets/poster_template.html
-vreferences/mode-sketchnote.mdassets/sketchnote_template.html
-creferences/mode-comic.mdassets/comic_template.html
-wreferences/mode-whiteboard.mdassets/whiteboard_template.html
-breferences/mode-big.mdassets/big_template.html
ljg-card — Skill — AIMarketly