Smart Article Illustration Skill
Analyze article structure and content, identify positions requiring visual aids, and generate illustrations with flexible style options.
Usage
# Auto-select style based on content
/article-illustrator path/to/article.md
# Specify a style
/article-illustrator path/to/article.md --style warm
/article-illustrator path/to/article.md --style minimal
/article-illustrator path/to/article.md --style watercolor
# Combine with other options
/article-illustrator path/to/article.md --style playful
Options
| Option |
Description |
--style <name> |
Specify illustration style (see Style Gallery below) |
Style Gallery
| Style |
Description |
Best For |
notion (Default) |
Minimalist hand-drawn line art, intellectual |
Knowledge sharing, SaaS, productivity |
elegant |
Refined, sophisticated, professional |
Business, thought leadership |
warm |
Friendly, approachable, human-centered |
Personal growth, lifestyle, education |
minimal |
Ultra-clean, zen-like, focused |
Philosophy, minimalism, core concepts |
playful |
Fun, creative, whimsical |
Tutorials, beginner guides, fun topics |
nature |
Organic, calm, earthy |
Sustainability, wellness, outdoor |
sketch |
Raw, authentic, notebook-style |
Ideas, brainstorming, drafts |
watercolor |
Soft artistic with natural warmth |
Lifestyle, travel, creative |
vintage |
Nostalgic aged-paper aesthetic |
Historical, biography, heritage |
scientific |
Academic precise diagrams |
Biology, chemistry, technical |
chalkboard |
Classroom chalk drawing style |
Education, tutorials, workshops |
editorial |
Magazine-style infographic |
Tech explainers, journalism |
flat |
Modern flat vector illustration |
Startups, digital, contemporary |
flat-doodle |
Bold outlines, pastel colors, cute |
Productivity, SaaS, workflows |
retro |
80s/90s vibrant nostalgic |
Pop culture, gaming, entertainment |
blueprint |
Technical schematics, engineering precision |
Architecture, system design |
vector-illustration |
Flat vector with black outlines, retro colors |
Educational, creative, brand content |
sketch-notes |
Soft hand-drawn, warm educational feel |
Knowledge sharing, tutorials |
pixel-art |
Retro 8-bit gaming aesthetic |
Gaming, tech, developer content |
intuition-machine |
Technical briefing with bilingual labels |
Academic, technical, bilingual |
fantasy-animation |
Ghibli/Disney whimsical style |
Storytelling, children's, creative |
Full style specifications in references/styles/<style>.md
Auto Style Selection
When no --style is specified, analyze content to select best style:
| Content Signals |
Selected Style |
| Personal story, emotion, growth, life, feeling, relationship |
warm |
| Simple, zen, focus, essential, core, minimalist |
minimal |
| Fun, easy, beginner, tutorial, guide, how-to, learn |
playful |
| Nature, eco, wellness, health, organic, green, outdoor |
nature |
| Idea, thought, concept, draft, brainstorm, sketch |
sketch |
| Business, professional, strategy, analysis, corporate |
elegant |
| Knowledge, concept, productivity, SaaS, notion, tool |
notion |
| Lifestyle, travel, food, art, creative, artistic |
watercolor |
| History, heritage, vintage, biography, classic, expedition |
vintage |
| Biology, chemistry, medical, scientific, research, academic |
scientific |
| Education, classroom, teaching, school, lecture, workshop |
chalkboard |
| Explainer, journalism, magazine, in-depth, investigation |
editorial |
| Modern, startup, app, product, digital marketing, saas |
flat |
| Productivity, workflow, cute, tools, app tutorial |
flat-doodle |
| 80s, 90s, retro, pop culture, music, nostalgia |
retro |
| Architecture, system, infrastructure, engineering, technical |
blueprint |
| Brand, explainer, children, cute, toy, geometric |
vector-illustration |
| Notes, doodle, friendly, warm tutorial, onboarding |
sketch-notes |
| Gaming, 8-bit, pixel, developer, retro tech |
pixel-art |
| Bilingual, briefing, academic, research, documentation |
intuition-machine |
| Fantasy, story, magical, Ghibli, Disney, children |
fantasy-animation |
| Default |
notion |
File Management
Output Directory
Each session creates an independent directory named by content slug:
illustrations/{topic-slug}/
├── source-{slug}.{ext} # Source files (text, images, etc.)
├── outline.md
├── outline-{style}.md # Style variant outlines
├── prompts/
│ ├── illustration-concept-a.md
│ ├── illustration-concept-b.md
│ └── ...
├── illustration-concept-a.png
├── illustration-concept-b.png
└── ...
Slug Generation:
- Extract main topic from content (2-4 words, kebab-case)
- Example: "The Future of AI" →
future-of-ai
Conflict Resolution
If illustrations/{topic-slug}/ already exists:
- Append timestamp:
{topic-slug}-YYYYMMDD-HHMMSS
- Example:
ai-future exists → ai-future-20260118-143052
Source Files
Copy all sources with naming source-{slug}.{ext}:
source-article.md (main text content)
source-photo.jpg (image from conversation)
source-reference.pdf (additional file)
Multiple sources supported: text, images, files from conversation.
Workflow
Step 1: Analyze Content & Select Style
- Read article content
- If
--style specified, use that style
- Otherwise, scan for style signals and auto-select
- Language detection:
- Detect source language from article content
- Detect user language from conversation context
- Note if source_language ≠ user_language (will ask in Step 4)
- Extract key information:
- Main topic and themes
- Core messages per section
- Abstract concepts needing visualization
Step 2: Identify Illustration Positions
Three Purposes of Illustrations:
- Information Supplement: Help understand abstract concepts
- Concept Visualization: Transform abstract ideas into concrete visuals
- Imagination Guidance: Create atmosphere, enhance reading experience
Content Suitable for Illustrations:
- Abstract concepts needing visualization
- Processes/steps needing diagrams
- Comparisons needing visual representation
- Core arguments needing reinforcement
- Scenarios needing imagination guidance
Illustration Count:
- Consider at least 1 image per major section
- Prioritize core arguments and abstract concepts
- Principle: More is better than fewer
Step 3: Generate Illustration Plan
# Illustration Plan
**Article**: [article path]
**Style**: [selected style]
**Illustration Count**: N images
---
## Illustration 1
**Insert Position**: [section name] / [paragraph description]
**Purpose**: [why illustration needed here]
**Visual Content**: [what image should show]
**Filename**: illustration-[slug].png
---
## Illustration 2
...
Step 4: Review & Confirm
Purpose: Let user confirm all options in a single step before image generation.
IMPORTANT: Present ALL options in a single confirmation step using AskUserQuestion. Do NOT interrupt workflow with multiple separate confirmations.
Generate 3 style variants:
- Analyze content to select 3 most suitable styles
- Generate complete illustration plan for each style variant
- Save as
outline-{style}.md (e.g., outline-notion.md, outline-tech.md, outline-warm.md)
Determine which questions to ask:
| Question |
When to Ask |
| Style variant |
Always (required) |
| Language |
Only if source_language ≠ user_language |
Present options (use AskUserQuestion with all applicable questions):
Question 1 (Style) - always:
- Style A (recommended): [style name] - [brief description]
- Style B: [style name] - [brief description]
- Style C: [style name] - [brief description]
- Custom: Provide custom style reference
Question 2 (Language) - only if source ≠ user language:
- [Source language] (matches article language)
- [User language] (your preference)
Language handling:
- If source language = user language: Just inform user (e.g., "Prompts will be in Chinese")
- If different: Ask which language to use for prompts
Apply selection:
- Copy selected
outline-{style}.md to outline.md
- If custom style provided, generate new plan with that style
- If different language selected, regenerate outline in that language
- User may edit
outline.md directly for fine-tuning
- If modified, reload plan before proceeding
Proceed only after explicit user confirmation
Step 5: Create Prompt Files
Save prompts to prompts/ directory with style-specific details.
All prompts are written in the user's confirmed language preference.
Prompt Format:
Illustration theme: [concept in 2-3 words]
Style: [style name]
Visual composition:
- Main visual: [description matching style]
- Layout: [element positioning]
- Decorative elements: [style-appropriate decorations]
Color scheme:
- Primary: [style primary color]
- Background: [style background color]
- Accent: [style accent color]
Text content (if any):
- [Any labels or captions in content language]
Style notes: [specific style characteristics]
Step 6: Generate Images
Image Generation Skill Selection:
- Check available image generation skills
- If multiple skills available, ask user to choose
Generation Flow:
- Call selected image generation skill with prompt file and output path
- Generate images sequentially
- After each image, output progress: "Generated X/N"
- On failure, auto-retry once
- If retry fails, log reason, continue to next
Step 7: Update Article
Insert generated images at corresponding positions:

