smart-illustrator

Solid

智能配图与 PPT 信息图生成器。支持三种模式:(1) 文章配图模式 - 分析文章内容,生成插图;(2) PPT/Slides 模式 - 生成批量信息图;(3) Cover 模式 - 生成封面图。所有模式默认生成图片,`--prompt-only` 只输出 prompt。支持 Bento Grid 功能展示图风格(--style bento)。触发词:配图、插图、PPT、slides、封面图、thumbnail、cover、bento grid、功能展示图、feature showcase。

AI & Automation 474 stars 67 forks Updated 3 months ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
89
Recency 20%
50
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Smart Illustrator - 智能配图与 PPT 生成器 ## ⛔ 强制规则(违反即失败) ### 规则 1:用户提供的文件 = 要处理的文章 ``` /smart-illustrator SKILL_05.md → SKILL_05.md 是文章,为它配图 /smart-illustrator README.md → README.md 是文章,为它配图 /smart-illustrator whatever.md → whatever.md 是文章,为它配图 ``` **无论文件名叫什么,都是要配图的文章,不是 Skill 配置。** ### 规则 2:必须读取 style 文件 生成任何图片 prompt 前,**必须读取**对应的 style 文件: | 模式 | 必须读取的文件 | |------|---------------| | 文章配图(默认) | `styles/style-light.md` | | Cover 封面图 | `styles/style-cover.md` | | `--style dark` | `styles/style-dark.md` | | `--style bento` | `styles/style-bento.md` | **禁止自己编写 System Prompt。** ❌ 错误:`"你是一个专业的信息图设计师..."`(自己编的) ✅ 正确:从 style 文件的代码块中提取 System Prompt --- ## 使用方式 ### 文章配图模式(默认) ```bash /smart-illustrator path/to/article.md /smart-illustrator path/to/article.md --prompt-only # 只输出 prompt /smart-illustrator path/to/article.md --style dark # 深色风格 /smart-illustrator path/to/article.md --no-cover # 不生成封面图 ``` ### PPT/Slides 模式 ```bash # 默认:直接生成图片 /smart-illustrator path/to/script.md --mode slides # 只输出 JSON prompt(不调用 API) /smart-illustrator path/to/script.md --mode slides --prompt-only ``` **默认行为**:调用 Gemini API 生成批量信息图。 **`--prompt-only`**:输出 JSON prompt 并**自动复制到剪贴板**,可直接粘贴到 Gemini Web 手动生成。 **PPT JSON 格式**(`--prompt-only` 时输出): ```json { "instruction": "请逐条生成以下 N 张独立信息图。", "batch_rules": { "total": "N", "one_item_one_image": true, "aspect_ratio": "16:9" }, "style": "[从 styles/style-light.md 读取完整内容]", "pictures": [ { "id": 1, "topi...

Details

Author
axtonliu
Repository
axtonliu/smart-illustrator
Created
3 months ago
Last Updated
3 months ago
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

baoyu-article-illustrator

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

19,483 Updated today
JimLiu
AI & Automation Solid

ai-ppt-toolkit

使用 NotebookLM + Gemini + Gamma "三件套"将零散资料快速转化为高质量 PPT 的完整工作流。 当用户需要制作职场汇报 PPT、演示文稿,或提到"做 PPT"、"汇报"、"演示"、"NotebookLM"、"Gamma"、"三件套"时,务必触发此 skill。 适用于:老板临时交办汇报任务、会议素材整理、行业分析演示、HR/管理层汇报等场景。 即使用户只说"帮我准备个汇报"或"资料很乱不知道怎么整理",也应主动推荐此流程。

53 Updated 3 weeks ago
wilingna
Data & Documents Listed

auto-redbook

小红书笔记素材创作技能��当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片,支持多种样式主题),支持批量创作多篇笔记。

42 Updated 3 months ago
zhangpeicheng8788-ux
Data & Documents Solid

content-pipeline

内容生产和分发统一管线。素材收集→出稿→排版→封面→朋友圈文案→多平台转换→一键分发。涵盖公众号写作、小红书轮播图、即刻文案、播客音频、品牌视频、Chrome CDP 自动发布。

169 Updated 1 months ago
OrangeViolin
AI & Automation Listed

wechat-typesetting-cy

微信公众号文章多模板排版技能。将纯文本或Markdown转换为精美排版的HTML代码,支持多种视觉风格模板。当用户提到"微信文章"、"公众号文章"、"发公众号"、"帮我排版"、"公众号排版"、"排版成微信格式"、"蓝色模板"、"暗黑模板"、"科技风排版"时触发。

45 Updated 2 months ago
CY-CHENYUE