PROMPT PLANET图片模板

柔和科技

复现方式:依赖 skill html-imagegen(来源 github.com/lindong28/lindong-skills)——把 Prompt 原样粘贴给 Claude / Codex 即可:Prompt 开头写明了 skill 地址,agent 会自行安装,并向你确认要表达的内容与目标平台。

双平台效果图

小红书封面

按四块阅读输入
本图实际使用的 Prompt

角色与任务

你是中文封面编辑与排版设计师。根据本次完整原文制作一张小红书封面,输出完整HTML。

基本要求

输出独立完整HTML,导出区域唯一 id="cover",尺寸600×800像素,3:4,不透明底板,浏览器原生截图为同尺寸PNG。文字不越界、不重叠、不截断。使用系统字体、内嵌CSS与装饰,不调用图片模型或外部API。署名显示 Andrej Karpathy / @karpathy,不添加发布账号。转述忠实于下方原文,不伪装成直接引语。

视觉要求

薰衣草近白背景配淡紫色圆弧,顶部白色大圆角卡片承载紫色图标、标题、摘要和小胶囊,下方较矮的圆角说明卡,左下来源与右下可选标签形成收尾。种子主卡左39px、上39px、宽522px、高301px,标题24px;这些像素、两行标题与胶囊数量是起点,按素材调整卡片和间距。保留柔和双卡层级与留白,说明可增减,转述不用引号冒充原话。

种子是排版起点,不是不可变的填槽表。保持本款风格与核心构图,按内容调整文字模块、数量、换行、字号、行距、间距和模块尺寸;代码中的像素值、行数及槽位数量均为起始值,不是硬内容预算。提炼一个清楚的中心主张,再选择支撑它的必要信息;不为填满空槽捏造事实、引语、标签、英文、账号、期号或步骤。无内容依据的可选模块及其分隔符一并移除,保留有意的留白,不用重复文案填空间。

纵向保留原种子的上下层级与有意留白,内容模块按本次文案适配。

本次平台完整HTML骨架(以下任务局部CSS已确定本次排版):

```html
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>封面</title><style>*{box-sizing:border-box}html,body{margin:0}body{font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}#cover{width:600px;height:800px;position:relative;overflow:hidden}h1,h2,p{margin:0}#cover{background:#f7f3fe;color:#343434}.wash{position:absolute;border-radius:50%;width:360px;height:360px;background:#eee8f7;right:-180px;top:-180px}.wash.bottom{left:-200px;top:670px;right:auto}.main{position:absolute;left:39px;top:39px;width:522px;height:301px;border-radius:23px;background:#ffffffed;padding:24px;box-shadow:0 10px 25px #63537907}.icon{width:48px;height:48px;border-radius:15px;background:#8d7adc;color:#fff;font-size:25px;display:flex;align-items:center;justify-content:center;margin-bottom:15px}h1{font-size:24px;line-height:1.32;font-weight:750;letter-spacing:-.45px}.summary{font-size:17px;line-height:1.48;color:#737373;margin-top:10px}.summary strong{color:#8b79df;font-weight:700}.tags{display:flex;gap:9px;position:absolute;left:24px;bottom:24px}.tags span{padding:7px 12px;background:#f2e4fd;color:#9078df;border-radius:18px;font-size:13px;font-weight:650}.note{position:absolute;left:39px;top:364px;width:522px;height:112px;border-radius:23px;background:#ffffffed;padding:25px;font-size:17px;line-height:1.55;color:#707070}.source{position:absolute;left:39px;top:685px;display:flex;align-items:center;gap:12px}.avatar{width:59px;height:59px;background:linear-gradient(135deg,#9786dc,#e9bbd6);border-radius:19px;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:700;color:white}.author{font-size:18px;font-weight:700}.caption{font-size:15px;color:#777;margin-top:5px}.foot{position:absolute;right:32px;bottom:30px;padding:8px 14px;border-radius:20px;background:#ffffffc9;font-size:13px;font-weight:650}</style><style>/* 本次平台的局部排版 */.main{height:372px;padding:28px}h1{font-size:36px;line-height:1.25}.summary{font-size:18px;line-height:1.6;margin-top:18px}.tags{left:28px;bottom:28px}.note{top:443px;height:133px;font-size:19px;padding:25px}.source{top:683px}.foot{font-size:13px}</style></head><body><main id="cover"><div class="wash"></div><div class="wash bottom"></div><section class="main"><div class="icon">▤</div><h1>{{title}}</h1><p class="summary">{{summary_before}}<strong>{{summary_emphasis}}</strong>{{summary_after}}</p><div class="tags"><span>{{tag1}}</span><span>{{tag2}}</span><span>{{tag3}}</span></div></section><section class="note">{{note}}</section><footer class="source"><div class="avatar">{{source_initial}}</div><div><div class="author">{{author}}</div><div class="caption">{{source_caption}}</div></div></footer><div class="foot">{{footer_tags}}</div></main></body></html>
```

