From utility-skills
Generates 1-10 cartoon-style infographic images for Xiaohongshu from Markdown files or pasted content, with 9 visual styles (cute, tech, notion) and 6 layouts (sparse, dense, list).
npx claudepluginhub xuanxuan1983/baoyu-xuanyi-skills --plugin ai-generation-skillsThis skill uses the workspace's default tool permissions.
Break down complex content into eye-catching infographic series for Xiaohongshu with multiple style options.
references/analysis-framework.mdreferences/base-prompt.mdreferences/layouts/balanced.mdreferences/layouts/comparison.mdreferences/layouts/dense.mdreferences/layouts/flow.mdreferences/layouts/list.mdreferences/layouts/sparse.mdreferences/outline-template.mdreferences/styles/bold.mdreferences/styles/cute.mdreferences/styles/fresh.mdreferences/styles/minimal.mdreferences/styles/notion.mdreferences/styles/pop.mdreferences/styles/retro.mdreferences/styles/tech.mdreferences/styles/warm.mdGenerates 1-10 cartoon-style infographic images for Xiaohongshu from markdown or pasted content, using 10 visual styles and 8 layouts for optimal engagement.
[Deprecated: use baoyu-image-cards] Generates Xiaohongshu image card series with 12 styles, 8 layouts, 3 palettes; breaks content into 1-10 cartoon-style cards optimized for XHS engagement.
Generates branded infographic specifications from content or data. Outputs structured layout, copy, data visualization, and color scheme ready for HTML/CSS, Satori, Canva, or Figma.
Share bugs, ideas, or general feedback.
Break down complex content into eye-catching infographic series for Xiaohongshu with multiple style options.
# Auto-select style and layout based on content
/baoyu-xhs-images posts/ai-future/article.md
# Specify style
/baoyu-xhs-images posts/ai-future/article.md --style notion
# Specify layout
/baoyu-xhs-images posts/ai-future/article.md --layout dense
# Combine style and layout
/baoyu-xhs-images posts/ai-future/article.md --style tech --layout list
# Direct content input
/baoyu-xhs-images
[paste content]
# Direct input with options
/baoyu-xhs-images --style bold --layout comparison
[paste content]
| Option | Description |
|---|---|
--style <name> | Visual style (see Style Gallery) |
--layout <name> | Information layout (see Layout Gallery) |
| Dimension | Controls | Options |
|---|---|---|
| Style | Visual aesthetics: colors, lines, decorations | cute, fresh, tech, warm, bold, minimal, retro, pop, notion |
| Layout | Information structure: density, arrangement | sparse, balanced, dense, list, comparison, flow |
Style × Layout can be freely combined. Example: --style notion --layout dense creates an intellectual-looking knowledge card with high information density.
| Style | Description |
|---|---|
cute (Default) | Sweet, adorable, girly - classic Xiaohongshu aesthetic |
fresh | Clean, refreshing, natural |
tech | Modern, smart, digital |
warm | Cozy, friendly, approachable |
bold | High impact, attention-grabbing |
minimal | Ultra-clean, sophisticated |
retro | Vintage, nostalgic, trendy |
pop | Vibrant, energetic, eye-catching |
notion | Minimalist hand-drawn line art, intellectual |
Detailed style definitions: references/styles/<style>.md
| Layout | Description |
|---|---|
sparse (Default) | Minimal information, maximum impact (1-2 points) |
balanced | Standard content layout (3-4 points) |
dense | High information density, knowledge card style (5-8 points) |
list | Enumeration and ranking format (4-7 items) |
comparison | Side-by-side contrast layout |
flow | Process and timeline layout (3-6 steps) |
Detailed layout definitions: references/layouts/<layout>.md
| Content Signals | Style | Layout |
|---|---|---|
| Beauty, fashion, cute, girl, pink | cute | sparse/balanced |
| Health, nature, clean, fresh, organic | fresh | balanced/flow |
| Tech, AI, code, digital, app, tool | tech | dense/list |
| Life, story, emotion, feeling, warm | warm | balanced |
| Warning, important, must, critical | bold | list/comparison |
| Professional, business, elegant, simple | minimal | sparse/balanced |
| Classic, vintage, old, traditional | retro | balanced |
| Fun, exciting, wow, amazing | pop | sparse/list |
| Knowledge, concept, productivity, SaaS | notion | dense/list |
Each session creates an independent directory named by content slug:
xhs-images/{topic-slug}/
├── source-{slug}.{ext} # Source files (text, images, etc.)
├── analysis.md # Deep analysis results
├── outline-style-[slug].md # Variant A (e.g., outline-style-tech.md)
├── outline-style-[slug].md # Variant B (e.g., outline-style-notion.md)
├── outline-style-[slug].md # Variant C (e.g., outline-style-minimal.md)
├── outline.md # Final selected
├── prompts/
│ ├── 01-cover-[slug].md
│ ├── 02-content-[slug].md
│ └── ...
├── 01-cover-[slug].png
├── 02-content-[slug].png
└── NN-ending-[slug].png
Slug Generation:
ai-tools-recommendConflict Resolution:
If xhs-images/{topic-slug}/ already exists:
{topic-slug}-YYYYMMDD-HHMMSSai-tools exists → ai-tools-20260118-143052Source Files:
Copy all sources with naming source-{slug}.{ext}:
source-article.md, source-photo.jpg, etc.analysis.mdRead source content, save it if needed, and perform deep analysis.
Actions:
source.md in target directoryreferences/analysis-framework.md:
analysis.mdBased on analysis, create three distinct style variants.
For each variant:
outline-style-[slug].md):
references/outline-template.md| Variant | Selection Logic | Example Filename |
|---|---|---|
| A | Primary recommendation | outline-style-tech.md |
| B | Alternative style | outline-style-notion.md |
| C | Different audience/mood | outline-style-minimal.md |
All variants are preserved after selection for reference.
IMPORTANT: Present ALL options in a single confirmation step using AskUserQuestion. Do NOT interrupt workflow with multiple separate confirmations.
Determine which questions to ask:
| Question | When to Ask |
|---|---|
| Style variant | Always (required) |
| Default layout | Only if user might want to override |
| Language | Only if source_language ≠ user_language |
Language handling:
AskUserQuestion format:
Question 1 (Style): Which style variant?
- A: tech + dense (Recommended) - 专业科技感,适合干货
- B: notion + list - 清爽知识卡片
- C: minimal + balanced - 简约高端风格
- Custom: 自定义风格描述
Question 2 (Layout) - only if relevant:
- Keep variant default (Recommended)
- sparse / balanced / dense / list / comparison / flow
Question 3 (Language) - only if mismatch:
- 中文 (匹配原文)
- English (your preference)
After confirmation:
outline-style-[slug].md → outline.mdoutline.md directly for fine-tuningWith confirmed outline + style + layout:
For each image (cover + content + ending):
prompts/NN-{type}-[slug].md (in user's preferred language)Image Generation Skill Selection:
Session Management:
If image generation skill supports --sessionId:
xhs-{topic-slug}-{timestamp}Xiaohongshu Infographic Series Complete!
Topic: [topic]
Style: [style name]
Layout: [layout name or "varies"]
Location: [directory path]
Images: N total
✓ analysis.md
✓ outline-style-tech.md
✓ outline-style-notion.md
✓ outline-style-minimal.md
✓ outline.md (selected: tech + dense)
Files:
- 01-cover-[slug].png ✓ Cover (sparse)
- 02-content-[slug].png ✓ Content (balanced)
- 03-content-[slug].png ✓ Content (dense)
- 04-ending-[slug].png ✓ Ending (sparse)
03-content-chatgpt.png)prompts/03-content-chatgpt.md if neededoutline.md with new image entryoutline.md to remove image entrysparse layoutbalanced/dense/list/comparison/flowsparse or balancedStyle × Layout Matrix (✓✓ = highly recommended, ✓ = works well):
| sparse | balanced | dense | list | comparison | flow | |
|---|---|---|---|---|---|---|
| cute | ✓✓ | ✓✓ | ✓ | ✓✓ | ✓ | ✓ |
| fresh | ✓✓ | ✓✓ | ✓ | ✓ | ✓ | ✓✓ |
| tech | ✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ |
| warm | ✓✓ | ✓✓ | ✓ | ✓ | ✓✓ | ✓ |
| bold | ✓✓ | ✓ | ✓ | ✓✓ | ✓✓ | ✓ |
| minimal | ✓✓ | ✓✓ | ✓✓ | ✓ | ✓ | ✓ |
| retro | ✓✓ | ✓✓ | ✓ | ✓✓ | ✓ | ✓ |
| pop | ✓✓ | ✓✓ | ✓ | ✓✓ | ✓✓ | ✓ |
| notion | ✓✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ |
Detailed templates and guidelines in references/ directory:
analysis-framework.md - XHS-specific content analysisoutline-template.md - Outline format and examplesstyles/<style>.md - Detailed style definitionslayouts/<layout>.md - Detailed layout definitionsbase-prompt.md - Base prompt templateCustom styles and configurations via EXTEND.md.
Check paths (priority order):
.baoyu-skills/baoyu-xhs-images/EXTEND.md (project)~/.baoyu-skills/baoyu-xhs-images/EXTEND.md (user)If found, load before Step 1. Extension content overrides defaults.