Insertion Rules:
- Insert image after corresponding paragraph
- Leave one blank line before and after image
- Alt text uses concise description in article's language
Step 8: Output Summary
Article Illustration Complete!
Article: [article path]
Style: [style name]
Generated: X/N images successful
Illustration Positions:
- illustration-xxx.png → After section "Section Name"
- illustration-yyy.png → After section "Another Section"
...
[If any failures]
Failed:
- illustration-zzz.png: [failure reason]
Illustration Modification
Support for modifying individual illustrations after initial generation.
Edit Single Illustration
Regenerate a specific illustration with modified prompt:
- Identify illustration to edit (e.g.,
illustration-concept-overview.png)
- Update prompt in
prompts/illustration-concept-overview.md if needed
- If content changes significantly, update slug in filename
- Regenerate image
- Update article if image reference changed
Add New Illustration
Add a new illustration to article:
- Identify insertion position in article
- Create new prompt with appropriate slug (e.g.,
illustration-new-concept.md)
- Generate new illustration image
- Update
outline.md with new illustration entry
- Insert image reference in article at specified position
Delete Illustration
Remove an illustration from article:
- Identify illustration to delete (e.g.,
illustration-concept-overview.png)
- Remove image file and prompt file
- Remove image reference from article
- Update
outline.md to remove illustration entry
File Naming Convention
Files use meaningful slugs for better readability:
illustration-[slug].png
illustration-[slug].md (in prompts/)
Examples:
illustration-concept-overview.png
illustration-workflow-diagram.png
illustration-key-benefits.png
Slug rules:
- Derived from illustration purpose/content (kebab-case)
- Must be unique within article
- When content changes significantly, update slug accordingly
References
| File |
Content |
references/styles/<style>.md |
Full style specifications with colors, elements, rules |
Notes
- Illustrations serve to content: supplement information, visualize concepts
- Maintain selected style consistency across all illustrations in one article
- Image generation typically takes 10-30 seconds per image
- Sensitive figures should use cartoon alternatives
- Prompts written in user's confirmed language preference
- Illustration text (labels, captions) should match article language
Extension Support
Custom styles and configurations via EXTEND.md.
Check paths (priority order):
.content-gen-skills/article-illustrator/EXTEND.md (project)
~/.content-gen-skills/article-illustrator/EXTEND.md (user)
If found, load before Step 1. Extension content overrides defaults.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: article-illustrator3description: Smart article illustration skill. Analyzes article content and generates illustrations at positions requiring visual aids with multiple style options. Use when user asks to "add illustrations to article", "generate images for article", or "illustrate article". Use when this capability is needed.4---56# Smart Article Illustration Skill78Analyze article structure and content, identify positions requiring visual aids, and generate illustrations with flexible style options.910## Usage1112```bash13# Auto-select style based on content14/article-illustrator path/to/article.md1516# Specify a style17/article-illustrator path/to/article.md --style warm18/article-illustrator path/to/article.md --style minimal19/article-illustrator path/to/article.md --style watercolor2021# Combine with other options22/article-illustrator path/to/article.md --style playful23```2425## Options2627| Option | Description |28|--------|-------------|29| `--style <name>` | Specify illustration style (see Style Gallery below) |3031## Style Gallery3233| Style | Description | Best For |34|-------|-------------|----------|35| `notion` (Default) | Minimalist hand-drawn line art, intellectual | Knowledge sharing, SaaS, productivity |36| `elegant` | Refined, sophisticated, professional | Business, thought leadership |37| `warm` | Friendly, approachable, human-centered | Personal growth, lifestyle, education |38| `minimal` | Ultra-clean, zen-like, focused | Philosophy, minimalism, core concepts |39| `playful` | Fun, creative, whimsical | Tutorials, beginner guides, fun topics |40| `nature` | Organic, calm, earthy | Sustainability, wellness, outdoor |41| `sketch` | Raw, authentic, notebook-style | Ideas, brainstorming, drafts |42| `watercolor` | Soft artistic with natural warmth | Lifestyle, travel, creative |43| `vintage` | Nostalgic aged-paper aesthetic | Historical, biography, heritage |44| `scientific` | Academic precise diagrams | Biology, chemistry, technical |45| `chalkboard` | Classroom chalk drawing style | Education, tutorials, workshops |46| `editorial` | Magazine-style infographic | Tech explainers, journalism |47| `flat` | Modern flat vector illustration | Startups, digital, contemporary |48| `flat-doodle` | Bold outlines, pastel colors, cute | Productivity, SaaS, workflows |49| `retro` | 80s/90s vibrant nostalgic | Pop culture, gaming, entertainment |50| `blueprint` | Technical schematics, engineering precision | Architecture, system design |51| `vector-illustration` | Flat vector with black outlines, retro colors | Educational, creative, brand content |52| `sketch-notes` | Soft hand-drawn, warm educational feel | Knowledge sharing, tutorials |53| `pixel-art` | Retro 8-bit gaming aesthetic | Gaming, tech, developer content |54| `intuition-machine` | Technical briefing with bilingual labels | Academic, technical, bilingual |55| `fantasy-animation` | Ghibli/Disney whimsical style | Storytelling, children's, creative |5657Full style specifications in `references/styles/<style>.md`5859## Auto Style Selection6061When no `--style` is specified, analyze content to select best style:6263| Content Signals | Selected Style |64|----------------|----------------|65| Personal story, emotion, growth, life, feeling, relationship | `warm` |66| Simple, zen, focus, essential, core, minimalist | `minimal` |67| Fun, easy, beginner, tutorial, guide, how-to, learn | `playful` |68| Nature, eco, wellness, health, organic, green, outdoor | `nature` |69| Idea, thought, concept, draft, brainstorm, sketch | `sketch` |70| Business, professional, strategy, analysis, corporate | `elegant` |71| Knowledge, concept, productivity, SaaS, notion, tool | `notion` |72| Lifestyle, travel, food, art, creative, artistic | `watercolor` |73| History, heritage, vintage, biography, classic, expedition | `vintage` |74| Biology, chemistry, medical, scientific, research, academic | `scientific` |75| Education, classroom, teaching, school, lecture, workshop | `chalkboard` |76| Explainer, journalism, magazine, in-depth, investigation | `editorial` |77| Modern, startup, app, product, digital marketing, saas | `flat` |78| Productivity, workflow, cute, tools, app tutorial | `flat-doodle` |79| 80s, 90s, retro, pop culture, music, nostalgia | `retro` |80| Architecture, system, infrastructure, engineering, technical | `blueprint` |81| Brand, explainer, children, cute, toy, geometric | `vector-illustration` |82| Notes, doodle, friendly, warm tutorial, onboarding | `sketch-notes` |83| Gaming, 8-bit, pixel, developer, retro tech | `pixel-art` |84| Bilingual, briefing, academic, research, documentation | `intuition-machine` |85| Fantasy, story, magical, Ghibli, Disney, children | `fantasy-animation` |86| Default | `notion` |8788## File Management8990### Output Directory9192Each session creates an independent directory named by content slug:9394```95illustrations/{topic-slug}/96├── source-{slug}.{ext} # Source files (text, images, etc.)97├── outline.md98├── outline-{style}.md # Style variant outlines99├── prompts/100│ ├── illustration-concept-a.md101│ ├── illustration-concept-b.md102│ └── ...103├── illustration-concept-a.png104├── illustration-concept-b.png105└── ...106```107108**Slug Generation**:1091. Extract main topic from content (2-4 words, kebab-case)1102. Example: "The Future of AI" → `future-of-ai`111112### Conflict Resolution113114If `illustrations/{topic-slug}/` already exists:115- Append timestamp: `{topic-slug}-YYYYMMDD-HHMMSS`116- Example: `ai-future` exists → `ai-future-20260118-143052`117118### Source Files119120Copy all sources with naming `source-{slug}.{ext}`:121- `source-article.md` (main text content)122- `source-photo.jpg` (image from conversation)123- `source-reference.pdf` (additional file)124125Multiple sources supported: text, images, files from conversation.126127## Workflow128129### Step 1: Analyze Content & Select Style1301311. Read article content1322. If `--style` specified, use that style1333. Otherwise, scan for style signals and auto-select1344. **Language detection**:135 - Detect **source language** from article content136 - Detect **user language** from conversation context137 - Note if source_language ≠ user_language (will ask in Step 4)1385. Extract key information:139 - Main topic and themes140 - Core messages per section141 - Abstract concepts needing visualization142143### Step 2: Identify Illustration Positions144145**Three Purposes of Illustrations**:1461. **Information Supplement**: Help understand abstract concepts1472. **Concept Visualization**: Transform abstract ideas into concrete visuals1483. **Imagination Guidance**: Create atmosphere, enhance reading experience149150**Content Suitable for Illustrations**:151- Abstract concepts needing visualization152- Processes/steps needing diagrams153- Comparisons needing visual representation154- Core arguments needing reinforcement155- Scenarios needing imagination guidance156157**Illustration Count**:158- Consider at least 1 image per major section159- Prioritize core arguments and abstract concepts160- **Principle: More is better than fewer**161162### Step 3: Generate Illustration Plan163164```markdown165# Illustration Plan166167**Article**: [article path]168**Style**: [selected style]169**Illustration Count**: N images170171---172173## Illustration 1174175**Insert Position**: [section name] / [paragraph description]176**Purpose**: [why illustration needed here]177**Visual Content**: [what image should show]178**Filename**: illustration-[slug].png179180---181182## Illustration 2183...184```185186### Step 4: Review & Confirm187188**Purpose**: Let user confirm all options in a single step before image generation.189190**IMPORTANT**: Present ALL options in a single confirmation step using AskUserQuestion. Do NOT interrupt workflow with multiple separate confirmations.1911921. **Generate 3 style variants**:193 - Analyze content to select 3 most suitable styles194 - Generate complete illustration plan for each style variant195 - Save as `outline-{style}.md` (e.g., `outline-notion.md`, `outline-tech.md`, `outline-warm.md`)1961972. **Determine which questions to ask**:198199 | Question | When to Ask |200 |----------|-------------|201 | Style variant | Always (required) |202 | Language | Only if `source_language ≠ user_language` |2032043. **Present options** (use AskUserQuestion with all applicable questions):205206 **Question 1 (Style)** - always:207 - Style A (recommended): [style name] - [brief description]208 - Style B: [style name] - [brief description]209 - Style C: [style name] - [brief description]210 - Custom: Provide custom style reference211212 **Question 2 (Language)** - only if source ≠ user language:213 - [Source language] (matches article language)214 - [User language] (your preference)215216 **Language handling**:217 - If source language = user language: Just inform user (e.g., "Prompts will be in Chinese")218 - If different: Ask which language to use for prompts2192204. **Apply selection**:221 - Copy selected `outline-{style}.md` to `outline.md`222 - If custom style provided, generate new plan with that style223 - If different language selected, regenerate outline in that language224 - User may edit `outline.md` directly for fine-tuning225 - If modified, reload plan before proceeding2262275. **Proceed only after explicit user confirmation**228229### Step 5: Create Prompt Files230231Save prompts to `prompts/` directory with style-specific details.232233**All prompts are written in the user's confirmed language preference.**234235**Prompt Format**:236237```markdown238Illustration theme: [concept in 2-3 words]239Style: [style name]240241Visual composition:242- Main visual: [description matching style]243- Layout: [element positioning]244- Decorative elements: [style-appropriate decorations]245246Color scheme:247- Primary: [style primary color]248- Background: [style background color]249- Accent: [style accent color]250251Text content (if any):252- [Any labels or captions in content language]253254Style notes: [specific style characteristics]255```256257### Step 6: Generate Images258259**Image Generation Skill Selection**:2601. Check available image generation skills2612. If multiple skills available, ask user to choose262263**Generation Flow**:2641. Call selected image generation skill with prompt file and output path2652. Generate images sequentially2663. After each image, output progress: "Generated X/N"2674. On failure, auto-retry once2685. If retry fails, log reason, continue to next269270### Step 7: Update Article271272Insert generated images at corresponding positions:273274```markdown275276```277278**Insertion Rules**:279- Insert image after corresponding paragraph280- Leave one blank line before and after image281- Alt text uses concise description in article's language282283### Step 8: Output Summary284285```286Article Illustration Complete!287288Article: [article path]289Style: [style name]290Generated: X/N images successful291292Illustration Positions:293- illustration-xxx.png → After section "Section Name"294- illustration-yyy.png → After section "Another Section"295...296297[If any failures]298Failed:299- illustration-zzz.png: [failure reason]300```301302## Illustration Modification303304Support for modifying individual illustrations after initial generation.305306### Edit Single Illustration307308Regenerate a specific illustration with modified prompt:3093101. Identify illustration to edit (e.g., `illustration-concept-overview.png`)3112. Update prompt in `prompts/illustration-concept-overview.md` if needed3123. If content changes significantly, update slug in filename3134. Regenerate image3145. Update article if image reference changed315316### Add New Illustration317318Add a new illustration to article:3193201. Identify insertion position in article3212. Create new prompt with appropriate slug (e.g., `illustration-new-concept.md`)3223. Generate new illustration image3234. Update `outline.md` with new illustration entry3245. Insert image reference in article at specified position325326### Delete Illustration327328Remove an illustration from article:3293301. Identify illustration to delete (e.g., `illustration-concept-overview.png`)3312. Remove image file and prompt file3323. Remove image reference from article3334. Update `outline.md` to remove illustration entry334335### File Naming Convention336337Files use meaningful slugs for better readability:338```339illustration-[slug].png340illustration-[slug].md (in prompts/)341```342343Examples:344- `illustration-concept-overview.png`345- `illustration-workflow-diagram.png`346- `illustration-key-benefits.png`347348**Slug rules**:349- Derived from illustration purpose/content (kebab-case)350- Must be unique within article351- When content changes significantly, update slug accordingly352353## References354355| File | Content |356|------|---------|357| `references/styles/<style>.md` | Full style specifications with colors, elements, rules |358359## Notes360361- Illustrations serve to content: supplement information, visualize concepts362- Maintain selected style consistency across all illustrations in one article363- Image generation typically takes 10-30 seconds per image364- Sensitive figures should use cartoon alternatives365- Prompts written in user's confirmed language preference366- Illustration text (labels, captions) should match article language367368## Extension Support369370Custom styles and configurations via EXTEND.md.371372**Check paths** (priority order):3731. `.content-gen-skills/article-illustrator/EXTEND.md` (project)3742. `~/.content-gen-skills/article-illustrator/EXTEND.md` (user)375376If found, load before Step 1. Extension content overrides defaults.377378---379> Converted and distributed by [TomeVault](https://tomevault.io/claim/zlh-428) — claim your Tome and manage your conversions.380<!-- tomevault:4.0:skill_md:2026-04-11 -->