内容与素材

中心主张:LLM 将原始资料整理为 wiki,并通过研究问答和输出回存持续积累知识。封面只呈现这一主张,不把全文塞进画面。
图片素材:无。

本次文案映射(br 表示语义换行):
title:让 LLM 管理<br>你的知识库
summary_before:把原始资料编成 
summary_emphasis:Markdown wiki
summary_after:,<br>由 LLM 持续整理、关联与维护。
tag1:整理资料
tag2:研究问答
tag3:结果回存
note:每次研究,都能沉淀下来。<br>把回答、幻灯片和图表存回 wiki,<br>成为下一次提问的材料。
source_initial:AK
author:Andrej Karpathy
source_caption:@karpathy
footer_tags:Obsidian × LLM

完整原文:
作者:Andrej Karpathy(@karpathy)
来源:https://x.com/karpathy/status/2039805659525644595

LLM Knowledge Bases

Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So:

Data ingest:
I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them.

IDE:
I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides).

Q&A:
Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale.

Output:
Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base.

Linting:
I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into.

Extra tools:
I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. 

Further explorations:
As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows.

TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
下载 HTML

公众号封面

按四块阅读输入
本图实际使用的 Prompt

角色与任务

你是中文封面编辑与排版设计师。根据本次完整原文制作一张微信公众号封面,输出完整HTML。

基本要求

输出独立完整HTML,导出区域唯一 id="cover",尺寸1050×450像素,21:9,不透明底板,浏览器原生截图为同尺寸PNG。文字不越界、不重叠、不截断。使用系统字体、内嵌CSS与装饰,不调用图片模型或外部API。署名显示 Andrej Karpathy / @karpathy,不添加发布账号。转述忠实于下方原文,不伪装成直接引语。

视觉要求

薰衣草近白背景配淡紫色圆弧,顶部白色大圆角卡片承载紫色图标、标题、摘要和小胶囊,下方较矮的圆角说明卡,左下来源与右下可选标签形成收尾。种子主卡左39px、上39px、宽522px、高301px,标题24px;这些像素、两行标题与胶囊数量是起点,按素材调整卡片和间距。保留柔和双卡层级与留白,说明可增减,转述不用引号冒充原话。

种子是排版起点,不是不可变的填槽表。保持本款风格与核心构图,按内容调整文字模块、数量、换行、字号、行距、间距和模块尺寸;代码中的像素值、行数及槽位数量均为起始值,不是硬内容预算。提炼一个清楚的中心主张,再选择支撑它的必要信息;不为填满空槽捏造事实、引语、标签、英文、账号、期号或步骤。无内容依据的可选模块及其分隔符一并移除,保留有意的留白,不用重复文案填空间。

横向独立重排;保持配色、装饰语言与标题层级,不对竖图做缩放、裁切或拉伸。 主卡在左,说明卡在右,来源置于左下。

本次平台完整HTML骨架(以下任务局部CSS已确定本次排版):

