tuzi-infographic
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInfographic Generator
信息图生成器
Two dimensions: layout (information structure) × style (visual aesthetics). Freely combine any layout with any style.
两大维度:布局(信息结构)× 风格(视觉美学),支持任意布局与风格自由组合。
Usage
使用方法
bash
/tuzi-infographic path/to/content.md
/tuzi-infographic path/to/content.md --layout hierarchical-layers --style technical-schematic
/tuzi-infographic path/to/content.md --aspect portrait --lang zh
/tuzi-infographic # then paste contentbash
/tuzi-infographic path/to/content.md
/tuzi-infographic path/to/content.md --layout hierarchical-layers --style technical-schematic
/tuzi-infographic path/to/content.md --aspect portrait --lang zh
/tuzi-infographic # 随后粘贴内容Options
可选参数
| Option | Values |
|---|---|
| 21 options (see Layout Gallery), default: bento-grid |
| 20 options (see Style Gallery), default: craft-handmade |
| landscape (16:9), portrait (9:16), square (1:1) |
| en, zh, ja, etc. |
| 参数 | 可选值 |
|---|---|
| 21种可选(见布局一览),默认:bento-grid |
| 20种可选(见风格一览),默认:craft-handmade |
| landscape(16:9)、portrait(9:16)、square(1:1) |
| en、zh、ja等 |
Layout Gallery
布局一览
| Layout | Best For |
|---|---|
| Timelines, processes, tutorials |
| A vs B, before-after, pros-cons |
| Multi-factor comparisons |
| Pyramids, priority levels |
| Categories, taxonomies |
| Central concept with related items |
| Exploded views, cross-sections |
| Multiple topics, overview (default) |
| Surface vs hidden aspects |
| Problem-solution |
| Conversion, filtering |
| Spatial relationships |
| Metrics, KPIs |
| Categorized collections |
| Narratives, sequences |
| Plot structure, tension arcs |
| Interconnected parts |
| Overlapping concepts |
| Journey, milestones |
| Cycles, recurring processes |
| High-density modules, data-rich guides |
Full definitions:
references/layouts/<layout>.md| 布局标识 | 适用场景 |
|---|---|
| 时间线、流程、教程 |
| A/B对比、前后对比、优缺点对比 |
| 多维度对比 |
| 金字塔结构、优先级分层 |
| 分类、类目体系 |
| 核心概念及关联内容 |
| 分解图、剖面图 |
| 多主题内容概览(默认) |
| 表层与隐藏要素对比 |
| 问题-解决方案类内容 |
| 转化、筛选类内容 |
| 空间关系展示 |
| 指标、KPI展示 |
| 分类集合展示 |
| 叙事、序列类内容 |
| 情节结构、张力曲线 |
| 互相关联的组成部分 |
| 概念重叠关系展示 |
| 历程、里程碑展示 |
| 循环、重复流程 |
| 高密度模块、数据丰富的指南 |
完整定义见:
references/layouts/<layout>.mdStyle Gallery
风格一览
| Style | Description |
|---|---|
| Hand-drawn, paper craft (default) |
| 3D clay figures, stop-motion |
| Japanese cute, pastels |
| Soft painted, whimsical |
| Chalk on black board |
| Neon glow, futuristic |
| Comic style, halftone |
| Vintage science, sepia |
| Flat vector, vibrant |
| Blueprint, engineering |
| Folded paper, geometric |
| Retro 8-bit |
| Grayscale interface mockup |
| Transit diagram |
| Minimal line art |
| Organized flat-lay |
| Toy brick construction |
| Blueprint grid, coordinate markers, lab precision |
| Hand-drawn doodle, warm Morandi tones |
| 1970s retro pop art, Swiss grid, thick outlines |
Full definitions:
references/styles/<style>.md| 风格标识 | 描述 |
|---|---|
| 手绘、纸艺风格(默认) |
| 3D黏土形象、定格动画风格 |
| 日式可爱风、马卡龙配色 |
| 软水彩、奇趣风格 |
| 黑板粉笔风格 |
| 霓虹发光、赛博朋克 futuristic 风格 |
| 漫画风、半色调效果 |
| 复古科学风、棕褐色调 |
| 扁平矢量、活力配色 |
| 蓝图、工程制图风格 |
| 折纸、几何风格 |
| 复古8位像素风格 |
| 灰度界面线框图风格 |
| 地铁线路图风格 |
| 极简线条风 |
| 规整平铺风格 |
| 乐高积木搭建风格 |
| 蓝图网格、坐标标记、实验室精密风格 |
| 手绘涂鸦、莫兰迪暖色调 |
| 70年代复古波普艺术、瑞士网格、粗描边 |
完整定义见:
references/styles/<style>.mdRecommended Combinations
推荐组合
| Content Type | Layout + Style |
|---|---|
| Timeline/History | |
| Step-by-step | |
| A vs B | |
| Hierarchy | |
| Overlap | |
| Conversion | |
| Cycles | |
| Technical | |
| Metrics | |
| Educational | |
| Journey | |
| Categories | |
| Product Guide | |
| Technical Guide | |
| Trendy Guide | |
Default: +
bento-gridcraft-handmade| 内容类型 | 布局+风格组合 |
|---|---|
| 时间线/历史内容 | |
| 分步教程 | |
| A/B对比 | |
| 层级结构 | |
| 重叠关系 | |
| 转化流程 | |
| 循环流程 | |
| 技术内容 | |
| 指标数据 | |
| 教育内容 | |
| 历程内容 | |
| 分类内容 | |
| 产品指南 | |
| 技术指南 | |
| 潮流指南 | |
默认组合: +
bento-gridcraft-handmadeKeyword Shortcuts
关键词快捷规则
When user input contains these keywords, auto-select the associated layout and offer associated styles as top recommendations in Step 3. Skip content-based layout inference for matched keywords.
If a shortcut has Prompt Notes, append them to the generated prompt (Step 5) as additional style instructions.
| User Keyword | Layout | Recommended Styles | Default Aspect | Prompt Notes |
|---|---|---|---|---|
| 高密度信息大图 / high-density-info | | | portrait | — |
| 信息图 / infographic | | | landscape | Minimalist: clean canvas, ample whitespace, no complex background textures. Simple cartoon elements and icons only. |
当用户输入包含以下关键词时,自动选中对应的布局,并在第三步优先推荐关联风格,匹配到关键词时跳过基于内容的布局推断。
如果快捷规则配有提示说明,请将其追加到生成的prompt中(第五步)作为额外的风格指令。
| 用户关键词 | 布局 | 推荐风格 | 默认比例 | 提示说明 |
|---|---|---|---|---|
| 高密度信息大图 / high-density-info | | | 竖版 | — |
| 信息图 / infographic | | | 横版 | 极简要求:画布干净、留白充足、无复杂背景纹理,仅使用简单卡通元素和图标。 |
Output Structure
输出结构
infographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.pngSlug: 2-4 words kebab-case from topic. Conflict: append .
-YYYYMMDD-HHMMSSinfographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.pngSlug规则:从主题提取2-4个单词的kebab-case格式命名,重名时追加后缀。
-YYYYMMDD-HHMMSSCore Principles
核心原则
- Preserve all source data verbatim—no summarization or rephrasing
- Define learning objectives before structuring content
- Structure for visual communication (headlines, labels, visual elements)
- 逐字保留所有源数据,不得做摘要或改写
- 结构化内容前先明确学习目标
- 适配视觉传播的结构设计(标题、标签、视觉元素)
Workflow
工作流程
Step 1: Setup & Analyze
步骤1:配置与内容分析
1.1 Load Preferences (EXTEND.md)
Use Bash to check EXTEND.md existence (priority order):
bash
undefined1.1 加载偏好配置(EXTEND.md)
使用Bash检查EXTEND.md文件是否存在(优先级顺序如下):
bash
undefinedCheck project-level first
优先检查项目级配置
test -f .tuzi-skills/tuzi-infographic/EXTEND.md && echo "project"
test -f .tuzi-skills/tuzi-infographic/EXTEND.md && echo "project"
Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
再检查用户级配置(跨平台:$HOME适配macOS/Linux/WSL)
test -f "$HOME/.tuzi-skills/tuzi-infographic/EXTEND.md" && echo "user"
┌────────────────────────────────────────────────────┬───────────────────┐
│ Path │ Location │
├────────────────────────────────────────────────────┼───────────────────┤
│ .tuzi-skills/tuzi-infographic/EXTEND.md │ Project directory │
├────────────────────────────────────────────────────┼───────────────────┤
│ $HOME/.tuzi-skills/tuzi-infographic/EXTEND.md │ User home │
└────────────────────────────────────────────────────┴───────────────────┘
┌───────────┬───────────────────────────────────────────────────────────────────────────┐
│ Result │ Action │
├───────────┼───────────────────────────────────────────────────────────────────────────┤
│ Found │ Read, parse, display summary │
├───────────┼───────────────────────────────────────────────────────────────────────────┤
│ Not found │ Ask user with AskUserQuestion (see references/config/first-time-setup.md) │
└───────────┴───────────────────────────────────────────────────────────────────────────┘
**EXTEND.md Supports**: Preferred layout/style | Default aspect ratio | Custom style definitions | Language preference
Schema: `references/config/preferences-schema.md`
**1.2 Analyze Content → `analysis.md`**
1. Save source content (file path or paste → `source.md`)
- **Backup rule**: If `source.md` exists, rename to `source-backup-YYYYMMDD-HHMMSS.md`
2. Analyze: topic, data type, complexity, tone, audience
3. Detect source language and user language
4. Extract design instructions from user input
5. Save analysis
- **Backup rule**: If `analysis.md` exists, rename to `analysis-backup-YYYYMMDD-HHMMSS.md`
See `references/analysis-framework.md` for detailed format.test -f "$HOME/.tuzi-skills/tuzi-infographic/EXTEND.md" && echo "user"
┌────────────────────────────────────────────────────┬───────────────────┐
│ 路径 │ 存储位置 │
├────────────────────────────────────────────────────┼───────────────────┤
│ .tuzi-skills/tuzi-infographic/EXTEND.md │ 项目目录 │
├────────────────────────────────────────────────────┼───────────────────┤
│ $HOME/.tuzi-skills/tuzi-infographic/EXTEND.md │ 用户主目录 │
└────────────────────────────────────────────────────┴───────────────────┘
┌───────────┬───────────────────────────────────────────────────────────────────────────┐
│ 检查结果 │ 执行动作 │
├───────────┼───────────────────────────────────────────────────────────────────────────┤
│ 找到配置文件 | 读取、解析配置并展示摘要 │
├───────────┼───────────────────────────────────────────────────────────────────────────┤
│ 未找到配置 | 通过AskUserQuestion询问用户(见references/config/first-time-setup.md) │
└───────────┴───────────────────────────────────────────────────────────────────────────
**EXTEND.md支持配置项**:偏好布局/风格、默认比例、自定义风格定义、语言偏好
配置Schema见:`references/config/preferences-schema.md`
**1.2 分析内容 → 写入`analysis.md`**
1. 保存源内容(文件路径或粘贴内容 → 存入`source.md`)
- **备份规则**:如果`source.md`已存在,重命名为`source-backup-YYYYMMDD-HHMMSS.md`
2. 分析内容:主题、数据类型、复杂度、调性、受众
3. 检测源语言和用户使用语言
4. 提取用户输入中的设计指令
5. 保存分析结果
- **备份规则**:如果`analysis.md`已存在,重命名为`analysis-backup-YYYYMMDD-HHMMSS.md`
详细格式见`references/analysis-framework.md`Step 2: Generate Structured Content → structured-content.md
structured-content.md步骤2:生成结构化内容 → 写入structured-content.md
structured-content.mdTransform content into infographic structure:
- Title and learning objectives
- Sections with: key concept, content (verbatim), visual element, text labels
- Data points (all statistics/quotes copied exactly)
- Design instructions from user
Rules: Markdown only. No new information. All data verbatim.
See for detailed format.
references/structured-content-template.md将内容转换为信息图适配的结构:
- 标题与学习目标
- 章节内容:核心概念、原文内容、视觉元素、文本标签
- 数据点(所有统计数据/引用完全原样复制)
- 用户提供的设计指令
规则:仅使用Markdown格式,不得新增信息,所有数据完全原样保留。
详细格式见
references/structured-content-template.mdStep 3: Recommend Combinations
步骤3:推荐组合方案
3.1 Check Keyword Shortcuts first: If user input matches a keyword from the Keyword Shortcuts table, auto-select the associated layout and prioritize associated styles as top recommendations. Skip content-based layout inference.
3.2 Otherwise, recommend 3-5 layout×style combinations based on:
- Data structure → matching layout
- Content tone → matching style
- Audience expectations
- User design instructions
3.1 优先检查关键词快捷规则:如果用户输入匹配关键词快捷规则表中的关键词,自动选中对应布局,优先推荐关联风格,跳过基于内容的布局推断。
3.2 无匹配关键词时,基于以下维度推荐3-5种布局×风格组合:
- 数据结构 → 匹配对应布局
- 内容调性 → 匹配对应风格
- 受众预期
- 用户设计指令
Step 4: Confirm Options
步骤4:确认配置选项
Use single AskUserQuestion call with multiple questions to confirm all options together:
| Question | When | Options |
|---|---|---|
| Combination | Always | 3+ layout×style combos with rationale |
| Aspect | Always | landscape (16:9), portrait (9:16), square (1:1) |
| Language | Only if source ≠ user language | Language for text content |
Important: Do NOT split into separate AskUserQuestion calls. Combine all applicable questions into one call.
通过单次AskUserQuestion调用整合所有问题一次性确认所有选项:
| 确认项 | 展示时机 | 可选值 |
|---|---|---|
| 组合方案 | 始终展示 | 3种以上带合理性说明的布局×风格组合 |
| 比例 | 始终展示 | landscape(16:9)、portrait(9:16)、square(1:1) |
| 语言 | 仅源语言≠用户语言时展示 | 文本内容使用的语言 |
重要提示:不要拆分多次调用AskUserQuestion,将所有适用的问题整合到单次调用中。
Step 5: Generate Prompt → prompts/infographic.md
prompts/infographic.md步骤5:生成Prompt → 写入prompts/infographic.md
prompts/infographic.mdBackup rule: If exists, rename to
prompts/infographic.mdprompts/infographic-backup-YYYYMMDD-HHMMSS.mdCombine:
- Layout definition from
references/layouts/<layout>.md - Style definition from
references/styles/<style>.md - Base template from
references/base-prompt.md - Structured content from Step 2
- All text in confirmed language
备份规则:如果已存在,重命名为
prompts/infographic.mdprompts/infographic-backup-YYYYMMDD-HHMMSS.md整合以下内容生成Prompt:
- 中的布局定义
references/layouts/<layout>.md - 中的风格定义
references/styles/<style>.md - 中的基础模板
references/base-prompt.md - 步骤2生成的结构化内容
- 所有文本使用确认后的语言
Step 6: Generate Image
步骤6:生成图片
- Select available image generation skill (ask user if multiple)
- Check for existing file: Before generating, check if exists
infographic.png- If exists: Rename to
infographic-backup-YYYYMMDD-HHMMSS.png
- If exists: Rename to
- Call with prompt file and output path
- On failure, auto-retry once
- 选择可用的图片生成工具(多个可用时询问用户)
- 检查文件是否存在:生成前先检查是否存在
infographic.png- 已存在:重命名为
infographic-backup-YYYYMMDD-HHMMSS.png
- 已存在:重命名为
- 传入Prompt文件和输出路径调用生成工具
- 生成失败时自动重试一次
Step 7: Output Summary
步骤7:输出结果摘要
Report: topic, layout, style, aspect, language, output path, files created.
报告内容:主题、布局、风格、比例、语言、输出路径、生成的文件列表。
References
参考文档
- - Analysis methodology
references/analysis-framework.md - - Content format
references/structured-content-template.md - - Prompt template
references/base-prompt.md - - 21 layout definitions
references/layouts/<layout>.md - - 20 style definitions
references/styles/<style>.md
- - 分析方法论
references/analysis-framework.md - - 内容格式规范
references/structured-content-template.md - - Prompt模板
references/base-prompt.md - - 21种布局的完整定义
references/layouts/<layout>.md - - 20种风格的完整定义
references/styles/<style>.md
Extension Support
扩展支持
Custom configurations via EXTEND.md. See Step 1.1 for paths and supported options.
可通过EXTEND.md自定义配置,路径和支持的配置项见步骤1.1。