tuzi-article-illustrator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Article Illustrator

文章插图生成器

Analyze articles, identify illustration positions, generate images with Type × Style consistency.
分析文章内容,识别需要插入插图的位置,按照「类型×风格」统一的标准生成图片。

Two Dimensions

两个维度

DimensionControlsExamples
TypeInformation structureinfographic, scene, flowchart, comparison, framework, timeline
StyleVisual aestheticsnotion, warm, minimal, blueprint, watercolor, elegant
Combine freely:
--type infographic --style blueprint
维度控制项示例
类型(Type)信息结构infographic, scene, flowchart, comparison, framework, timeline
风格(Style)视觉美学notion, warm, minimal, blueprint, watercolor, elegant
可自由组合:
--type infographic --style blueprint

Types

类型说明

TypeBest For
infographic
Data, metrics, technical
scene
Narratives, emotional
flowchart
Processes, workflows
comparison
Side-by-side, options
framework
Models, architecture
timeline
History, evolution
类型适用场景
infographic
数据、指标、技术类内容
scene
叙事、情感向内容
flowchart
流程、工作流说明
comparison
并列对比、选项对比
framework
模型、架构说明
timeline
历史、演进过程展示

Styles

风格说明

See references/styles.md for Core Styles, full gallery, and Type × Style compatibility.
查看 references/styles.md 获取核心风格、完整图库以及「类型×风格」兼容性说明。

Workflow

工作流程

- [ ] 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:前置检查 (EXTEND.md, 参考文件, 配置)
- [ ] 步骤2:内容分析
- [ ] 步骤3:确认配置 (AskUserQuestion)
- [ ] 步骤4:生成大纲
- [ ] 步骤5:生成图片
- [ ] 步骤6:收尾交付

Step 1: Pre-check

步骤1:前置检查

1.5 Load Preferences (EXTEND.md) ⛔ BLOCKING
bash
test -f .tuzi-skills/tuzi-article-illustrator/EXTEND.md && echo "project"
test -f "$HOME/.tuzi-skills/tuzi-article-illustrator/EXTEND.md" && echo "user"
ResultAction
FoundRead, parse, display summary
Not found⛔ Run first-time-setup
Full procedures: references/workflow.md
1.5 加载偏好配置 (EXTEND.md) ⛔ 阻塞项
bash
test -f .tuzi-skills/tuzi-article-illustrator/EXTEND.md && echo "project"
test -f "$HOME/.tuzi-skills/tuzi-article-illustrator/EXTEND.md" && echo "user"
结果操作
找到配置文件读取、解析、展示配置摘要
未找到配置文件⛔ 运行 first-time-setup
完整流程:references/workflow.md

Step 2: Analyze

步骤2:内容分析

AnalysisOutput
Content typeTechnical / Tutorial / Methodology / Narrative
Purposeinformation / visualization / imagination
Core arguments2-5 main points
PositionsWhere illustrations add value
CRITICAL: Metaphors → visualize underlying concept, NOT literal image.
Full procedures: references/workflow.md
分析项输出内容
内容类型技术 / 教程 / 方法论 / 叙事
用途信息传递 / 可视化展示 / 创意想象
核心论点2-5个核心要点
插入位置插图可提升内容价值的位置
关键注意事项:隐喻类内容需要可视化其底层概念,不要生成字面含义的图片。
完整流程:references/workflow.md

Step 3: Confirm Settings ⚠️

步骤3:确认配置 ⚠️

ONE AskUserQuestion, max 4 Qs. Q1-Q3 REQUIRED.
QOptions
Q1: Type[Recommended], infographic, scene, flowchart, comparison, framework, timeline, mixed
Q2: Densityminimal (1-2), balanced (3-5), per-section (Recommended), rich (6+)
Q3: Style[Recommended], minimal-flat, sci-fi, hand-drawn, editorial, scene, Other
Q4: LanguageWhen article language ≠ EXTEND.md setting
Full procedures: references/workflow.md
仅发起一次AskUserQuestion,最多4个问题,问题1-3为必填项。
问题可选值
Q1: 类型[推荐值], infographic, scene, flowchart, comparison, framework, timeline, mixed
Q2: 密度极简(1-2张), 均衡(3-5张), 按章节生成(推荐), 丰富(6张以上)
Q3: 风格[推荐值], minimal-flat, sci-fi, hand-drawn, editorial, scene, 其他
Q4: 语言当文章语言与EXTEND.md配置不一致时询问
完整流程:references/workflow.md