```html
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>封面</title><style>*{box-sizing:border-box}html,body{margin:0}body{font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}#cover{width:600px;height:800px;position:relative;overflow:hidden}h1,h2,p{margin:0}#cover{background:#f7f3fe;color:#343434}.wash{position:absolute;border-radius:50%;width:360px;height:360px;background:#eee8f7;right:-180px;top:-180px}.wash.bottom{left:-200px;top:670px;right:auto}.main{position:absolute;left:39px;top:39px;width:522px;height:301px;border-radius:23px;background:#ffffffed;padding:24px;box-shadow:0 10px 25px #63537907}.icon{width:48px;height:48px;border-radius:15px;background:#8d7adc;color:#fff;font-size:25px;display:flex;align-items:center;justify-content:center;margin-bottom:15px}h1{font-size:24px;line-height:1.32;font-weight:750;letter-spacing:-.45px}.summary{font-size:17px;line-height:1.48;color:#737373;margin-top:10px}.summary strong{color:#8b79df;font-weight:700}.tags{display:flex;gap:9px;position:absolute;left:24px;bottom:24px}.tags span{padding:7px 12px;background:#f2e4fd;color:#9078df;border-radius:18px;font-size:13px;font-weight:650}.note{position:absolute;left:39px;top:364px;width:522px;height:112px;border-radius:23px;background:#ffffffed;padding:25px;font-size:17px;line-height:1.55;color:#707070}.source{position:absolute;left:39px;top:685px;display:flex;align-items:center;gap:12px}.avatar{width:59px;height:59px;background:linear-gradient(135deg,#9786dc,#e9bbd6);border-radius:19px;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:700;color:white}.author{font-size:18px;font-weight:700}.caption{font-size:15px;color:#777;margin-top:5px}.foot{position:absolute;right:32px;bottom:30px;padding:8px 14px;border-radius:20px;background:#ffffffc9;font-size:13px;font-weight:650}</style><style>/* 本次平台的局部排版 */#cover{width:1050px;height:450px}.main{left:38px;top:32px;width:598px;height:319px;padding:26px}.icon{width:32px;height:32px;font-size:20px;border-radius:10px;margin-bottom:12px}h1{font-size:36px;line-height:1.22}.summary{font-size:18px;line-height:1.5;margin-top:16px}.tags{left:26px;bottom:22px}.tags span{font-size:13px;padding:6px 11px}.note{left:667px;top:95px;width:344px;height:234px;padding:30px;font-size:21px;line-height:1.75}.source{left:45px;top:374px;gap:10px}.avatar{width:40px;height:40px;font-size:20px;border-radius:12px}.author{font-size:17px}.caption{font-size:14px;margin-top:3px}.foot{right:39px;bottom:34px}.wash.bottom{top:270px}</style></head><body><main id="cover"><div class="wash"></div><div class="wash bottom"></div><section class="main"><div class="icon">▤</div><h1>{{title}}</h1><p class="summary">{{summary_before}}<strong>{{summary_emphasis}}</strong>{{summary_after}}</p><div class="tags"><span>{{tag1}}</span><span>{{tag2}}</span><span>{{tag3}}</span></div></section><section class="note">{{note}}</section><footer class="source"><div class="avatar">{{source_initial}}</div><div><div class="author">{{author}}</div><div class="caption">{{source_caption}}</div></div></footer><div class="foot">{{footer_tags}}</div></main></body></html>
```

内容与素材

中心主张:LLM 将原始资料整理为 wiki,并通过研究问答和输出回存持续积累知识。封面只呈现这一主张,不把全文塞进画面。
图片素材:无。

本次文案映射(br 表示语义换行):
title:让 LLM 管理<br>你的知识库
summary_before:把原始资料编成 
summary_emphasis:Markdown wiki
summary_after:,<br>由 LLM 持续整理、关联与维护。
tag1:整理资料
tag2:研究问答
tag3:结果回存
note:每次研究,<br>都能沉淀下来。<br>把输出存回 wiki,<br>供后续提问使用。
source_initial:AK
author:Andrej Karpathy
source_caption:@karpathy
footer_tags:Obsidian × LLM

完整原文:
作者:Andrej Karpathy(@karpathy)
来源:https://x.com/karpathy/status/2039805659525644595

LLM Knowledge Bases

Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So:

Data ingest:
I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them.

IDE:
I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides).

Q&A:
Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale.

Output:
Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base.

Linting:
I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into.

Extra tools:
I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. 

Further explorations:
As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows.

TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
下载 HTML
HTML文章封面柔和科技
控制
风格构图
场景
知识讲解宣传推广
交付物
封面头图
模型依赖
文本模型
目标平台
公众号小红书

模板说明

薰衣草浅底、圆角双卡与紫色图标,营造轻盈亲和的科技封面。

Prompt 模板

1 条
zh默认
## 执行方式

