Smart Article Illustration Skill
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 artic
Analyze article structure and content, identify positions requiring visual aids, and generate illustrations with flexible style options.
Usage
# Auto-select style based on content
/michi-article-illustrator path/to/article.md
# Specify a style
/michi-article-illustrator path/to/article.md --style tech
/michi-article-illustrator path/to/article.md --style warm
/michi-article-illustrator path/to/article.md --style minimal
# Combine with other options
/michi-article-illustrator path/to/article.md --style playfulOptions
--style <name>
Specify illustration style (see Style Gallery below)
Style Gallery
1. elegant
elegantRefined, sophisticated, professional
Colors: Soft coral, muted teal, dusty rose, cream background
Elements: Delicate line work, subtle icons, balanced composition
Best for: Professional articles, thought leadership, business topics
2. tech
techModern, futuristic, digital
Colors: Deep blue, electric cyan, purple, dark backgrounds
Elements: Geometric shapes, circuit patterns, data visualizations, tech icons
Best for: AI, programming, technology, digital transformation articles
3. warm
warmFriendly, approachable, human-centered
Colors: Warm orange, golden yellow, terracotta, cream
Elements: Rounded shapes, friendly characters, sun/light motifs, hearts
Best for: Personal growth, lifestyle, education, human interest stories
4. bold
boldHigh contrast, impactful, energetic
Colors: Vibrant red/orange, deep black, bright yellow accents
Elements: Strong shapes, dramatic contrast, dynamic compositions
Best for: Opinion pieces, important warnings, call-to-action content
5. minimal
minimalUltra-clean, zen-like, focused
Colors: Black, white, single accent color
Elements: Maximum whitespace, single focal element, simple lines
Best for: Philosophy, minimalism, focused explanations
6. playful
playfulFun, creative, whimsical
Colors: Pastel rainbow, bright pops, light backgrounds
Elements: Doodles, quirky characters, speech bubbles, emoji-style icons
Best for: Tutorials, beginner guides, casual content, fun topics
7. nature
natureOrganic, calm, earthy
Colors: Forest green, earth brown, sky blue, sand beige
Elements: Plant motifs, natural textures, flowing lines, organic shapes
Best for: Sustainability, wellness, outdoor topics, slow living
8. sketch
sketchRaw, authentic, notebook-style
Colors: Pencil gray, paper white, occasional color highlights
Elements: Rough lines, sketch marks, handwritten notes, arrows
Best for: Ideas in progress, brainstorming, thought processes
9. notion (Default)
notion (Default)Minimalist hand-drawn line art, intellectual
Colors: Black outlines, white background, 1-2 pastel accents
Elements: Simple line doodles, geometric shapes, hand-drawn wobble, maximum whitespace
Best for: Knowledge sharing, concept explanations, SaaS content, productivity articles
10. michi
michiCute calico cat in Japanese manga style - cozy, friendly mascot
Colors: Cream white, soft orange, warm brown, blush pink accents
Elements: Cute calico cat (三毛猫) interacting with concepts, speech bubbles, paw prints
Animation Feel: Studio Ghibli warmth, Chi's Sweet Home vibes
Best for: Tutorials, learning content, blogs needing consistent mascot branding
Auto Style Selection
When no --style is specified, analyze content to select the best style:
AI, coding, tech, digital, algorithm, data
tech
Personal story, emotion, growth, life, feeling
warm
Warning, urgent, must-read, critical, important
bold
Simple, zen, focus, essential, core
minimal
Fun, easy, beginner, tutorial, guide, how-to
playful
Nature, eco, wellness, health, organic, green
nature
Idea, thought, concept, draft, brainstorm
sketch
Business, professional, strategy, analysis
elegant
Knowledge, concept, productivity, SaaS, notion
notion
Tutorial, learning, cozy, mascot, cat, friendly
michi
File Management
With Article Path
Save illustrations to [source-name-no-ext]/illustrations/ subdirectory in the same folder as the article:
Example: /posts/ai-future.md → /posts/ai-future/illustrations/
Without Article Path (Pasted Content)
Save to ./illustrations/[topic-slug]/:
Directory Backup
If target directory exists, rename existing to <dirname>-backup-YYYYMMDD-HHMMSS
Workflow
Step 1: Analyze Content & Select Style
Read article content
If
--stylespecified, use that styleOtherwise, 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
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:
QuestionWhen to AskStyle variant
Always (required)
Language
Only if
source_language ≠ user_languagePresent 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}.mdtooutline.mdIf custom style provided, generate new plan with that style
If different language selected, regenerate outline in that language
User may edit
outline.mddirectly for fine-tuningIf 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:
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
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.mdif neededIf content changes significantly, update slug in filename
Regenerate image
Update article if image reference changed
Add New Illustration
Add a new illustration to the article:
Identify insertion position in article
Create new prompt with appropriate slug (e.g.,
illustration-new-concept.md)Generate new illustration image
Update
outline.mdwith new illustration entryInsert image reference in article at the specified position
Delete Illustration
Remove an illustration from the article:
Identify illustration to delete (e.g.,
illustration-concept-overview.png)Remove image file and prompt file
Remove image reference from article
Update
outline.mdto remove illustration entry
File Naming Convention
Files use meaningful slugs for better readability:
Examples:
illustration-concept-overview.pngillustration-workflow-diagram.pngillustration-key-benefits.png
Slug rules:
Derived from illustration purpose/content (kebab-case)
Must be unique within the article
When content changes significantly, update slug accordingly
Style Reference Details
elegant
tech
warm
bold
minimal
playful
nature
sketch
notion
michi
Notes
Illustrations serve the 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
Last updated