Skip to content
baoyu-article-illustrator logo

Smart Article Illustration Skill

baoyu-article-illustrator

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".

SKILL.md

Full skill instructions

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
/​baoyu-article-illustrator path/​to/​article.md

# Specify a style
/​baoyu-article-illustrator path/​to/​article.md --style warm
/​baoyu-article-illustrator path/​to/​article.md --style minimal
/​baoyu-article-illustrator path/​to/​article.md --style watercolor

# Combine with other options
/​baoyu-article-illustrator path/​to/​article.md --style playful

Options

OptionDescription
--style <name>Specify illustration style (see Style Gallery below)

Style Gallery

StyleDescriptionBest For
notion (Default)Minimalist hand-drawn line art, intellectualKnowledge sharing, SaaS, productivity
elegantRefined, sophisticated, professionalBusiness, thought leadership
warmFriendly, approachable, human-centeredPersonal growth, lifestyle, education
minimalUltra-clean, zen-like, focusedPhilosophy, minimalism, core concepts
playfulFun, creative, whimsicalTutorials, beginner guides, fun topics
natureOrganic, calm, earthySustainability, wellness, outdoor
sketchRaw, authentic, notebook-styleIdeas, brainstorming, drafts
watercolorSoft artistic with natural warmthLifestyle, travel, creative
vintageNostalgic aged-paper aestheticHistorical, biography, heritage
scientificAcademic precise diagramsBiology, chemistry, technical
chalkboardClassroom chalk drawing styleEducation, tutorials, workshops
editorialMagazine-style infographicTech explainers, journalism
flatModern flat vector illustrationStartups, digital, contemporary
retro80s/​90s vibrant nostalgicPop culture, gaming, entertainment
blueprintTechnical schematics, engineering precisionArchitecture, system design
vector-illustrationFlat vector with black outlines, retro colorsEducational, creative, brand content
sketch-notesSoft hand-drawn, warm educational feelKnowledge sharing, tutorials
pixel-artRetro 8-bit gaming aestheticGaming, tech, developer content
intuition-machineTechnical briefing with bilingual labelsAcademic, technical, bilingual
fantasy-animationGhibli/​Disney whimsical styleStorytelling, children's, creative

Full style specifications in references/​styles/<style>.md

Auto Style Selection

When no --style is specified, analyze content to select the best style:

Content SignalsSelected Style
Personal story, emotion, growth, life, feeling, relationshipwarm
Simple, zen, focus, essential, core, minimalistminimal
Fun, easy, beginner, tutorial, guide, how-to, learnplayful
Nature, eco, wellness, health, organic, green, outdoornature
Idea, thought, concept, draft, brainstorm, sketchsketch
Business, professional, strategy, analysis, corporateelegant
Knowledge, concept, productivity, SaaS, notion, toolnotion
Lifestyle, travel, food, art, creative, artisticwatercolor
History, heritage, vintage, biography, classic, expeditionvintage
Biology, chemistry, medical, scientific, research, academicscientific
Education, classroom, teaching, school, lecture, workshopchalkboard
Explainer, journalism, magazine, in-depth, investigationeditorial
Modern, startup, app, product, digital marketing, saasflat
80s, 90s, retro, pop culture, music, nostalgiaretro
Architecture, system, infrastructure, engineering, technicalblueprint
Brand, explainer, children, cute, toy, geometricvector-illustration
Notes, doodle, friendly, warm tutorial, onboardingsketch-notes
Gaming, 8-bit, pixel, developer, retro techpixel-art
Bilingual, briefing, academic, research, documentationintuition-machine
Fantasy, story, magical, Ghibli, Disney, childrenfantasy-animation
Defaultnotion

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:

  1. Extract main topic from content (2-4 words, kebab-case)
  2. 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

  1. Read article content
  2. If --style specified, use that style
  3. Otherwise, scan for style signals and auto-select
  4. 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)
  5. Extract key information:
    • Main topic and themes
    • Core messages per section
    • Abstract concepts needing visualization