本 Prompt 依赖 skill html-imagegen(公开仓 https://github.com/lindong28/lindong-skills 的 html-imagegen/ 目录);模板页 https://prompts.aiplanet.live/image/soft-tech/ 。执行者若尚未安装,先 git clone 该仓库,把 html-imagegen/ 放到 Claude Code 的 ~/.claude/skills/ 或 Codex 的 ~/.agents/skills/,首次运行按其 SKILL.md 安装浏览器依赖。然后按该 skill 的流程执行:本节之外的内容是本次模板与输入,「内容与素材」里的占位符是尚未给出的输入——只向用户询问仍缺的信息(至少是要表达的内容与目标平台或画幅),补齐后生成 HTML 并导出 PNG。

## 角色与任务

你是中文封面编辑与排版设计师。依据本次内容素材提炼中心主张,沿用下方视觉种子制作一张封面,输出完整可渲染的HTML。

## 基本要求

输出独立完整 HTML,唯一导出区域 id="cover",画布600×800像素、3:4、直角外轮廓和不透明底板。通过浏览器原生截图导出600×800不透明PNG,不靠成图裁切、缩放或拉伸修复排版。内容忠实于本次输入,保留事实含义与来源归属;转述不冒充原话,缺失来源不虚构。内容作为文本或属性值时正确进行HTML转义。文字完整可读、不重叠、不越界,不以隐藏、截断或省略号遮盖溢出。CSS、装饰和必要脚本已内嵌;使用系统字体,不依赖仓库文件或外部脚本。

## 视觉要求

薰衣草近白背景配淡紫色圆弧,顶部白色大圆角卡片承载紫色图标、标题、摘要和小胶囊,下方较矮的圆角说明卡,左下来源与右下可选标签形成收尾。种子主卡左39px、上39px、宽522px、高301px,标题24px;这些像素、两行标题与胶囊数量是起点,按素材调整卡片和间距。保留柔和双卡层级与留白,说明可增减,转述不用引号冒充原话。

种子是排版起点,不是不可变的填槽表。保持本款风格与核心构图,按内容调整文字模块、数量、换行、字号、行距、间距和模块尺寸;代码中的像素值、行数及槽位数量均为起始值,不是硬内容预算。提炼一个清楚的中心主张,再选择支撑它的必要信息;不为填满空槽捏造事实、引语、标签、英文、账号、期号或步骤。无内容依据的可选模块及其分隔符一并移除,保留有意的留白,不用重复文案填空间。

下面是自包含的完整HTML种子,请依据以上原则适配内容后输出:

[HTML 种子未随本文复制:执行者按「执行方式」里的模板页地址读取模板 API,取 Prompt prompt:soft-tech-zh-v1-structured-v1 正文里的 HTML 代码块放回此处作为种子]

## 内容与素材

标题或主题:{{本次标题或主题}}
完整正文或素材:{{本次完整正文、要点或说明}}
读者与用途:{{目标读者及用途,可空}}
作者:{{真实作者,可空}}
作者账号:{{真实作者账号,可空}}
来源:{{真实来源名称或URL,可空}}
发布账号:{{本次发布账号,可空,与素材作者区分}}
图片素材:{{无需图片时填无;否则提供用户确认可使用的素材及说明}}
其他必须保留的内容:{{用户明确要求保留的文字或约束,可空}}
HTML 种子(skill 自动读取,也可展开复制)
视觉要求里的完整 HTML 种子
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>封面</title><style>*{box-sizing:border-box}html,body{margin:0}body{font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}#cover{width:600px;height:800px;position:relative;overflow:hidden}h1,h2,p{margin:0}#cover{background:#f7f3fe;color:#343434}.wash{position:absolute;border-radius:50%;width:360px;height:360px;background:#eee8f7;right:-180px;top:-180px}.wash.bottom{left:-200px;top:670px;right:auto}.main{position:absolute;left:39px;top:39px;width:522px;height:301px;border-radius:23px;background:#ffffffed;padding:24px;box-shadow:0 10px 25px #63537907}.icon{width:48px;height:48px;border-radius:15px;background:#8d7adc;color:#fff;font-size:25px;display:flex;align-items:center;justify-content:center;margin-bottom:15px}h1{font-size:24px;line-height:1.32;font-weight:750;letter-spacing:-.45px}.summary{font-size:17px;line-height:1.48;color:#737373;margin-top:10px}.summary strong{color:#8b79df;font-weight:700}.tags{display:flex;gap:9px;position:absolute;left:24px;bottom:24px}.tags span{padding:7px 12px;background:#f2e4fd;color:#9078df;border-radius:18px;font-size:13px;font-weight:650}.note{position:absolute;left:39px;top:364px;width:522px;height:112px;border-radius:23px;background:#ffffffed;padding:25px;font-size:17px;line-height:1.55;color:#707070}.source{position:absolute;left:39px;top:685px;display:flex;align-items:center;gap:12px}.avatar{width:59px;height:59px;background:linear-gradient(135deg,#9786dc,#e9bbd6);border-radius:19px;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:700;color:white}.author{font-size:18px;font-weight:700}.caption{font-size:15px;color:#777;margin-top:5px}.foot{position:absolute;right:32px;bottom:30px;padding:8px 14px;border-radius:20px;background:#ffffffc9;font-size:13px;font-weight:650}</style></head><body><main id="cover"><div class="wash"></div><div class="wash bottom"></div><section class="main"><div class="icon">▤</div><h1>{{title}}</h1><p class="summary">{{summary_before}}<strong>{{summary_emphasis}}</strong>{{summary_after}}</p><div class="tags"><span>{{tag1}}</span><span>{{tag2}}</span><span>{{tag3}}</span></div></section><section class="note">{{note}}</section><footer class="source"><div class="avatar">{{source_initial}}</div><div><div class="author">{{author}}</div><div class="caption">{{source_caption}}</div></div></footer><div class="foot">{{footer_tags}}</div></main></body></html>