baoyu-article-illustrator by xy121718/baoyu-skills
npx skills add https://github.com/xy121718/baoyu-skills --skill baoyu-article-illustrator分析文章,识别插图位置,生成具有类型 × 风格一致性的图像。
| 维度 | 控制内容 | 示例 |
|---|---|---|
| 类型 | 信息结构 | 信息图、场景、流程图、对比图、框架图、时间线 |
| 风格 | 视觉美学 | notion风格、温暖、极简、蓝图、水彩、优雅 |
自由组合:--type infographic --style blueprint
| 类型 | 最适合 |
|---|---|
infographic | 数据、指标、技术性内容 |
scene |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 叙述性、情感性内容 |
flowchart | 流程、工作流 |
comparison | 并列对比、选项对比 |
framework | 模型、架构 |
timeline | 历史、演变过程 |
关于核心风格、完整图库以及类型 × 风格兼容性,请参阅 references/styles.md。
- [ ] 步骤 1: 预检查 (EXTEND.md, 参考资料, 配置)
- [ ] 步骤 2: 分析内容
- [ ] 步骤 3: 确认设置 (AskUserQuestion)
- [ ] 步骤 4: 生成大纲
- [ ] 步骤 5: 生成图像
- [ ] 步骤 6: 最终完成
1.5 加载偏好设置 (EXTEND.md) ⛔ 阻塞步骤
test -f .baoyu-skills/baoyu-article-illustrator/EXTEND.md && echo "project"
test -f "$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md" && echo "user"
| 结果 | 操作 |
|---|---|
| 找到 | 读取、解析、显示摘要 |
| 未找到 | ⛔ 运行 first-time-setup |
| 分析项 | 输出 |
|---|---|
| 内容类型 | 技术性 / 教程 / 方法论 / 叙述性 |
| 目的 | 信息传达 / 可视化 / 想象激发 |
| 核心论点 | 2-5 个要点 |
| 插图位置 | 插图能增加价值的地方 |
关键:隐喻 → 可视化底层概念,而非字面图像。
一次 AskUserQuestion,最多 4 个问题。Q1-Q3 为必填项。
| 问题 | 选项 |
|---|---|
| Q1: 类型 | [推荐], infographic, scene, flowchart, comparison, framework, timeline, mixed |
| Q2: 密度 | minimal (1-2), balanced (3-5), per-section (推荐), rich (6+) |
| Q3: 风格 | [推荐], minimal-flat, sci-fi, hand-drawn, editorial, scene, 其他 |
| Q4: 语言 | 当文章语言与 EXTEND.md 设置不同时 |
保存 outline.md,包含前置元数据(类型、密度、风格、image_count)和条目:
## 插图 1
**位置**: [章节/段落]
**目的**: [原因]
**视觉内容**: [内容]
**文件名**: 01-infographic-concept-name.png
⛔ 阻塞步骤:在生成任何图像之前,提示文件必须已保存。
prompts/NN-{type}-{slug}.md,包含 YAML 前置元数据--promptdirect/style/palette)在段落后插入 。
文章插图生成完成!
文章: [路径] | 类型: [类型] | 密度: [级别] | 风格: [风格]
图像: 已生成 X/N 张
illustrations/{topic-slug}/
├── source-{slug}.{ext}
├── references/ # 如果提供
├── outline.md
├── prompts/
└── NN-{type}-{slug}.png
Slug : 2-4 个单词,kebab-case 格式。冲突处理:追加 -YYYYMMDD-HHMMSS。
| 操作 | 步骤 |
|---|---|
| 编辑 | 更新提示 → 重新生成 → 更新引用 |
| 添加 | 确定位置 → 创建提示 → 生成 → 更新大纲 → 插入 |
| 删除 | 删除文件 → 移除引用 → 更新大纲 |
每周安装量
84
代码仓库
GitHub 星标数
61
首次出现
2026年3月2日
安全审计
安装于
cursor84
gemini-cli84
github-copilot84
codex84
amp84
cline84
Analyze articles, identify illustration positions, generate images with Type × Style consistency.
| Dimension | Controls | Examples |
|---|---|---|
| Type | Information structure | infographic, scene, flowchart, comparison, framework, timeline |
| Style | Visual aesthetics | notion, warm, minimal, blueprint, watercolor, elegant |
Combine freely: --type infographic --style blueprint
| Type | Best For |
|---|---|
infographic | Data, metrics, technical |
scene | Narratives, emotional |
flowchart | Processes, workflows |
comparison | Side-by-side, options |
framework | Models, architecture |
timeline | History, evolution |
See references/styles.md for Core Styles, full gallery, and Type × Style compatibility.
- [ ] Step 1: Pre-check (EXTEND.md, references, config)
- [ ] Step 2: Analyze content
- [ ] Step 3: Confirm settings (AskUserQuestion)
- [ ] Step 4: Generate outline
- [ ] Step 5: Generate images
- [ ] Step 6: Finalize
1.5 Load Preferences (EXTEND.md) ⛔ BLOCKING
test -f .baoyu-skills/baoyu-article-illustrator/EXTEND.md && echo "project"
test -f "$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md" && echo "user"
| Result | Action |
|---|---|
| Found | Read, parse, display summary |
| Not found | ⛔ Run first-time-setup |
Full procedures: references/workflow.md
| Analysis | Output |
|---|---|
| Content type | Technical / Tutorial / Methodology / Narrative |
| Purpose | information / visualization / imagination |
| Core arguments | 2-5 main points |
| Positions | Where illustrations add value |
CRITICAL : Metaphors → visualize underlying concept, NOT literal image.
Full procedures: references/workflow.md
ONE AskUserQuestion, max 4 Qs. Q1-Q3 REQUIRED.
| Q | Options |
|---|---|
| Q1: Type | [Recommended], infographic, scene, flowchart, comparison, framework, timeline, mixed |
| Q2: Density | minimal (1-2), balanced (3-5), per-section (Recommended), rich (6+) |
| Q3: Style | [Recommended], minimal-flat, sci-fi, hand-drawn, editorial, scene, Other |
| Q4: Language | When article language ≠ EXTEND.md setting |
Full procedures: references/workflow.md
Save outline.md with frontmatter (type, density, style, image_count) and entries:
## Illustration 1
**Position**: [section/paragraph]
**Purpose**: [why]
**Visual Content**: [what]
**Filename**: 01-infographic-concept-name.png
Full template: references/workflow.md
⛔ BLOCKING: Prompt files MUST be saved before ANY image generation.
prompts/NN-{type}-{slug}.md with YAML frontmatter--prompt without saving prompt files firstdirect/style/palette)Full procedures: references/workflow.md
Insert  after paragraphs.
Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style]
Images: X/N generated
illustrations/{topic-slug}/
├── source-{slug}.{ext}
├── references/ # if provided
├── outline.md
├── prompts/
└── NN-{type}-{slug}.png
Slug : 2-4 words, kebab-case. Conflict : append -YYYYMMDD-HHMMSS.
| Action | Steps |
|---|---|
| Edit | Update prompt → Regenerate → Update reference |
| Add | Position → Prompt → Generate → Update outline → Insert |
| Delete | Delete files → Remove reference → Update outline |
| File | Content |
|---|---|
| references/workflow.md | Detailed procedures |
| references/usage.md | Command syntax |
| references/styles.md | Style gallery |
| references/prompt-construction.md | Prompt templates |
| references/config/first-time-setup.md | First-time setup |
Weekly Installs
84
Repository
GitHub Stars
61
First Seen
Mar 2, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
cursor84
gemini-cli84
github-copilot84
codex84
amp84
cline84
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
49,800 周安装
Playwriter:AI代理浏览器自动化工具,连接真实Chrome会话,保留登录状态
464 周安装
OpenAI API 完整指南:GPT-5、GPT-4o、DALL-E 3、Whisper 集成与Node.js/JavaScript开发
465 周安装
Rust嵌入式开发指南:no_std、中断安全与硬件所有权最佳实践
467 周安装
LinkedIn帖子撰写指南:创作真实互动内容,建立个人品牌与思想领导力
475 周安装
Google Gemini API 完整指南:最新SDK迁移、模型对比与实战教程(2025版)
467 周安装
agent-browser 浏览器自动化工具:命令行网页操作与测试指南
479 周安装