Step 2: Identify Illustration Positions

Three Purposes of Illustrations:

  1. Information Supplement: Help understand abstract concepts
  2. Concept Visualization: Transform abstract ideas into concrete visuals
  3. 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 the 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.

  1. 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)
  2. Determine which questions to ask:

    QuestionWhen to Ask
    Style variantAlways (required)
    LanguageOnly if source_language ≠ user_language
  3. 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
  4. 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
  5. 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:

  1. Check available image generation skills
  2. If multiple skills available, ask user to choose

Generation Flow:

  1. Call selected image generation skill with prompt file and output path
  2. Generate images sequentially
  3. After each image, output progress: "Generated X/​N"
  4. On failure, auto-retry once
  5. If retry fails, log reason, continue to next

Step 7: Update Article

Insert generated images at corresponding positions:

![illustration description]([article-name]/​illustrations/​illustration-[slug].png)

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:

  1. Identify illustration to edit (e.g., illustration-concept-overview.png)
  2. Update prompt in prompts/​illustration-concept-overview.md if needed
  3. If content changes significantly, update slug in filename
  4. Regenerate image
  5. Update article if image reference changed

Add New Illustration

Add a new illustration to the article:

  1. Identify insertion position in article
  2. Create new prompt with appropriate slug (e.g., illustration-new-concept.md)
  3. Generate new illustration image
  4. Update outline.md with new illustration entry
  5. Insert image reference in article at the specified position

Delete Illustration

Remove an illustration from the article:

  1. Identify illustration to delete (e.g., illustration-concept-overview.png)
  2. Remove image file and prompt file
  3. Remove image reference from article
  4. 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 the article
  • When content changes significantly, update slug accordingly

References

FileContent
references/​styles/<style>.mdFull style specifications with colors, elements, rules

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

Extension Support

Custom styles and configurations via EXTEND.md.

Check paths (priority order):

  1. .baoyu-skills/​baoyu-article-illustrator/​EXTEND.md (project)
  2. ~/​.baoyu-skills/​baoyu-article-illustrator/​EXTEND.md (user)

If found, load before Step 1. Extension content overrides defaults.

More Design skills

brandkit logo
Design

brandkit

Premium brand-kit image generation for high-end identity systems, logo concepts, and visual-world presentations.

92.7K 345.8K
View

Premium website design-to-code skill that generates visual references first, then builds faithful frontend implementations.

92.7K 341.7K
View

Premium frontend image direction for landing pages and marketing sites, generating one distinct horizontal image per section.

92.7K 337.8K
View

Premium mobile app screen concepts and flows with clean hierarchy, strong imagery, and distinctive art direction.

92.7K 331.8K
View

Emil Kowalski's philosophy on UI polish, component design, and the invisible details that make software feel good.

43.5K 323.4K
View

Frontend design and iteration for production-grade interfaces, from concept to ship.

76.8K 313.3K
View

Reverse-engineer design tokens from public websites into starter token files for your project.

232 129.9K
View
Animate logo
Design

Animate

Builds an animation from scratch by making the decisions in the order that determines whether it feels right.

43.5K 117.9K
View

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

179.7K 114.2K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

Design AI tools

Maze Guru logo
Images

Maze Guru

Chat-to-edit AI studio for product photos, portraits, branding, and video.

Freemium
View
R
Design

RoomGPT

Generate your dream room in seconds.

Paid
View

Redesign your interior in seconds using AI

Paid
View
Reroom logo
Design

Reroom

Transform rooms with AI-generated designs.

Freemium
View
Jife logo
Design

Jife

Transform Your Space with AI-Powered Japanese Interior Designs by Jife

Paid
View
Visily logo
Design

Visily

AI-powered wireframes for non-designers.

Free
View

Revolutionize Property Viewing with AI-Generated Floor Plans and Virtual Tours

Paid
View
Archsynth logo
Design

Archsynth

Transform sketches into stunning architectural renders with AI.

Paid
View