From ljg-skills
Transforms content into PNG visuals with seven distinct molds: long reading card, infograph, multi-card, editorial sketchnote, manga-style comic, whiteboard, and big-fonts attachment card. Outputs to ~/Downloads/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ljg-skills:ljg-cardThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
将内容铸成可见的形态。内容进去,PNG 出来。模具决定形状。
assets/big_template.htmlassets/capture.jsassets/comic_template.htmlassets/infograph_template.htmlassets/logo.pngassets/long_template.htmlassets/poster_template.htmlassets/sketchnote_template.htmlassets/whiteboard_template.htmlpackage-lock.jsonpackage.jsonreferences/mode-big.mdreferences/mode-comic.mdreferences/mode-infograph.mdreferences/mode-long.mdreferences/mode-poster.mdreferences/mode-sketchnote.mdreferences/mode-whiteboard.mdreferences/taste.md将内容铸成可见的形态。内容进去,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
npx claudepluginhub lijigang/ljg-skills --plugin ljg-skillsGenerates social media infographic image card series with 12 visual styles, 8 layouts, and 3 color palettes. Splits content into 1-10 cartoon-style cards for platforms like Xiaohongshu and WeChat.
Generates Xiaohongshu infographic series from markdown content, with 10 visual styles and 8 layouts for social media posting.
Creates self-contained HTML visualizations like slide decks, infographics, dashboards, flowcharts, diagrams, timelines, and org charts from any content or idea.