Step 4: Generate Outline

步骤4:生成大纲

Save
outline.md
with frontmatter (type, density, style, image_count) and entries:
yaml
undefined
保存
outline.md
,包含frontmatter(类型、密度、风格、图片数量)和如下条目:
yaml
undefined

Illustration 1

插图1

Position: [section/paragraph] Purpose: [why] Visual Content: [what] Filename: 01-infographic-concept-name.png

Full template: [references/workflow.md](references/workflow.md#step-4-generate-outline)
位置: [章节/段落] 用途: [配图目的] 视觉内容: [展示内容] 文件名: 01-infographic-concept-name.png

完整模板:[references/workflow.md](references/workflow.md#step-4-generate-outline)

Step 5: Generate Images

步骤5:生成图片

BLOCKING: Prompt files MUST be saved before ANY image generation.
  1. For each illustration, create a prompt file per references/prompt-construction.md
  2. Save to
    prompts/NN-{type}-{slug}.md
    with YAML frontmatter
  3. Prompts MUST use type-specific templates with structured sections (ZONES / LABELS / COLORS / STYLE / ASPECT)
  4. LABELS MUST include article-specific data: actual numbers, terms, metrics, quotes
  5. DO NOT pass ad-hoc inline prompts to
    --prompt
    without saving prompt files first
  6. Select generation skill, process references (
    direct
    /
    style
    /
    palette
    )
  7. Apply watermark if EXTEND.md enabled
  8. Generate from saved prompt files; retry once on failure
Full procedures: references/workflow.md
阻塞要求:生成任何图片前必须先保存提示词文件。
  1. 针对每张插图,按照references/prompt-construction.md要求创建提示词文件
  2. 保存到
    prompts/NN-{type}-{slug}.md
    ,包含YAML frontmatter
  3. 提示词必须使用对应类型的模板,包含结构化板块(ZONES / LABELS / COLORS / STYLE / ASPECT)
  4. 标签必须包含文章专属数据:真实数值、术语、指标、引用内容
  5. 禁止在未保存提示词文件的情况下直接向
    --prompt
    传递临时内联提示词
  6. 选择生成工具,处理参考素材(
    direct
    /
    style
    /
    palette
  7. 如果EXTEND.md中开启了水印则添加水印
  8. 基于已保存的提示词文件生成图片,生成失败可重试一次
完整流程:references/workflow.md

Step 6: Finalize

步骤6:收尾交付

Insert
![description](path/NN-{type}-{slug}.png)
after paragraphs.
Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style]
Images: X/N generated
在对应段落下方插入
![description](path/NN-{type}-{slug}.png)
文章插图生成完成!
文章路径: [path] | 类型: [type] | 密度: [level] | 风格: [style]
已生成图片: X/N 张

Output Directory

输出目录

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
.
illustrations/{topic-slug}/
├── source-{slug}.{ext}
├── references/           # 若提供参考文件则存在
├── outline.md
├── prompts/
└── NN-{type}-{slug}.png
Slug:2-4个单词,kebab-case格式。命名冲突:追加
-YYYYMMDD-HHMMSS
后缀。

Modification

修改规则

ActionSteps
EditUpdate prompt → Regenerate → Update reference
AddPosition → Prompt → Generate → Update outline → Insert
DeleteDelete files → Remove reference → Update outline
操作步骤
编辑更新提示词 → 重新生成 → 更新引用
新增确认插入位置 → 编写提示词 → 生成 → 更新大纲 → 插入
删除删除对应文件 → 移除引用 → 更新大纲

References

参考文件

FileContent
references/workflow.mdDetailed procedures
references/usage.mdCommand syntax
references/styles.mdStyle gallery
references/prompt-construction.mdPrompt templates
references/config/first-time-setup.mdFirst-time setup
文件内容
references/workflow.md详细流程说明
references/usage.md命令语法
references/styles.md风格图库
references/prompt-construction.md提示词模板
references/config/first-time-setup.md首次配置指引