Tooluck logoTooluck
SKILL.md

ljg-card

Agent skill fromlijigang/ljg-skills

Content caster (铸). Transforms text into PNG through precise HTML typography and, when the mold needs it, generated raster imagery. Four molds: -l (default) long reading card, -f source-faithful full text, -c comic, -w whiteboard. USE WHEN user says '铸', 'cast', '做成图', '做成卡片', '做成海报', '原文排版', '全文卡片', '漫画', or '白板'.

How to install ljg-card

install ljg-card
# install the ljg-skills pack with the skills CLI
npx skills add lijigang/ljg-skills

# or add only this skill to Claude Code: copy the folder

skills/ljg-card/

# into

~/.claude/skills/ljg-card/ (all projects)

.claude/skills/ljg-card/ (one project)

skills/ljg-card/SKILL.md

MITFull file
1# ljg-card:铸
2
3内容进去,PNG 出来。生成图负责把思想变成可见动作,HTML 负责把话说准确;`-f` 只设计原文的呈现,不改动原文,也不生成新图。
4
5`-l`、`-w` 承担知识讲解时,还要接通「具体情形 → 判别依据 → 有条件的关系 → 具体结果」。读者应能从正文里的动作或状态看出对象凭什么属于某个概念,再用关系推出眼前的结果;只把例子放在术语旁边,连接仍然缺失。先确定目标读者要完成什么判断,再决定材料和画面;下上结构不规定版面上下,也不要求每张卡从故事开头。文学、叙事与审美表达按自身目的组织,不强加习题。
6
7成品在内容自身的结论、问题或余韵处结束,之后只留署名与来源。不要追加「阅读边界」、免责声明、制作说明或验收说明,也不要换个标题保留这类尾注。会改变理解的原文条件、分歧与限制,就近融入相应论证;提炼范围、材料缺口和验证状态放在交付回复中。`-f` 原稿已有的段落仍按全文保真合同保留。
8
9## 参数
10
11| 参数 | 模具 | 尺寸 | 图像角色 |
12|---|---|---|---|
13| `-l`(默认) | 长图 · 静线叙事 | 1080 × auto | 0–3 幅;有理解增益时用 1 个安静主场景,必要时追加连续视觉拍点 |
14| `-f` | 全文 · 原文排版 | 1080 × auto | 生成图固定为 0;只保真呈现原稿自带图片 |
15| `-c` | 漫画 | 1080 × auto | 缺口驱动、同案重跑的漫画分镜 |
16| `-w` | 白板 · 纵向论证 | 1080 × auto | 嵌入承重推理节点的局部手绘动作;不设顶部主视觉 |
17
18未给参数时使用 `-l`。
19
20## 必读顺序
21
22`-l`、`-c`、`-w` 每次执行都必须依次 Read:
23
241. `references/taste.md`
252. `references/image-generation.md`
263. 当前 mode 文件
274. 当前 HTML 模板
28
29不得跳过共享图像协议直接写提示词,也不得把一种 mode 的图像语法套给另一种。
30
31`-l`、`-w` 用于知识讲解时,在第 3 步后、读取模板前补读 `references/learning-design.md`:其中包含读者任务、下上连接、来源边界、换案检验,以及四组失败与修复对照。`-f` 不进入这条路线。
32
33`-f` 依次 Read:
34
351. `references/taste.md`
362. `references/mode-full.md`
373. `assets/full_template.html`
38
39`-f` 不生成新图;只有原稿自带图片时才补读 `references/image-generation.md` 的资产身份、来源保真与本地落盘合同。
40
41## `-f` 字体优先级
42
43`-f` 的所有编辑性文字优先使用本机已安装的 `KingHwa_OldSong`,包括 title、headline、章节标题、正文、强调、图注、表头与署名,从而保持整张长卡的字体气质统一。浏览器检测不到时,正文回退到 `Songti SC`、`STSong`、`Noto Serif CJK SC` 与 `serif`,标题类文字回退到 `PingFang SC`、`Hiragino Sans GB`、`Microsoft YaHei` 与系统 sans。不得为了制卡联网下载、临时安装或远程引用该字体。`code`、`pre` 与来源行保留等宽字体,因为字符对齐在这些位置承担语义。
44…

Excerpt shown under the repository's MIT license.

More skills in ljg-skills

Keep exploring

Similar skill repositories

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates